collectd_time_series
Creates, updates, deletes, gets or lists a collectd_time_series
resource.
Overview
Name | collectd_time_series |
Type | Resource |
Id | google.monitoring.collectd_time_series |
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_collectd_time_series_create | insert | projectsId | Cloud Monitoring Agent only: Creates a new time series.This method is only for use by the Cloud Monitoring Agent. 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_collectd_time_series_create
- Manifest
Cloud Monitoring Agent only: Creates a new time series.This method is only for use by the Cloud Monitoring Agent. Use projects.timeSeries.create instead.
INSERT INTO google.monitoring.collectd_time_series (
data__resource,
data__collectdVersion,
data__collectdPayloads,
projectsId
)
SELECT
'{{ resource }}',
'{{ collectdVersion }}',
'{{ collectdPayloads }}',
'{{ projectsId }}'
RETURNING
payloadErrors,
summary
;
# Description fields are for documentation purposes
- name: collectd_time_series
props:
- name: projectsId
value: string
description: Required parameter for the collectd_time_series resource.
- name: resource
value: object
description: >
The monitored resource associated with the time series.
- name: collectdVersion
value: string
description: >
The version of collectd that collected the data. Example: "5.3.0-192.el6".
- name: collectdPayloads
value: array
description: >
The collectd payloads representing the time series data. You must not include more than a single point for each time series, so no two payloads can have the same values for all of the fields plugin, plugin_instance, type, and type_instance.