Structsยง
- Option
Value - Query
Scope ๐ - Relation
Collector ๐
Constantsยง
- DATABASE_
MATCHER ๐ - SCHEMA_
MATCHER ๐
Functionsยง
- extract_
metric_ ๐name_ from_ vector_ selector - extract_
tables_ ๐from_ hybrid_ cte_ query - extract_
tables_ ๐from_ prom_ expr - extract_
tables_ from_ query - Walk through a Query and extract all the tables referenced in it.
- extract_
tables_ from_ query_ checked - Walk through a Query and extract its referenced tables, returning
Noneif any table reference cannot be resolved statically. - extract_
tables_ ๐from_ query_ inner - extract_
tables_ ๐from_ sql_ query - Helper function for extract_tables_from_query.
- extract_
tables_ ๐from_ tql - format_
raw_ object_ name - Format an ObjectName without any quote of its idents.
- location_
to_ index - translate the start location to the index in the sql string
- parse_
option_ string - remove_
cte_ ๐names