public sealed class TimeSeriesRatio : IMessage<TimeSeriesRatio>, IEquatable<TimeSeriesRatio>, IDeepCloneable<TimeSeriesRatio>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class TimeSeriesRatio.
A TimeSeriesRatio specifies two TimeSeries to use for computing the
good_service / total_service ratio. The specified TimeSeries must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE. The TimeSeriesRatio must specify
exactly two of good, bad, and total, and the relationship good_service +
bad_service = total_service will be assumed.
A monitoring filter
specifying a TimeSeries quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
Must have ValueType = DOUBLE or ValueType = INT64 and must have
MetricKind = DELTA or MetricKind = CUMULATIVE.
A monitoring filter
specifying a TimeSeries quantifying good service provided. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
A monitoring filter
specifying a TimeSeries quantifying total demanded service. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eTimeSeriesRatio\u003c/code\u003e within the Google Cloud Monitoring v3 API is 3.15.0, with numerous versions available, ranging down to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTimeSeriesRatio\u003c/code\u003e is a class used to compute the ratio of \u003ccode\u003egood_service / total_service\u003c/code\u003e from two \u003ccode\u003eTimeSeries\u003c/code\u003e, requiring them to have a \u003ccode\u003eValueType\u003c/code\u003e of either \u003ccode\u003eDOUBLE\u003c/code\u003e or \u003ccode\u003eINT64\u003c/code\u003e and a \u003ccode\u003eMetricKind\u003c/code\u003e of either \u003ccode\u003eDELTA\u003c/code\u003e or \u003ccode\u003eCUMULATIVE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class requires the specification of two out of three service types (\u003ccode\u003egood\u003c/code\u003e, \u003ccode\u003ebad\u003c/code\u003e, \u003ccode\u003etotal\u003c/code\u003e), where the relationship \u003ccode\u003egood_service + bad_service = total_service\u003c/code\u003e is assumed.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTimeSeriesRatio\u003c/code\u003e class has 3 main properties: \u003ccode\u003eBadServiceFilter\u003c/code\u003e, \u003ccode\u003eGoodServiceFilter\u003c/code\u003e, \u003ccode\u003eTotalServiceFilter\u003c/code\u003e, which all require a monitoring filter that must be a string of the specified service type.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eTimeSeriesRatio\u003c/code\u003e includes methods and properties for working with time series data, including inheritance from \u003ccode\u003eobject\u003c/code\u003e and implementation of interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]