Managed Service for Prometheus supports a subset of open-source Prometheus APIs. Compatibility varies by instance type.
Instance types
-
Dedicated Prometheus instance (V2 instance): a standard instance with full product capabilities.
-
Shared Prometheus instance: used only to display monitoring dashboards for cloud products that use the Prometheus protocol.
-
Prometheus global aggregation instance: provides a single endpoint to run aggregate queries across multiple standard Prometheus instances in different regions.
API descriptions
|
API type |
Dedicated Prometheus instance (V2 instance) |
Shared Prometheus instance |
Prometheus Aggregation View |
|
/api/v1/query |
Support |
Supported |
Support |
|
/api/v1/query_range |
Support |
Supported |
Supported |
|
/api/v1/series |
Support |
Support |
Supported |
|
/api/v1/labels |
Supported |
Support |
Supported |
|
/api/v1/label/<label_name>/values |
Support |
Support |
Supported |
|
/api/v1/read |
Supported |
Not supported |
Not supported |
|
/api/v1/write |
Supported |
Not supported |
Not supported |
|
/api/v1/pushgateway |
Supported |
Not supported |
Not supported |
|
/api/v1/parse_query |
Not supported |
Not supported |
Not supported |
|
/api/v1/format_query |
Not supported |
Not supported |
Not supported |
|
/api/v1/query_exemplars |
Not supported |
Not supported |
Not supported |
|
/api/v1/targets |
Not supported |
Not supported |
Not supported |
|
/api/v1/rules |
Not supported |
Not supported |
Not supported |
|
/api/v1/alerts |
Not supported |
Not supported |
Not supported |
|
/api/v1/targets/metadata |
Not supported |
Not supported |
Not supported |
|
/api/v1/metadata |
Not supported |
Not supported |
Not supported |
|
/api/v1/alertmanagers |
Not supported |
Not supported |
Not supported |
|
/api/v1/status/* |
Not supported |
Not supported |
Not supported |
|
/api/v1/otlp/v1/metrics |
Not supported |
Not supported |
Not supported |
|
/api/v1/notifications |
Not supported |
Not supported |
Not supported |