Skip to main content

Module mutable_metadata

Module mutable_metadata 

Source
Expand description

Runtime metadata that the host tracer may update after startup.

Runtime identity, instrumentation session ancestry, and process tags may change while exporters and workers are already running. They live in a single MutableMetadata struct shared through an ArcSwap; every component holds a MutableMetadataHandle and reads the values through it at use time, so an update by the host SDK propagates to all components.

§Protocol

Structs§

InstrumentationSession
Instrumentation session ancestry, published together with the runtime ID.
MutableMetadata
The tracer metadata values that may be updated after startup.
MutableMetadataHandle
A shared handle to a MutableMetadata.