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
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required 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. |
INSERT
example
Use the following StackQL query and manifest file to create a new time_series_service
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.monitoring.time_series_service (
projectsId,
timeSeries
)
SELECT
'{{ projectsId }}',
'{{ timeSeries }}'
;
- name: your_resource_model_name
props:
- name: timeSeries
value:
- - name: metric
value:
- name: type
value: string
- name: labels
value: object
- name: resource
value:
- name: type
value: string
- name: labels
value: object
- name: metadata
value:
- name: systemLabels
value: object
- name: userLabels
value: object
- name: metricKind
value: string
- name: valueType
value: string
- name: points
value:
- - name: interval
value:
- name: endTime
value: string
- name: startTime
value: string
- name: value
value:
- name: boolValue
value: boolean
- name: int64Value
value: string
- name: doubleValue
value: number
- name: stringValue
value: string
- name: distributionValue
value:
- name: count
value: string
- name: mean
value: number
- name: sumOfSquaredDeviation
value: number
- name: range
value:
- name: min
value: number
- name: max
value: number
- name: bucketOptions
value:
- name: linearBuckets
value:
- name: numFiniteBuckets
value: integer
- name: width
value: number
- name: offset
value: number
- name: exponentialBuckets
value:
- name: numFiniteBuckets
value: integer
- name: growthFactor
value: number
- name: scale
value: number
- name: explicitBuckets
value:
- name: bounds
value:
- number
- name: bucketCounts
value:
- string
- name: exemplars
value:
- - name: value
value: number
- name: timestamp
value: string
- name: attachments
value:
- object
- name: unit
value: string
- name: description
value: string