time_series_service
Creates, updates, deletes, gets or lists a time_series_service
resource.
Overview
Name | time_series_service |
Type | Resource |
Id | google.monitoring.time_series_service |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_time_series_create_service | insert | projectsId | Creates or adds data to one or more service time series. A service time series is a time series for a metric from a Google Cloud service. 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 endpoint rejects writes to user-defined metrics. This method is only for use by Google Cloud services. Use projects.timeSeries.create instead. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
projectsId | string |
INSERT
examples
- projects_time_series_create_service
- Manifest
Creates or adds data to one or more service time series. A service time series is a time series for a metric from a Google Cloud service. 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 endpoint rejects writes to user-defined metrics. This method is only for use by Google Cloud services. Use projects.timeSeries.create instead.
INSERT INTO google.monitoring.time_series_service (
data__timeSeries,
projectsId
)
SELECT
'{{ timeSeries }}',
'{{ projectsId }}'
;
# Description fields are for documentation purposes
- name: time_series_service
props:
- name: projectsId
value: string
description: Required parameter for the time_series_service resource.
- name: timeSeries
value: array
description: >
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 TimeSeries value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.The maximum number of TimeSeries objects per Create request is 200.