List label names
The label names of the series the selectors match (every series without match[]) between start and end (default: the last 6 hours). Prometheus HTTP API compatible: a Grafana Prometheus datasource's URL is the API host plus /v1/organizations/{orgId}/projects/{projectId}/obs/prometheus. Errors use Prometheus's error body (PrometheusError), with the platform's code. 422 is a query over one of its budgets (query_too_expensive, naming the budget) or one that can't be evaluated (query_failed); 429 is the organization's concurrent metric queries, or this service's capacity, with Retry-After. Reads every active dataset of the project the caller may query (obs.metrics.query); a selector's environment matcher narrows them.
https://obs.ezghcloud.com/v1/organizations/{orgId}/projects/{projectId}/obs/prometheus/api/v1/labelsAuthorization
Path parameters
Query parameters
Returns
200
Label names, sorted.
400
bad_data (invalid_request): a parameter, the query's syntax or the request body isn't valid.
401
unauthorized (unauthenticated): no credential, or one that doesn't check out.
403
forbidden (access_denied, forbidden_origin): the caller's policies don't allow the action, or a cookie-authenticated POST came from an origin that isn't allowed.
404
not_found (not_found): unknown, malformed, or in an organization the caller isn't in.
422
execution or timeout (query_too_expensive, with budget; query_failed): the query couldn't be evaluated within its limits.
429
unavailable (too_many_requests), with Retry-After.
500
internal (internal_error): a bug; the details are in the logs, under the request ID.
503
unavailable (unavailable): a dependency the request needs is down. Retry after Retry-After.