Content-Length: 228148 | pFad | http://github.com/googleapis/google-cloud-python/issues/13729

F5 Add support for google.monitoring.prometheus.v1 API to query with PromQL · Issue #13729 · googleapis/google-cloud-python · GitHub
Skip to content

Add support for google.monitoring.prometheus.v1 API to query with PromQL #13729

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
rafal-dudek opened this issue Apr 2, 2025 · 0 comments
Open
1 task done
Assignees
Labels
triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@rafal-dudek
Copy link

Determine this is the right repository

  • I determined this is the correct repository in which to report this feature request.

Summary of the feature request

Quering metrics using MQL is depracated and PromQL is recommended:

But google-cloud-python libraries do not support API for quering with PromQL:
https://cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.prometheus.v1#queryrangerequest

Desired code experience

   response = client.query_range(queryRangeRequest)

or

   response = client.query_time_series(promQL=promQLQuery)

Expected results

Response should contain data points for promQL query in convenient format.

API client name and version

No response

Use case

Querying Cloud Monitoring metrics with recommended and not deprecated query language.

Additional context

No response

@rafal-dudek rafal-dudek added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-cloud-python/issues/13729

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy