Module vector_core::config

source ·

Re-exports§

Modules§

Structs§

Enums§

Constants§

Functions§

  • Simple utility function that can be used by transforms that make no changes to the schema definitions of events. Takes a list of definitions with OutputId returns them as a HashMap.
  • Loads Log Schema from configurations and sets global schema. Once this is done, configurations can be correctly loaded using configured log schema defaults.
  • Loads the telemetry options from configurations and sets the global options. Once this is done, configurations can be correctly loaded using configured log schema defaults.
  • Components should use global LogSchema returned by this function. The returned value can differ from LogSchema::default() which is unchanging.
  • Returns the telemetry configuration options.