Expand description
The main library to support building Vector.
Re-exports§
pub use source_sender::SourceSender;
Modules§
- amqp
- Functionality supporting both the
[crate::sources::amqp]
source and[crate::sinks::amqp]
sink. - api
- app
- async_
read - aws
- Shared functionality for the AWS components.
- built_
info - Includes information about the current build.
- cli
- codecs
- A collection of codecs that can be used to transform between bytes streams / byte messages, byte frames and structured events.
- common
- Modules that are common between sources, transforms, and sinks.
- components
- conditions
- config
- dns
- docker
- encoding_
transcode - enrichment_
tables - Functionality to handle enrichment tables.
- event
- expiring_
hash_ map - Expiring Hash Map and related types. See
ExpiringHashMap
. - extra_
context - ExtraContext is used for passing extra data to Vector’s components when Vector is used as a library.
- gcp
- generate
- generate_
schema - Vector
generate-schema
command implementation. - heartbeat
- Emits a heartbeat internal metric.
- http
- internal_
events - internal_
telemetry - kafka
- kubernetes
- This module contains helpers Kubernetes helpers as well as a
custom_reflector
which delays the removal of metadata allowing us to enrich events even after the resource is deleted from the Kubernetes cluster. - line_
agg - A reusable line aggregation implementation.
- list
- metrics
- net
- Networking-related helper functions.
- providers
- schema
- secrets
- serde
- shutdown
- signal
- sinks
- source_
sender - sources
- stats
- tap
- Tap subcommand
- tcp
- template
- Functionality for managing template fields used by Vector’s sinks.
- test_
util - tls
- top
- Top subcommand
- topology
- Topology contains all topology based types.
- trace
- transforms
- types
- unit_
test - validate
Macros§
- assert_
downcast_ matches - filter_
check - Takes an
&Option<bool>
and returns early if false - indoc
- Unindent and produce
&'static str
or&'static [u8]
. - log_
event - register_
validatable_ component
Functions§
- get_
app_ name - The name used to identify this Vector application.
- get_
hostname - Returns the host name of the current system. The hostname can be overridden by setting the VECTOR_HOSTNAME environment variable.
- get_
slugified_ app_ name - Returns a slugified version of the name used to identify this Vector application.
- get_
version - Returns a string containing full version information of the current build.
- num_
threads - Returns an estimate of the number of recommended threads that Vector should spawn.
- vector_
version - The current version of Vector in simplified format.
<version-number>-nightly
.