Module vector_core::event
source · Re-exports§
pub use array::into_event_stream;
pub use array::EventArray;
pub use array::EventContainer;
pub use array::LogArray;
pub use array::MetricArray;
pub use array::TraceArray;
pub use metric::Metric;
pub use metric::MetricKind;
pub use metric::MetricTags;
pub use metric::MetricValue;
pub use metric::StatisticKind;
Modules§
- This module contains the definitions and wrapper types for handling arrays of type
Event
, in the various forms they may appear.
Structs§
- A batch notifier contains the status of the current batch along with a one-shot notifier to send that status back to the source. It is shared among all events of a batch.
- A convenience newtype wrapper for the one-shot receiver for an individual batch status.
- Metric Origin metadata for submission to Datadog.
- An event finalizer is the shared data required to handle tracking the status of an event, and updating the status of a batch with that when the event is dropped.
- A collection of event finalizers.
- The event metadata structure is a
Arc
wrapper around the actual metadata to avoid cloning the underlying data until it becomes necessary to provide amut
copy. - The key type value. This is a simple zero-overhead wrapper set up to make it explicit that object keys are read-only and their underlying type is opaque and may change for efficiency.
- Traces are a newtype of
LogEvent
- This is a simple wrapper to allow attaching
EventMetadata
to any other type. This is primarily used in conversion functions, such asimpl From<X> for WithMetadata<Y>
.
Enums§
- The status of an individual batch.
- A wrapper for mutable references to inner event types, where reconstituting a full
Event
from aLogEvent
orMetric
might be inconvenient. - A wrapper for references to inner event types, where reconstituting a full
Event
from aLogEvent
orMetric
might be inconvenient. - The status of an individual event.
- The main value type used in Vector events, and VRL.
- An adapter to turn
Event
s intovrl_lib::Target
s.
Constants§
Traits§
- Return the estimated size of a type in bytes when encoded as JSON.
- An object that can be finalized.
Type Aliases§
- The storage mapping for the
Object
variant.