-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
area/wavefrontbugunexpected problem or unintended behaviorunexpected problem or unintended behaviorhelp wantedRequest for community participation, code, contributionRequest for community participation, code, contribution
Description
Relevant telegraf.conf
[[outputs.wavefront]]
host = "somehost"
port = 12878
prefix = "\u2206telegraf."
namepass = ["somenamepass*"]
fielddrop = ["ln*" , "tdigest"]
source_override = ["api"]
System info
1.21.0
Docker
No response
Steps to reproduce
- Use wavefront output.
- add source override tag.
- Do not provide host tag in metric.
- Plugin will add empty telegraf.host tag to the metric sent to wavefront proxy.
- Wavefront will return error for empty tag.
...
Expected behavior
Wavefront output plugin should not expect host tag in source metric. There should not be any empty tag output from this plugin.
Actual behavior
If host tag is not provided in metrics, wavefront output plugin add empty telegraf.host tag which cause failure on wavefront proxy end.
Additional info
The code here
mTags["telegraf_host"] = mTags["host"] |
Metadata
Metadata
Assignees
Labels
area/wavefrontbugunexpected problem or unintended behaviorunexpected problem or unintended behaviorhelp wantedRequest for community participation, code, contributionRequest for community participation, code, contribution