The address to listen for connections on, or systemd#N to use the Nth socket passed by systemd socket activation. If an address is used it must include a port.
If enabled, certificates must be valid in terms of not being expired, as well as being issued by a trusted
issuer. This verification operates in a hierarchical manner, checking that not only the leaf certificate (the
certificate presented by the client/server) is valid, but also that the issuer of that certificate is valid, and
so on until reaching a root certificate.
Relevant for both incoming and outgoing connections.
Do NOT set this to false unless you understand the risks of not verifying the validity of certificates.
A single value that can be incremented or reset to a zero value but not decremented.
*optional
Any tags present on the metric.
distribution
distribution
A distribution represents a distribution of
sampled values. It is used with services
that support global histograms and summaries.
*optional
Any tags present on the metric.
gauge
gauge
A gauge represents a point-in-time value
that can increase and decrease. Vector’s
internal gauge type represents changes to
that value. Gauges should be used to track
fluctuations in values, like current memory
or CPU usage.
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
hostoptional
The hostname of the system Vector is running on.
pidoptional
The process ID of the Vector instance.
component_errors_total
counter
The total number of errors encountered by this component.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
error_type
The type of the error
hostoptional
The hostname of the system Vector is running on.
pidoptional
The process ID of the Vector instance.
stage
The stage within the component at which the error occurred.
component_received_bytes_total
counter
The number of raw bytes accepted by this component from source origins.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
container_nameoptional
The name of the container from which the data originated.
fileoptional
The file from which the data originated.
hostoptional
The hostname of the system Vector is running on.
modeoptional
The connection mode used by the component.
peer_addroptional
The IP from which the data originated.
peer_pathoptional
The pathname from which the data originated.
pidoptional
The process ID of the Vector instance.
pod_nameoptional
The name of the pod from which the data originated.
urioptional
The sanitized URI from which the data originated.
component_received_event_bytes_total
counter
The number of event bytes accepted by this component either from
tagged origins like file and uri, or cumulatively from other origins.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
container_nameoptional
The name of the container from which the data originated.
fileoptional
The file from which the data originated.
hostoptional
The hostname of the system Vector is running on.
modeoptional
The connection mode used by the component.
peer_addroptional
The IP from which the data originated.
peer_pathoptional
The pathname from which the data originated.
pidoptional
The process ID of the Vector instance.
pod_nameoptional
The name of the pod from which the data originated.
urioptional
The sanitized URI from which the data originated.
component_received_events_total
counter
The number of events accepted by this component either from tagged
origins like file and uri, or cumulatively from other origins.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
container_nameoptional
The name of the container from which the data originated.
fileoptional
The file from which the data originated.
hostoptional
The hostname of the system Vector is running on.
modeoptional
The connection mode used by the component.
peer_addroptional
The IP from which the data originated.
peer_pathoptional
The pathname from which the data originated.
pidoptional
The process ID of the Vector instance.
pod_nameoptional
The name of the pod from which the data originated.
urioptional
The sanitized URI from which the data originated.
component_sent_event_bytes_total
counter
The total number of event bytes emitted by this component.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
hostoptional
The hostname of the system Vector is running on.
outputoptional
The specific output of the component.
pidoptional
The process ID of the Vector instance.
component_sent_events_total
counter
The total number of events emitted by this component.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
hostoptional
The hostname of the system Vector is running on.
outputoptional
The specific output of the component.
pidoptional
The process ID of the Vector instance.
connection_errors_total
counter
The total number of connection errors for this Vector instance.
hostoptional
The hostname of the system Vector is running on.
pidoptional
The process ID of the Vector instance.
events_in_total
counter
The number of events accepted by this component either from tagged
origins like file and uri, or cumulatively from other origins.
This metric is deprecated and will be removed in a future version.
Use component_received_events_total instead.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
container_nameoptional
The name of the container from which the data originated.
fileoptional
The file from which the data originated.
hostoptional
The hostname of the system Vector is running on.
modeoptional
The connection mode used by the component.
peer_addroptional
The IP from which the data originated.
peer_pathoptional
The pathname from which the data originated.
pidoptional
The process ID of the Vector instance.
pod_nameoptional
The name of the pod from which the data originated.
urioptional
The sanitized URI from which the data originated.
events_out_total
counter
The total number of events emitted by this component.
This metric is deprecated and will be removed in a future version.
Use component_sent_events_total instead.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
hostoptional
The hostname of the system Vector is running on.
outputoptional
The specific output of the component.
pidoptional
The process ID of the Vector instance.
invalid_record_bytes_total
counter
The total number of bytes from invalid records that have been discarded.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
hostoptional
The hostname of the system Vector is running on.
pidoptional
The process ID of the Vector instance.
invalid_record_total
counter
The total number of invalid records that have been discarded.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
hostoptional
The hostname of the system Vector is running on.
pidoptional
The process ID of the Vector instance.
processed_bytes_total
counter
The number of bytes processed by the component.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
container_nameoptional
The name of the container from which the bytes originate.
fileoptional
The file from which the bytes originate.
hostoptional
The hostname of the system Vector is running on.
modeoptional
The connection mode used by the component.
peer_addroptional
The IP from which the bytes originate.
peer_pathoptional
The pathname from which the bytes originate.
pidoptional
The process ID of the Vector instance.
pod_nameoptional
The name of the pod from which the bytes originate.
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
hostoptional
The hostname of the system Vector is running on.
pidoptional
The process ID of the Vector instance.
source_lag_time_seconds
histogram
The difference between the timestamp recorded in each event and the time when it was ingested, expressed as fractional seconds.
component_id
The Vector component ID.
component_kind
The Vector component kind.
component_name
Deprecated, use component_id instead. The value is the same as component_id.
component_type
The Vector component type.
hostoptional
The hostname of the system Vector is running on.
pidoptional
The process ID of the Vector instance.
How it works
Context
By default, the statsd source augments events with helpful
context keys.
State
This component is stateless, meaning its behavior is consistent across each input.
Timestamps
The StatsD protocol doesn’t provide support for sending metric timestamps. You may
notice that each parsed metric is assigned a null timestamp, which is a special
value indicating a realtime metric (i.e. not a historical metric). Normally, such
null timestamps are substituted with the current time by downstream sinks or
third-party services during sending/ingestion. See the
metric data model page for more info.
Transport Layer Security (TLS)
Vector uses OpenSSL for TLS protocols. You can
adjust TLS behavior via the tls.* options.
Sign up to receive emails on the latest Vector content and new releases