Module servers::http::prometheus
source Β· Expand description
prom supply the prometheus HTTP API Server compliance
Structs§
- Matches π
- For [ValueType::Matrix] result type
- For [ValueType::Vector] result type
Enums§
- Variants corresponding to [ValueType]
Functions§
- get_all_column_names πGet all tag column name of the given schema
- get_catalog_schema πTries to get catalog and schema from an optional db param. And retrieves them from QueryContext if they donβt present.
- Retrieve labels name from record batches
- retrieve_field_names π
- Retrieve labels name from query result
- Try to parse and extract the name of referenced metric from the promql query.
- Update catalog and schema in QueryContext if necessary.