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.
HTTP request
POST https://monitoring.googleapis.com/v3/{name}/timeSeries
Path parameters
Parameters | |
---|---|
name |
Required. The project on which to execute the request. The format is:
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"timeSeries": [
{
object ( |
Fields | |
---|---|
time |
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 |
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/monitoring.write
For more information, see the Authentication Overview.