opentelemetry-collector-contrib: [prometheusremotewrite] invalid temporality and type combination when remote write to thanos backend
What happened?
Description
I tried to use promethrus remote write to thanos backend and then display metrics on Grafana. I found there are many errors in otel collector log like “Permanent error: invalid temporality and type combination”, In result, thanos lacks many metrics used in Grafana dashboard, any idea or solution about this?
Steps to Reproduce
- fluentbit node_metrics output
- prometheus remote write exporter
- thanos as the backend
Expected Result
Actual Result
Collector version
0.61.0
Environment information
Environment
OS: (e.g., “Ubuntu 20.04”) Compiler(if manually compiled): (e.g., “go 14.2”)
OpenTelemetry Collector configuration
No response
Log output
2022-10-19T11:27:07.375+0800 error exporterhelper/queued_retry.go:395 Exporting failed. The error is not retryable. Dropping data. {"kind": "exporter", "data_type": "metrics", "name": "prometheusremotewrite", "error": "Permanent error: invalid temporality and type combination;
Additional context
No response
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 20 (5 by maintainers)
I have the same issue with opentelemetry-collector-contrib 0.81.0
Exactly @Aneurysm9
I make issue for https://github.com/open-telemetry/opentelemetry-go
https://github.com/open-telemetry/opentelemetry-go/issues/3394
Clarification
The error occurs because https://github.com/open-telemetry/opentelemetry-go sends metrics that have 0 DataPoints
The problem is reproduced also with VictoriaMetrics as the backend