Skip to main content

Module event

Module event 

Source

Re-exports§

pub use array::EventArray;
pub use array::EventContainer;
pub use array::LogArray;
pub use array::MetricArray;
pub use array::TraceArray;
pub use array::into_event_stream;
pub use metric::Metric;
pub use metric::MetricKind;
pub use metric::MetricTags;
pub use metric::MetricValue;
pub use metric::StatisticKind;

Modules§

array
This module contains the definitions and wrapper types for handling arrays of type Event, in the various forms they may appear.
discriminant
lua
merge_state
metric
proto
util

Structs§

BatchNotifier
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.
BatchStatusReceiver
A convenience newtype wrapper for the one-shot receiver for an individual batch status.
DatadogMetricOriginMetadata
Metric Origin metadata for submission to Datadog.
EventFinalizer
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.
EventFinalizerGroups
Ordered groups of event finalizers.
EventFinalizers
A collection of event finalizers.
EventMetadata
The event metadata structure is a Arc wrapper around the actual metadata to avoid cloning the underlying data until it becomes necessary to provide a mut copy.
KeyString
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.
LogEvent
Secrets
A container that holds secrets.
TraceEvent
Traces are a newtype of LogEvent
WithMetadata
This is a simple wrapper to allow attaching EventMetadata to any other type. This is primarily used in conversion functions, such as impl From<X> for WithMetadata<Y>.

Enums§

BatchStatus
The status of an individual batch.
Event
EventMutRef
A wrapper for mutable references to inner event types, where reconstituting a full Event from a LogEvent or Metric might be inconvenient.
EventRef
A wrapper for references to inner event types, where reconstituting a full Event from a LogEvent or Metric might be inconvenient.
EventStatus
The status of an individual event.
MetricTagMode
How metric tags are exposed to and accepted from VRL or Lua.
TargetEvents
Value
The main value type used in Vector events, and VRL.
VrlTarget
An adapter to turn Events into vrl_lib::Targets.

Constants§

MAX_VALUE_NESTING_FRAMES
Maximum prost recursion frame cost accepted for any arbitrary Value.
PARTIAL

Traits§

EstimatedJsonEncodedSizeOf
Return the estimated size of a type in bytes when encoded as JSON.
Finalizable
An object that can be finalized.
GroupedFinalizable
A Finalizable buffer record whose grouped finalizers can be reattached after being taken.
MaybeAsLogMut
MergeFinalizable
A scalar Finalizable object whose finalizers can be reattached after being taken.

Functions§

event_exceeds_max_nesting_cost
Checks whether an event’s nesting frame cost exceeds the safe limits for protobuf encoding.

Type Aliases§

ObjectMap
The storage mapping for the Object variant.