package
7.17.28+incompatible
Repository: https://github.com/elastic/apm-server.git
Documentation: pkg.go.dev

# Functions

ExceptionCodeString formats the exception code v as a string.
HTTPHeadersToMap converts h to a common.MapStr, suitable for use in model.HTTP.{Request,Response}.Headers.
MergeLabels merges eventLabels onto commonLabels.
NormalizeHTTPRequestBody recurses through v, replacing any instance of a json.Number with float64.
NormalizeLabelValues transforms the values in labels, replacing any instance of json.Number with libbeat/common.Float, and returning labels.
SetInternalMetrics extracts well-known internal metrics from event.Metricset.Samples, setting the appropriate field on event.Span (if non-nil) and finally setting event.Metricset.Samples to nil.