-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since v0.75.0, the hostmetricsreceiver emits metrics with empty string attribute values #21527
Comments
/label receiver/hostmetrics |
Do you have a reproduction scenario? That would help to see where the bug is. |
Of course! Updated the original comment. |
Pinging code owners for receiver/hostmetrics: @dmitryax. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
hostmetrics with the process exporter still sends out empty labels, Thanos ain't happy about it - would suggest to re-open? |
Since otelcol-contrib v0.75.0, the hostmetrics receiver is emitting metrics with empty string attribute values, such as
device = string("")
. I've confirmed that this behavior started in v0.75.0.I'm not certain that empty attribute values are disallowed in the otel spec, but the influxdbexporter has rejected empty attribute values since it has existed.
Originally posted by @jacobmarble in #21474 (comment)
Steps to Reproduce:
otelcontribcol config:
Run for a few seconds, then stop and search the resulting metrics:
Where
"stringValue": ""
, the influxdbexporeter fails. (After #21526 is merged, the influxdbexporter will drop the offending attribute and emit a Debug log.)The text was updated successfully, but these errors were encountered: