Skip to main content

Module handler

Module handler 

Source

Structsยง

AnalyzePayloadArgs ๐Ÿ”’
AnalyzeStreamPayload ๐Ÿ”’
AnalyzeStreamState ๐Ÿ”’
HealthQuery
HealthResponse
PromqlQuery
SqlFormatResponse
SqlQuery
StatusResponse

Constantsยง

DEFAULT_ANALYZE_SNAPSHOT_INTERVAL_MS ๐Ÿ”’
MAX_ANALYZE_SNAPSHOT_INTERVAL_MS ๐Ÿ”’
MIN_ANALYZE_SNAPSHOT_INTERVAL_MS ๐Ÿ”’

Functionsยง

adaptive_interval_ms ๐Ÿ”’
config
Handler to expose configuration information info about runtime, build, etc.
from_output
Create a response from query result
health
Handler to export healthy check
index
make_analyze_payload ๐Ÿ”’
make_final_analyze_event ๐Ÿ”’
metrics
Handler to export metrics
promql
Handler to execute promql
sql
Handler to execute sql
sql_analyze_stream
Handler to stream partial EXPLAIN ANALYZE VERBOSE metrics as SSE.
sql_format
Handler to format sql string
sql_parse
Handler to parse sql
status
Handler to expose information info about runtime, build, etc.
validate_schema ๐Ÿ”’