You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[processors.template]]
tag = "measurement"template = '{{ .Name }}'
System info:
Docker image telegraf:1.14
Steps to reproduce:
Add the configuration in telegraf.
Run the container.
Expected behavior:
Metrics are sent with a new tag called "measurement" and the value is the name of the metric.
Actual behavior:
The metrics are sent wihtout the new tag.
Additional info:
Error from the logs:
telegraf-forwarder_1 | 2020-03-30T22:40:20Z E! [processors.template] failed to execute template: template: configured_template:1:3: executing "configured_template" at <.Name>: can't evaluate field Name in type *template.TemplateMetric
The text was updated successfully, but these errors were encountered:
Relevant telegraf.conf:
System info:
Docker image telegraf:1.14
Steps to reproduce:
Expected behavior:
Metrics are sent with a new tag called "measurement" and the value is the name of the metric.
Actual behavior:
The metrics are sent wihtout the new tag.
Additional info:
Error from the logs:
telegraf-forwarder_1 | 2020-03-30T22:40:20Z E! [processors.template] failed to execute template: template: configured_template:1:3: executing "configured_template" at <.Name>: can't evaluate field Name in type *template.TemplateMetric
The text was updated successfully, but these errors were encountered: