Skip to main content

Module handler

Module handler 

Source

StructsΒ§

AnalyzePayloadArgs πŸ”’
AnalyzeStreamBodyState πŸ”’
AnalyzeStreamPayload πŸ”’
AnalyzeStreamWorkerGuard πŸ”’
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
limit_output_rows πŸ”’
Limits each statement’s response before collecting batches and converting rows.
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.
take_response_rows πŸ”’
validate_schema πŸ”’