Index
MetricService
(interface)QueryService
(interface)Aggregation
(message)Aggregation.Aligner
(enum)Aggregation.Reducer
(enum)CreateMetricDescriptorRequest
(message)CreateTimeSeriesError
(message)CreateTimeSeriesRequest
(message)CreateTimeSeriesSummary
(message)CreateTimeSeriesSummary.Error
(message)DeleteMetricDescriptorRequest
(message)DroppedLabels
(message)GetMetricDescriptorRequest
(message)GetMonitoredResourceDescriptorRequest
(message)LabelValue
(message)ListMetricDescriptorsRequest
(message)ListMetricDescriptorsResponse
(message)ListMonitoredResourceDescriptorsRequest
(message)ListMonitoredResourceDescriptorsResponse
(message)ListTimeSeriesRequest
(message)ListTimeSeriesRequest.TimeSeriesView
(enum)ListTimeSeriesResponse
(message)Point
(message)QueryError
(message)QueryErrorList
(message)QueryTimeSeriesRequest
(message) (deprecated)QueryTimeSeriesResponse
(message) (deprecated)SpanContext
(message)TextLocator
(message)TextLocator.Position
(message)TimeInterval
(message)TimeSeries
(message)TimeSeriesData
(message)TimeSeriesData.PointData
(message)TimeSeriesDescriptor
(message)TimeSeriesDescriptor.ValueDescriptor
(message)TypedValue
(message)
MetricService
Manages metric descriptors, monitored resource descriptors, and time series data.
CreateMetricDescriptor |
---|
Creates a new metric descriptor. The creation is executed asynchronously. User-created metric descriptors define custom metrics. The metric descriptor is updated if it already exists, except that metric labels are never removed.
|
CreateTimeSeries |
---|
Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. This method does not support resource locations constraint of an organization policy.
|
DeleteMetricDescriptor |
---|
Deletes a metric descriptor. Only user-created custom metrics can be deleted.
|
GetMetricDescriptor |
---|
Gets a single metric descriptor.
|
GetMonitoredResourceDescriptor |
---|
Gets a single monitored resource descriptor.
|
ListMetricDescriptors |
---|
Lists metric descriptors that match a filter.
|
ListMonitoredResourceDescriptors |
---|
Lists monitored resource descriptors that match a filter.
|
ListTimeSeries |
---|
Lists time series that match a filter.
|
QueryService
The QueryService API is used to manage time series data in Cloud Monitoring. Time series data is a collection of data points that describes the time-varying values of a metric.
QueryTimeSeries |
---|
The method |
Aggregation
Describes how to combine multiple time series to provide a different view of the data. Aggregation of time series is done in two steps. First, each time series in the set is aligned to the same time interval boundaries, then the set of time series is optionally reduced in number.
Alignment consists of applying the per_series_aligner
operation to each time series after its data has been divided into regular alignment_period
time intervals. This process takes all of the data points in an alignment period, applies a mathematical transformation such as averaging, minimum, maximum, delta, etc., and converts them into a single data point per period.
Reduction is when the aligned and transformed time series can optionally be combined, reducing the number of time series through similar mathematical transformations. Reduction involves applying a cross_series_reducer
to all the time series, optionally sorting the time series into subsets with group_by_fields
, and applying the reducer to each subset.
The raw time series data can contain a huge amount of information from multiple sources. Alignment and reduction transforms this mass of data into a more manageable and representative collection of data, for example "the 95% latency across the average of all tasks in a cluster". This representative data can be more easily graphed and comprehended, and the individual time series data is still available for later drilldown. For more details, see Filtering and aggregation.
Fields | |
---|---|
alignment_period |
The The value must be at least 60 seconds. If a per-series aligner other than The maximum value of the |
per_series_aligner |
An Not all alignment operations may be applied to all time series. The valid choices depend on the Time series data must be aligned in order to perform cross-time series reduction. If |
cross_series_reducer |
The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series. Not all reducer operations can be applied to all time series. The valid choices depend on the Time series data must first be aligned (see |
group_by_fields[] |
The set of fields to preserve when |
Aligner
The Aligner
specifies the operation that will be applied to the data points in each alignment period in a time series. Except for ALIGN_NONE
, which specifies that no operation be applied, each alignment operation replaces the set of data values in each alignment period with a single value: the result of applying the operation to the data values. An aligned time series has a single data value at the end of each alignment_period
.
An alignment operation can change the data type of the values, too. For example, if you apply a counting operation to boolean values, the data value_type
in the original time series is BOOLEAN
, but the value_type
in the aligned result is INT64
.
Enums | |
---|---|
ALIGN_NONE |
No alignment. Raw data is returned. Not valid if cross-series reduction is requested. The value_type of the result is the same as the value_type of the input. |
ALIGN_DELTA |
Align and convert to This alignment is valid for |
ALIGN_RATE |
Align and convert to a rate. The result is computed as This aligner is valid for If, by "rate", you mean "percentage change", see the |
ALIGN_INTERPOLATE |
Align by interpolating between adjacent points around the alignment period boundary. This aligner is valid for GAUGE metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input. |
ALIGN_NEXT_OLDER |
Align by moving the most recent data point before the end of the alignment period to the boundary at the end of the alignment period. This aligner is valid for GAUGE metrics. The value_type of the aligned result is the same as the value_type of the input. |
ALIGN_MIN |
Align the time series by returning the minimum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input. |
ALIGN_MAX |
Align the time series by returning the maximum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input. |
ALIGN_MEAN |
Align the time series by returning the mean value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is DOUBLE . |
ALIGN_COUNT |
Align the time series by returning the number of values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric or Boolean values. The value_type of the aligned result is INT64 . |
ALIGN_SUM |
Align the time series by returning the sum of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric and distribution values. The value_type of the aligned result is the same as the value_type of the input. |
ALIGN_STDDEV |
Align the time series by returning the standard deviation of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the output is DOUBLE . |
ALIGN_COUNT_TRUE |
Align the time series by returning the number of True values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64 . |
ALIGN_COUNT_FALSE |
Align the time series by returning the number of False values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64 . |
ALIGN_FRACTION_TRUE |
Align the time series by returning the ratio of the number of True values to the total number of values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The output value is in the range [0.0, 1.0] and has value_type DOUBLE . |
ALIGN_PERCENTILE_99 |
Align the time series by using percentile aggregation. The resulting data point in each alignment period is the 99th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE . |
ALIGN_PERCENTILE_95 |
Align the time series by using percentile aggregation. The resulting data point in each alignment period is the 95th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE . |
ALIGN_PERCENTILE_50 |
Align the time series by using percentile aggregation. The resulting data point in each alignment period is the 50th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE . |
ALIGN_PERCENTILE_05 |
Align the time series by using percentile aggregation. The resulting data point in each alignment period is the 5th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE . |
ALIGN_PERCENT_CHANGE |
Align and convert to a percentage change. This aligner is valid for If the values of A 10-minute moving mean is computed at each point of the alignment period prior to the above calculation to smooth the metric and prevent false positives from very short-lived spikes. The moving mean is only applicable for data whose values are |
Reducer
A Reducer operation describes how to aggregate data points from multiple time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.
Enums | |
---|---|
REDUCE_NONE |
No cross-time series reduction. The output of the Aligner is returned. |
REDUCE_MEAN |
Reduce by computing the mean value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE . |
REDUCE_MIN |
Reduce by computing the minimum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input. |
REDUCE_MAX |
Reduce by computing the maximum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input. |
REDUCE_SUM |
Reduce by computing the sum across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric and distribution values. The value_type of the output is the same as the value_type of the input. |
REDUCE_STDDEV |
Reduce by computing the standard deviation across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE . |
REDUCE_COUNT |
Reduce by computing the number of data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of numeric, Boolean, distribution, and string value_type . The value_type of the output is INT64 . |
REDUCE_COUNT_TRUE |
Reduce by computing the number of True -valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type . The value_type of the output is INT64 . |
REDUCE_COUNT_FALSE |
Reduce by computing the number of False -valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type . The value_type of the output is INT64 . |
REDUCE_FRACTION_TRUE |
Reduce by computing the ratio of the number of True -valued data points to the total number of data points for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type . The output value is in the range [0.0, 1.0] and has value_type DOUBLE . |
REDUCE_PERCENTILE_99 |
Reduce by computing the 99th percentile of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE . |
REDUCE_PERCENTILE_95 |
Reduce by computing the 95th percentile of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE . |
REDUCE_PERCENTILE_50 |
Reduce by computing the 50th percentile of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE . |
REDUCE_PERCENTILE_05 |
Reduce by computing the 5th percentile of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE . |
CreateMetricDescriptorRequest
The CreateMetricDescriptor
request.
Fields | |
---|---|
name |
Required. The project on which to execute the request. The format is: 4 projects/[PROJECT_ID_OR_NUMBER] |
metric_descriptor |
Required. The new custom metric descriptor. |
CreateTimeSeriesError
DEPRECATED. Used to hold per-time-series error status.
Fields | |
---|---|
time_series |
DEPRECATED. Time series ID that resulted in the |
status |
DEPRECATED. The status of the requested write operation for |
CreateTimeSeriesRequest
The CreateTimeSeries
request.
Fields | |
---|---|
name |
Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] |
time_series[] |
Required. The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each The maximum number of |
CreateTimeSeriesSummary
Summary of the result of a failed request to write data to a time series.
Fields | |
---|---|
total_point_count |
The number of points in the request. |
success_point_count |
The number of points that were successfully written. |
errors[] |
The number of points that failed to be written. Order is not guaranteed. |
Error
Detailed information about an error category.
Fields | |
---|---|
status |
The status of the requested write operation. |
point_count |
The number of points that couldn't be written because of |
DeleteMetricDescriptorRequest
The DeleteMetricDescriptor
request.
Fields | |
---|---|
name |
Required. The metric descriptor on which to execute the request. The format is:
An example of |
DroppedLabels
A set of (label, value) pairs that were removed from a Distribution time series during aggregation and then added as an attachment to a Distribution.Exemplar.
The full label set for the exemplars is constructed by using the dropped pairs in combination with the label values that remain on the aggregated Distribution time series. The constructed full label set can be used to identify the specific entity, such as the instance or job, which might be contributing to a long-tail. However, with dropped labels, the storage requirements are reduced because only the aggregated distribution values for a large group of time series are stored.
Note that there are no guarantees on ordering of the labels from exemplar-to-exemplar and from distribution-to-distribution in the same stream, and there may be duplicates. It is up to clients to resolve any ambiguities.
Fields | |
---|---|
label |
Map from label to its value, for all labels dropped in any aggregation. |
GetMetricDescriptorRequest
The GetMetricDescriptor
request.
Fields | |
---|---|
name |
Required. The metric descriptor on which to execute the request. The format is:
An example value of |
GetMonitoredResourceDescriptorRequest
The GetMonitoredResourceDescriptor
request.
Fields | |
---|---|
name |
Required. The monitored resource descriptor to get. The format is:
The |
LabelValue
A label value.
Fields | |
---|---|
Union field value . The label value can be a bool, int64, or string. value can be only one of the following: |
|
bool_value |
A bool label value. |
int64_value |
An int64 label value. |
string_value |
A string label value. |
ListMetricDescriptorsRequest
The ListMetricDescriptors
request.
Fields | |
---|---|
name |
Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] |
filter |
Optional. If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics: metric.type = starts_with("custom.googleapis.com/") |
page_size |
Optional. A positive number that is the maximum number of results to return. The default and maximum value is 10,000. If a page_size <= 0 or > 10,000 is submitted, will instead return a maximum of 10,000 results. |
page_token |
Optional. If this field is not empty then it must contain the |
active_only |
Optional. If true, only metrics and monitored resource types that have recent data (within roughly 25 hours) will be included in the response. - If a metric descriptor enumerates monitored resource types, only the monitored resource types for which the metric type has recent data will be included in the returned metric descriptor, and if none of them have recent data, the metric descriptor will not be returned. - If a metric descriptor does not enumerate the compatible monitored resource types, it will be returned only if the metric type has recent data for some monitored resource type. The returned descriptor will not enumerate any monitored resource types. |
ListMetricDescriptorsResponse
The ListMetricDescriptors
response.
Fields | |
---|---|
metric_descriptors[] |
The metric descriptors that are available to the project and that match the value of |
next_page_token |
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as |
ListMonitoredResourceDescriptorsRequest
The ListMonitoredResourceDescriptors
request.
Fields | |
---|---|
name |
Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] |
filter |
An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Trusted Cloud Compute Engine descriptors that have an
|
page_size |
A positive number that is the maximum number of results to return. |
page_token |
If this field is not empty then it must contain the |
ListMonitoredResourceDescriptorsResponse
The ListMonitoredResourceDescriptors
response.
Fields | |
---|---|
resource_descriptors[] |
The monitored resource descriptors that are available to this project and that match |
next_page_token |
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as |
ListTimeSeriesRequest
The ListTimeSeries
request.
Fields | |
---|---|
name |
Required. The project, organization or folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[FOLDER_ID] |
filter |
Required. A monitoring filter that specifies which time series should be returned. The filter must specify a single metric type, and can additionally specify metric labels and other information. For example: metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND metric.labels.instance_name = "my-instance-name" |
interval |
Required. The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response. |
aggregation |
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series across specified labels. By default (if no |
secondary_aggregation |
Apply a second aggregation after |
order_by |
Unsupported: must be left blank. The points in each time series are currently returned in reverse time order (most recent to oldest). |
view |
Required. Specifies which information is returned about the time series. |
page_size |
A positive number that is the maximum number of results to return. If |
page_token |
If this field is not empty then it must contain the |
TimeSeriesView
Controls which fields are returned by ListTimeSeries*
.
Enums | |
---|---|
FULL |
Returns the identity of the metric(s), the time series, and the time series data. |
HEADERS |
Returns the identity of the metric and the time series resource, but not the time series data. |
ListTimeSeriesResponse
The ListTimeSeries
response.
Fields | |
---|---|
time_series[] |
One or more time series that match the filter included in the request. |
next_page_token |
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as |
execution_errors[] |
Query execution errors that may have caused the time series data returned to be incomplete. |
unit |
The unit in which all |
unreachable[] |
Cloud regions that were unreachable which may have caused incomplete data to be returned. |
Point
A single data point in a time series.
Fields | |
---|---|
interval |
The time interval to which the data point applies. For |
value |
The value of the data point. |
QueryError
An error associated with a query in the time series query language format.
Fields | |
---|---|
locator |
The location of the time series query language text that this error applies to. |
message |
The error message. |
QueryErrorList
This is an error detail intended to be used with INVALID_ARGUMENT errors.
Fields | |
---|---|
errors[] |
Errors in parsing the time series query language text. The number of errors in the response may be limited. |
error_summary |
A summary of all the errors. |
QueryTimeSeriesRequest
The QueryTimeSeries
request. For information about the status of Monitoring Query Language (MQL), see the MQL deprecation notice.
Fields | |
---|---|
name |
Required. The project on which to execute the request. The format is:
|
query |
Required. The query in the Monitoring Query Language format. The default time zone is in UTC. |
page_size |
A positive number that is the maximum number of time_series_data to return. |
page_token |
If this field is not empty then it must contain the |
QueryTimeSeriesResponse
The QueryTimeSeries
response. For information about the status of Monitoring Query Language (MQL), see the MQL deprecation notice.
Fields | |
---|---|
time_series_descriptor |
The descriptor for the time series data. |
time_series_data[] |
The time series data. |
next_page_token |
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as |
partial_errors[] |
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response. |
SpanContext
The context of a span. This is attached to an Exemplar
in Distribution
values during aggregation.
It contains the name of a span with format:
projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
Fields | |
---|---|
span_name |
The resource name of the span. The format is:
|
TextLocator
A locator for text. Indicates a particular part of the text of a request or of an object referenced in the request.
For example, suppose the request field text
contains:
text: "The quick brown fox jumps over the lazy dog."
Then the locator:
source: "text" start_position { line: 1 column: 17 } end_position { line: 1 column: 19 }
refers to the part of the text: "fox".
Fields | |
---|---|
source |
The source of the text. The source may be a field in the request, in which case its format is the format of the google.rpc.BadRequest.FieldViolation.field field in https://documentation.s3ns.fr/apis/design/errors#error_details. It may also be be a source other than the request field (e.g. a macro definition referenced in the text of the query), in which case this is the name of the source (e.g. the macro name). |
start_position |
The position of the first byte within the text. |
end_position |
The position of the last byte within the text. |
nested_locator |
If |
nesting_reason |
When |
Position
The position of a byte within the text.
Fields | |
---|---|
line |
The line, starting with 1, where the byte is positioned. |
column |
The column within the line, starting with 1, where the byte is positioned. This is a byte index even though the text is UTF-8. |
TimeInterval
Describes a time interval:
- Reads: A half-open time interval. It includes the end time but excludes the start time:
(startTime, endTime]
. The start time must be specified, must be earlier than the end time, and should be no older than the data retention period for the metric. - Writes: A closed time interval. It extends from the start time to the end time, and includes both:
[startTime, endTime]
. Valid time intervals depend on theMetricKind
of the metric value. The end time must not be earlier than the start time, and the end time must not be more than 25 hours in the past or more than five minutes in the future. - For
GAUGE
metrics, thestartTime
value is technically optional; if no value is specified, the start time defaults to the value of the end time, and the interval represents a single point in time. If both start and end times are specified, they must be identical. Such an interval is valid only forGAUGE
metrics, which are point-in-time measurements. The end time of a new interval must be at least a millisecond after the end time of the previous interval. - For
DELTA
metrics, the start time and end time must specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. ForDELTA
metrics, the start time of the next interval must be at least a millisecond after the end time of the previous interval. - For
CUMULATIVE
metrics, the start time and end time must specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points. The new start time must be at least a millisecond after the end time of the previous interval. - The start time of a new interval must be at least a millisecond after the end time of the previous interval because intervals are closed. If the start time of a new interval is the same as the end time of the previous interval, then data written at the new start time could overwrite data written at the previous end time.
Fields | |
---|---|
end_time |
Required. The end of the time interval. |
start_time |
Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time. |
TimeSeries
A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.
Fields | |
---|---|
metric |
The associated metric. A fully-specified metric used to identify the time series. |
resource |
The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see Monitored resources for custom metrics. |
metadata |
Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored. |
metric_kind |
The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either |
value_type |
The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the type of the data in the |
points[] |
The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be |
unit |
The units in which the metric value is reported. It is only applicable if the |
description |
Input only. A detailed description of the time series that will be associated with the |
TimeSeriesData
Represents the values of a time series associated with a TimeSeriesDescriptor.
Fields | |
---|---|
label_values[] |
The values of the labels in the time series identifier, given in the same order as the |
point_data[] |
The points in the time series. |
PointData
A point's value columns and time interval. Each point has one or more point values corresponding to the entries in point_descriptors
field in the TimeSeriesDescriptor associated with this object.
Fields | |
---|---|
values[] |
The values that make up the point. |
time_interval |
The time interval associated with the point. |
TimeSeriesDescriptor
A descriptor for the labels and points in a time series.
Fields | |
---|---|
label_descriptors[] |
Descriptors for the labels. |
point_descriptors[] |
Descriptors for the point data value columns. |
ValueDescriptor
A descriptor for the value columns in a data point.
Fields | |
---|---|
key |
The value key. |
value_type |
The value type. |
metric_kind |
The value stream kind. |
unit |
The unit in which |
TypedValue
A single strongly-typed value.
Fields | |
---|---|
Union field value . The typed value field. value can be only one of the following: |
|
bool_value |
A Boolean value: |
int64_value |
A 64-bit integer. Its range is approximately ±9.2x1018. |
double_value |
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision. |
string_value |
A variable-length string value. |
distribution_value |
A distribution value. |