Evaluate a PromQL query at a single point in time in Google Cloud Monitoring
A documented Google Cloud Monitoring operation that changes something in your account. Describe the outcome you want in plain words — HumDay writes the program, proves it, and runs it.
What this operation does
Evaluate a PromQL query at a single point in time.
- POSTChanges data · projects
monitoring.googleapis.com/v1/{name}/location/{location}/prometheus/api/v1/query
How HumDay uses it
- You describe the outcome. Not this operation by name — what you want to happen. HumDay works out which operations it needs.
- The contract names it. Before anything is built, you see exactly which Google Cloud Monitoring operations the program may use, and this is one of them.
- You approve access. Because this one changes data, it cannot run until you have explicitly granted it.
Other Google Cloud Monitoring operations
- Creates a new custom dashboardPOST · changes data
- Adds a MonitoredProject with the given project IDPOST · changes data
- Evaluate a PromQL query with start, end time rangePOST · changes data
- Lists exemplars relevant to a given PromQL queryPOST · changes data
- Replaces an existing custom dashboardPATCH · changes data
- Lists labels for metricsPOST · changes data
- Lists metadata for metricsPOST · changes data
- Deletes an existing custom dashboard.This method requires theDELETE · changes data
Questions
- Can HumDay evaluate a promql query at a single point in time in Google Cloud Monitoring?
- Yes. This operation is published in Google Cloud Monitoring's own API description, so HumDay can use it without a hand-built connector — once you have approved it for your automation.
- Will this change my Google Cloud Monitoring data?
- Yes — this is a POST operation, so it changes something in Google Cloud Monitoring. HumDay holds anything that writes behind an approval you grant explicitly, and the contract you approve says what it may touch.
- Do I need to write code?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a proof run before anything touches your Google Cloud Monitoring account.
Where this came from
Read from a published API description for Google Cloud Monitoring at monitoring.googleapis.com/$discovery/rest?version=v1. The description above is the provider’s own wording, not ours. Last published 2023-04-21.