Expand description
publication of the recorded events using http
Modules§
- api_
key_ decorator - API Key request decorator for HttpEventSink authentication
- composite_
event_ sink - http_
event_ sink - jemalloc_
conf - Exports the
malloc_confweak symbol jemalloc reads at startup, so every binary declaring jemalloc as its global allocator runs with background purging and a tightened dirty decay instead of jemalloc’s stockbackground_thread:false,dirty_decay_ms:10000. Seemkdocs/docs/admin/memory-allocator.md. - local_
event_ sink - log_
interop - oidc_
client_ credentials_ decorator - OIDC Client Credentials request decorator for service authentication
- request_
decorator - reqwest
- stream_
block - stream_
info - system_
monitor - tokio_
retry - tracing_
interop
Macros§
- declare_
jemalloc_ conf - Declares the
_rjem_malloc_confsymbol jemalloc’sconf.cresolves at precedence 1 (weaker than_RJEM_MALLOC_CONF, stronger than the compile-time--with-malloc-confdefault), pointing it atCONF.
Structs§
Constants§
- DEFAULT_
LOCAL_ SINK_ MAX_ LEVEL - Default max level for the local (stdout) sink, applied when neither an
explicit builder call nor
LOCAL_SINK_MAX_LEVEL_ENV_VARsets one. - DEFAULT_
TELEMETRY_ SINK_ MAX_ LEVEL - Default max level for the HTTP telemetry sink, applied when neither an
explicit builder call nor
TELEMETRY_SINK_MAX_LEVEL_ENV_VARsets one. - LOCAL_
SINK_ MAX_ LEVEL_ ENV_ VAR - Environment variable capping the local (stdout) sink’s max level.
Read once by
TelemetryGuardBuilder::build. Precedence isTelemetryGuardBuilder::with_local_sink_max_level(including the#[micromegas_main]macro’slocal_sink_max_levelattribute) > this variable > theDEFAULT_LOCAL_SINK_MAX_LEVELdefault. Acceptsoff,fatal,error,warn,info,debug, ortrace, case-insensitively; an unparseable value failsbuild(). - PROCESS_
PROPERTIES_ ENV_ VAR - Environment variable carrying deployment-supplied process properties as a
comma-separated
key=valuelist, e.g.cluster=prod,role=cache. Read byTelemetryGuardBuilder::build, so every micromegas process honors it. - TELEMETRY_
SINK_ MAX_ LEVEL_ ENV_ VAR - Environment variable capping the HTTP telemetry sink’s max level.
Read once by
TelemetryGuardBuilder::build. Precedence isTelemetryGuardBuilder::with_telemetry_sink_max_level> this variable > theDEFAULT_TELEMETRY_SINK_MAX_LEVELdefault. Accepts the same values asLOCAL_SINK_MAX_LEVEL_ENV_VAR; an unparseable value failsbuild(), even if no telemetry URL ends up configured.
Functions§
- merge_
process_ properties - Merges a
PROCESS_PROPERTIES_ENV_VAR-formatted list intoproperties, leaving keys already present untouched. Precedence is therefore explicitTelemetryGuardBuilder::with_process_propertycalls > environment >populate_default_system_propertiesdefaults: an operator can add deployment tags but cannot spoof theversionthatmicromegas_mainstamps nor the identity properties derived from the host, both of which dashboards filter on. Within one list the first occurrence of a key wins, consistent with that rule.