package
1.9.1
Repository: https://github.com/elastic/apm-data.git
Documentation: pkg.go.dev

# Functions

IsInternalMetricName returns true when the metric is considered "internal", and is stored in a strictly mapped data stream.
NewDropUnsampled returns a modelpb.BatchProcessor which drops unsampled transaction events, and runs the specified callback.
NewTracer returns a Tracer that emits transactions for batches processed.
WithTracerProvider allows setting a custom tracer provider Defaults to the global tracer provider.

# Structs

RemoveEventReceived is a processor that removes event.received field as it should not be indexed.
SetCulprit is a modelpb.BatchProcessor that sets or updates the culprit for RUM errors, after source mapping and identifying library frames.
SetDataStream is a modelpb.BatchProcessor that routes events to the appropriate data streams.
SetDefaultServiceEnvironment is a transform.Processor that sets a default service.environment value for events without one already set.
SetErrorMessage is a modelpb.BatchProcessor that sets the APMEvent.Message field for error events.
SetGroupingKey is a modelpb.BatchProcessor that sets the grouping key for errors by hashing their stack frames.
SetHostHostname is a transform.Processor that sets the final host.name and host.hostname values, according to whether the event originated from within Kubernetes or not.
SetServiceNodeName is a transform.Processor that sets the service node name value for events without one already set.
Tracer is a model.BatchProcessor that wraps another processor within a transaction.

# Type aliases

Chained is a chained modelpb.BatchProcessor, calling each of the processors in the slice in series.
ConfigOption allows passing a functional option when creating a new processor.