Modulesยง
- authorize
- client_
ip ๐ - dyn_log
- dyn_
trace - event
- extractor
- handler
- header
- hints ๐
- influxdb
- jaeger
- logs
- loki
- mem_
prof - memory_
limit ๐ - Middleware for limiting total memory usage of concurrent HTTP request bodies.
- opentsdb
- otlp
- pprof
- prom_
store - prometheus
- prom supply the prometheus HTTP API Server compliance
- read_
preference ๐ - result
- splunk
- Splunk HTTP Event Collector (HEC) compatible ingestion endpoint.
- test_
helpers - Axum Test Client
- timeout ๐
- utils
- workload_
scheduler ๐
Structsยง
- ApiState
- Column
Schema - Dashboard
State - Extra
Http Router Providers - Collection of extra HTTP router providers.
- Greptime
Options Config State - Http
Options - Http
Records Output - Http
Server - Http
Server Builder - Output
Schema
Enumsยง
- Epoch
- Greptime
Query Output - Http
Response - Http
Server ๐Kind - Listener mode for an
HttpServer. - Response
Format - It allows the results of SQL queries to be presented in different formats.
Constantsยง
- AUTHORIZATION_
HEADER - Authorization header
- DEFAULT_
BODY_ ๐LIMIT - Default http body limit (64M).
- DEFAULT_
HTTP_ ๐API_ ADDR_ PORT - Default address port for the public HTTP API server.
- HTTP_
API_ PREFIX - HTTP_
API_ PREFIX_ WITHOUT_ TRAILING_ SLASH - HTTP_
API_ SERVER - HTTP_
API_ VERSION - HTTP_
SERVER
Staticsยง
Traitsยง
- Extra
Http Router Provider - Provides an extra router to merge into an HTTP server.
Functionsยง
- enforce_
api_ ๐surface - Outer guard for the API listener. Rejects any path outside the API surface
with
404 Not Foundbefore it can reach a handler (and before auth side effects). Reachability is kept separate from authentication. - is_
api_ listener_ path - Paths visible on the dedicated API listener: the
/v1APIs and the dashboard. - is_
namespace ๐ - Returns
truewhenpathequalsrootor is nested directly under it (root/...). Uses an exact slash boundary so/v1does not match/v10or/v1-internal. - process_
with_ limit