Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

promQL monitoring queries via API

Does anyone know how to use promQL instead of MQL for queries via the https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/query API?

Solved Solved
0 2 54K
1 ACCEPTED SOLUTION

Hey @asimpson, the Prometheus APIs to query are actually here and are exposed by Managed Prometheus: https://cloud.google.com/stackdriver/docs/managed-prometheus/query#http-api-details

View solution in original post

2 REPLIES 2

Hey @asimpson, the Prometheus APIs to query are actually here and are exposed by Managed Prometheus: https://cloud.google.com/stackdriver/docs/managed-prometheus/query#http-api-details

Ah thank you!

Top Solution Authors