Re-exports§
pub use format::Format;pub use format::FormatHint;pub use loading::COLLECTOR;pub use loading::CONFIG_PATHS;pub use loading::load;pub use loading::load_from_paths;pub use loading::load_from_paths_with_provider_and_secrets;pub use loading::load_from_str;pub use loading::load_from_str_with_secrets;pub use loading::load_source_from_paths;pub use loading::merge_path_lists;pub use loading::process_paths;pub use provider::ProviderConfig;pub use unit_test::UnitTestResult;pub use unit_test::build_unit_tests;pub use unit_test::build_unit_tests_main;
Modules§
- api
- dot_
graph - format
- Support for loading configs from multiple formats.
- loading
- provider
- schema
- unit_
test - watcher
Structs§
- Acknowledgements
Config - End-to-end acknowledgements configuration.
- Component
Config - Component
Key - Component identifier.
- Config
- Config
Builder - A complete Vector configuration.
- Config
Diff - Data
Type - Enrichment
Table Outer - Fully resolved enrichment table component.
- Global
Options - Global configuration options.
- Healthcheck
Options - Healthcheck options.
- Input
- Inputs
- A list of upstream source or transform IDs.
- LogSchema
- Log schema.
- Opts
- Output
Id - Component output identifier.
- Proxy
Config - Proxy configuration.
- Sink
Context - Sink
Healthcheck Options - Healthcheck configuration.
- Sink
Outer - Fully resolved sink component.
- Source
Acknowledgements Config - Source-specific end-to-end acknowledgements configuration.
- Source
Context - Source
Outer - Fully resolved source component.
- Source
Output - Test
Definition - A unit test definition.
- Test
Input - A unit test input.
- Test
Output - A unit test output.
- Transform
Context - Transform
Outer - Fully resolved transform component.
- Transform
Output
Enums§
- Component
Type - Config
Path - LogNamespace
- Protocol
- Resource
- Unique thing, like port, of which only one owner can be.
- Wildcard
Matching - Specifies the wildcard matching mode, relaxed allows configurations where wildcard doesn not match any existing inputs
Statics§
Traits§
- Enrichment
Table Config - Generalized interface for describing and building enrichment table components.
- Generate
Config - A component that can generate a default configuration for itself.
- Secret
Backend - Generalized interface to a secret backend.
- Sink
Config - Generalized interface for describing and building sink components.
- Source
Config - Generalized interface for describing and building source components.
- Transform
Config - Generalized interface for describing and building transform components.
Functions§
- cmd
- Function used by the
vector configsubcommand for outputting a normalized configuration. The purpose of this func is to combine user configuration after processing all paths, Pipelines expansions, etc. The JSON result of this serialization can itself be used as a config, which also makes it useful for version control or treating as a singular unit of configuration. - get_
transform_ output_ ids - Often we want to call outputs just to retrieve the OutputId’s without needing the schema definitions.
- init_
log_ schema - Loads Log Schema from configurations and sets global schema. Once this is done, configurations can be correctly loaded using configured log schema defaults.
- init_
telemetry - 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.
- interpolate
- Result<interpolated config, errors>
- log_
schema - Components should use global
LogSchemareturned by this function. The returned value can differ fromLogSchema::default()which is unchanging. - telemetry
- Returns the telemetry configuration options.
- warnings