-
Notifications
You must be signed in to change notification settings - Fork 5.8k
datadog output plugin doesn't send the metric type #6822
Copy link
Copy link
Closed
Labels
cloudIssues or requests around cloud environmentsIssues or requests around cloud environmentsfeature requestRequests for new plugin and for new features to existing pluginsRequests for new plugin and for new features to existing plugins
Description
datadog output plugin doesn't send the metric type (optional) therefore the metric type is displayed as 'Other' in datadog and COUNT or RATE queries can't be apply
https://docs.datadoghq.com/api/?lang=bash#metrics
Altough telegraf.Metric holds the Type (see https://github.com/influxdata/telegraf/blob/master/metric.go) , the datadog output plugin (https://github.com/influxdata/telegraf/blob/master/plugins/outputs/datadog/datadog.go) Write function discard it and sends only Metric, Tags, Host and Points
metric := &Metric{
Metric: dname,
Tags: metricTags,
Host: host,
}
metric.Points[0] = dogM
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cloudIssues or requests around cloud environmentsIssues or requests around cloud environmentsfeature requestRequests for new plugin and for new features to existing pluginsRequests for new plugin and for new features to existing plugins