Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AttributeDatadogHostname the datadog host name attribute AttributeDatadogHostname = "datadog.host.name" // AttributeK8sNodeName the datadog k8s node name attribute AttributeK8sNodeName = "k8s.node.name" )
Variables ¶
This section is empty.
Functions ¶
func ContainerTagFromAttributes ¶ added in v0.33.0
ContainerTagFromAttributes extracts the value of _dd.tags.container from the given set of attributes.
func OriginIDFromAttributes ¶ added in v0.35.0
OriginIDFromAttributes gets the origin IDs from resource attributes. If not found, an empty string is returned for each of them.
func SourceFromAttributes ¶ added in v0.38.0
SourceFromAttributes gets a telemetry signal source from its attributes.
func TagsFromAttributes ¶
TagsFromAttributes converts a selected list of attributes to a tag list that can be added to metrics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.