Documentation
¶
Overview ¶
Package stats provides statistical utilities for the trace package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OTLPTracesToConcentratorInputs ¶
func OTLPTracesToConcentratorInputs( traces ptrace.Traces, conf *config.AgentConfig, containerTagKeys []string, peerTagKeys []string, ) []stats.Input
OTLPTracesToConcentratorInputs converts eligible OTLP spans to Concentrator.Input. The converted Inputs only have the minimal number of fields for APM stats calculation and are only meant to be used in Concentrator.Add(). Do not use them for other purposes.
func OTLPTracesToConcentratorInputsWithObfuscation ¶
func OTLPTracesToConcentratorInputsWithObfuscation( traces ptrace.Traces, conf *config.AgentConfig, containerTagKeys []string, peerTagKeys []string, obfuscator *obfuscate.Obfuscator, ) []stats.Input
OTLPTracesToConcentratorInputsWithObfuscation converts eligible OTLP spans to Concentrator Input. The converted Inputs only have the minimal number of fields for APM stats calculation and are only meant to be used in Concentrator.Add(). Do not use them for other purposes. This function enables obfuscation of spans prior to stats calculation and datadogconnector will migrate to this function once this function is published as part of latest pkg/trace module.
Types ¶
This section is empty.