Skip to content

Implement promQl for range queries in Prometheus #623

Closed

Description

@vamsimanohar
  • 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

Metadata

Metadata

Assignees

Labels

v2.4.0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions