# Functions
ExceptionCodeString formats the exception code v as a string.
GlobalLabelsFrom populates the Labels and NumericLabels from global labels in the metadata object.
No description provided by the author
HTTPHeadersToStructPb converts h to a *structpb.Struct, suitable for use in modelpb.HTTP.{Request,Response}.Headers.
MergeLabels merges eventLabels into the APMEvent.
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 float64, and returning labels.
Reslice returns a slice with length n.
ResliceAndPopulateNil ensures a slice of pointers has atleast capacity for n elements and populates any non-nil elements in the resulting slice with the value returned from newFn.
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.
No description provided by the author
No description provided by the author
No description provided by the author