Skip to content
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

Implement promQl for range queries in Prometheus #623

Closed
vamsimanohar opened this issue May 20, 2022 · 0 comments · Fixed by #875 or #876
Closed

Implement promQl for range queries in Prometheus #623

vamsimanohar opened this issue May 20, 2022 · 0 comments · Fixed by #875 or #876
Assignees
Labels
v2.4.0 'Issues and PRs related to version v2.4.0'

Comments

@vamsimanohar
Copy link
Member

vamsimanohar commented May 20, 2022

  • Table functions are functions which return tables as output. Table functions can be defined for any of the connector and will be pushed down.
  • New query_range table function is defined to support pass through promQL query directly to prometheus.

These functions can be called either with named parameters or positioned parameters.

Example queries for query_range.
Named parameters query.
source = prometheus.query_range(query="promQL", start=123, end=145, step=45)

Positioned parameters query.
``source = prometheus.query_range("promQL", 123, 145, 45)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.4.0 'Issues and PRs related to version v2.4.0'
Projects
None yet
1 participant