Stackdriver Monitoring API

Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the Stackdriver Monitoring documentation.


We recommend that you call this service using Google-provided client libraries. If your application needs to call this service using your own libraries, you should use the following information when making the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service may have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:


REST Resource: v3.projects.alertPolicies

create POST /v3/{name}/alertPolicies
Creates a new alerting policy.
delete DELETE /v3/{name}
Deletes an alerting policy.
get GET /v3/{name}
Gets a single alerting policy.
list GET /v3/{name}/alertPolicies
Lists the existing alerting policies for the project.
patch PATCH /v3/{}
Updates an alerting policy.

REST Resource: v3.projects.groups

create POST /v3/{name}/groups
Creates a new group.
delete DELETE /v3/{name}
Deletes an existing group.
get GET /v3/{name}
Gets a single group.
list GET /v3/{name}/groups
Lists the existing groups.
update PUT /v3/{}
Updates an existing group.

REST Resource: v3.projects.groups.members

list GET /v3/{name}/members
Lists the monitored resources that are members of a group.

REST Resource: v3.projects.metricDescriptors

create POST /v3/{name}/metricDescriptors
Creates a new metric descriptor.
delete DELETE /v3/{name}
Deletes a metric descriptor.
get GET /v3/{name}
Gets a single metric descriptor.
list GET /v3/{name}/metricDescriptors
Lists metric descriptors that match a filter.

REST Resource: v3.projects.monitoredResourceDescriptors

get GET /v3/{name}
Gets a single monitored resource descriptor.
list GET /v3/{name}/monitoredResourceDescriptors
Lists monitored resource descriptors that match a filter.

REST Resource: v3.projects.notificationChannelDescriptors

get GET /v3/{name}
Gets a single channel descriptor.
list GET /v3/{name}/notificationChannelDescriptors
Lists the descriptors for supported channel types.

REST Resource: v3.projects.notificationChannels

create POST /v3/{name}/notificationChannels
Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.
delete DELETE /v3/{name}
Deletes a notification channel.
get GET /v3/{name}
Gets a single notification channel.
getVerificationCode POST /v3/{name}:getVerificationCode
Requests a verification code for an already verified channel that can then be used in a call to VerifyNotificationChannel() on a different channel with an equivalent identity in the same or in a different project.
list GET /v3/{name}/notificationChannels
Lists the notification channels that have been created for the project.
patch PATCH /v3/{}
Updates a notification channel.
sendVerificationCode POST /v3/{name}:sendVerificationCode
Causes a verification code to be delivered to the channel.
verify POST /v3/{name}:verify
Verifies a NotificationChannel by proving receipt of the code delivered to the channel as a result of calling SendNotificationChannelVerificationCode.

REST Resource: v3.projects.timeSeries

create POST /v3/{name}/timeSeries
Creates or adds data to one or more time series.
list GET /v3/{name}/timeSeries
Lists time series that match a filter.

REST Resource: v3.projects.uptimeCheckConfigs

create POST /v3/{parent}/uptimeCheckConfigs
Creates a new Uptime check configuration.
delete DELETE /v3/{name}
Deletes an Uptime check configuration.
get GET /v3/{name}
Gets a single Uptime check configuration.
list GET /v3/{parent}/uptimeCheckConfigs
Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).
patch PATCH /v3/{}
Updates an Uptime check configuration.

REST Resource:

create POST /v3/{parent}/services
Create a Service.
delete DELETE /v3/{name}
Soft delete this Service.
get GET /v3/{name}
Get the named Service.
list GET /v3/{parent}/services
List Services for this workspace.
patch PATCH /v3/{}
Update this Service.

REST Resource:

create POST /v3/{parent}/serviceLevelObjectives
Create a ServiceLevelObjective for the given Service.
delete DELETE /v3/{name}
Delete the given ServiceLevelObjective.
get GET /v3/{name}
Get a ServiceLevelObjective by name.
list GET /v3/{parent}/serviceLevelObjectives
List the ServiceLevelObjectives for the given Service.
patch PATCH /v3/{}
Update the given ServiceLevelObjective.

REST Resource: v3.uptimeCheckIps

list GET /v3/uptimeCheckIps
Returns the list of IP addresses that checkers run from
¿Te ha resultado útil esta página? Enviar comentarios:

Enviar comentarios sobre...

Stackdriver Monitoring
Si necesitas ayuda, visita nuestra página de asistencia.