Skip to content
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

influx2otel: error on field named "count" #312

Closed
seankhliao opened this issue Nov 8, 2024 · 1 comment · Fixed by #314
Closed

influx2otel: error on field named "count" #312

seankhliao opened this issue Nov 8, 2024 · 1 comment · Fixed by #314

Comments

@seankhliao
Copy link
Contributor

Running the influxdbreceiver in the opentelemetry collector,
we see metrics submission fail with "failed to append to the batch".
Bisecting our metrics output, we find that it errors on lines like:

foo count=2i 

Renaming count to something else allows submission to work, but this is a third party application that we can't easily change.

@seankhliao
Copy link
Contributor Author

I found a related (same?) issue influxdata/telegraf#14371

I think it's from https://github.com/influxdata/influxdb-observability/blob/main/influx2otel/metrics_telegraf_prometheus_v1.go#L52-L58 where it assumes it's a histogram but not all fields are present

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant