Expand description
Converts the Agent’s config-stream wire events into saluki_config updates.
The running process and the library’s corpus replay tests share this path. Tests can construct the exact snapshot and update events the Agent sends without depending on the binary crate.
Constants§
- AGENT_
DECLARED_ ONLY_ SOURCE - A value neither set by the user nor supplied with a schema default.
- AGENT_
DEFAULT_ SOURCE - Sources that indicate the Agent supplied the value rather than an operator.
- AGENT_
UNSET_ SOURCES - The sources that mark a setting as an Agent-supplied default rather than an explicit value.
Functions§
- config_
event_ to_ update - Converts one event from the Agent’s config stream into the update it carries.
- proto_
value_ to_ serde_ value - Recursively converts a
google::protobuf::Valueinto aserde_json::Value. - setting_
to_ config_ setting - Converts an Agent wire setting to a
ConfigSetting, preserving whether its source is a default. - snapshot_
to_ settings - Converts a
ConfigSnapshotinto the settings it carries.