Expand description
Embedded HTTP server.
environmentd embeds an HTTP server for introspection into the running process. At the moment, its primary exports are Prometheus metrics, heap profiles, and catalog dumps.
Modules§
- catalog 🔒
- Catalog introspection HTTP endpoints.
- console 🔒
- Console Impersonation HTTP endpoint.
- memory 🔒
- metrics 🔒
- Metrics tracked for
environmentd
s HTTP servers. - probe 🔒
- Health check HTTP endpoints.
- prometheus 🔒
- root 🔒
- HTTP endpoints for the homepage and static files.
- sql 🔒
- webhook 🔒
- Helpers for handling events from a Webhook source.
Structs§
- Authed
Client - Authed
User - Base
Router 🔒Config - Configuration for
base_router
. - Http
Config - Http
Server - Internal
Http Config - Internal
Http Server - Metrics
- Reloading
TlsConfig - SqlResponse
- The response to a
SqlRequest
. - Webhook
State - WsState
Enums§
Constants§
- MAX_
REQUEST_ SIZE - Maximum allowed size for a request.
Traits§
- Default
Layers 🔒 - Default layers that should be applied to all routes, and should get applied to both the internal http and external http routers.
Functions§
- auth 🔒
- base_
router 🔒 - Returns the router for routes that are shared between the internal and external HTTP servers.
- handle_
leader_ promote - handle_
leader_ skip_ catchup - handle_
leader_ status - handle_
load_ 🔒error - Glue code to make
tower
work withaxum
. - http_
auth 🔒 - init_ws 🔒
- internal_
http_ 🔒auth
Type Aliases§
- Delayed 🔒