Closed katarzyna-kulpa closed 1 year ago
Pinging code owners:
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 @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
/label -needs-triage
Component(s)
exporter/influxdb
What happened?
Description
I want to collect metrics from kubernetes cluster, I have k8s_cluster as receiver and influxdb as exporter. I have everything deployed in kind cluster. I cannot export metrics to influxdb as I'm getting the follwoing error: error exporterhelper/queued_retry.go:401 Exporting failed. The error is not retryable. Dropping data. {"kind": "exporter", "data_type": "metrics", "name": "influxdb", "error": "Permanent error: failed to convert OTLP metric to line protocol: failed to write point for gauge: Permanent error: failed to encode point: encoding point 13: invalid tag value k8s.namespace.name=\"\"", "dropped_items": 220}
It seems that influxdb exporter cannot convert/skip empty tags.
Steps to Reproduce
Start collecting k8scluster metrcis on kind cluster and export them to influxdb
Expected Result
Empty tags are skipped
Actual Result
Empty tags are failed to being converted
Collector version
v0.75.0
Environment information
Environment
Ubuntu 20.04, kind cluster
OpenTelemetry Collector configuration
Log output
Additional context
No response