- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - Try it!
 
Lists possible values for a given label name.
HTTP request
GET https://monitoring.googleapis.com/v1/{name}/location/{location}/prometheus/api/v1/label/{label}/values
Path parameters
| Parameters | |
|---|---|
name | 
                
                   
 Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/[PROJECT_ID_OR_NUMBER].  | 
              
location | 
                
                   
 Location of the resource information. Has to be "global" now.  | 
              
label | 
                
                   
 The label name for which values are queried.  | 
              
Query parameters
| Parameters | |
|---|---|
start | 
                
                   
 The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.  | 
              
end | 
                
                   
 The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.  | 
              
match | 
                
                   
 A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them.  | 
              
Request body
The request body must be empty.
Response body
If successful, the response is a generic HTTP response whose format is defined by the method.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/monitoringhttps://www.googleapis.com/auth/monitoring.read
For more information, see the Authentication Overview.