Hi there,
With otelcol-contrib docker I have successfully pushed the logs to my ES.
But now I have an issue with metrics. I enabled metrics in oltp-collector config:
service:
pipelines:
logs:
receivers: [ otlp ]
exporters: [ elasticsearch ]
traces:
receivers: [ otlp ]
exporters: [ elasticsearch ]
metrics:
receivers: [ otlp ]
exporters: [ elasticsearch ]
And now in collectors logs I see those errors:
2025-03-10T19:22:59.954Z info service@v0.121.0/service.go:281 Everything is ready. Begin running and processing data.
2025-03-10T19:23:52.721Z warn elasticsearchexporter@v0.121.0/exporter.go:322 validation errors {"otelcol.component.id": "elasticsearch", "otelcol.component.kind": "Exporter", "otelcol.signal": "metrics", "error": "dropping cumulative temporality histogram \"jvm.gc.duration\"\ndropping cumulative temporality histogram \"http.server.request.duration\"\ndropping cumulative temporality histogram \"db.client.connections.use_time\"\ndropping cumulative temporality histogram \"db.client.connections.wait_time\"\ndropping cumulative temporality histogram \"db.client.connections.create_time\""}
2025-03-10T19:24:52.724Z warn elasticsearchexporter@v0.121.0/exporter.go:322 validation errors {"otelcol.component.id": "elasticsearch", "otelcol.component.kind": "Exporter", "otelcol.signal": "metrics", "error": "dropping cumulative temporality histogram \"jvm.gc.duration\"\ndropping cumulative temporality histogram \"http.server.request.duration\"\ndropping cumulative temporality histogram \"db.client.connections.use_time\"\ndropping cumulative temporality histogram \"db.client.connections.wait_time\"\ndropping cumulative temporality histogram \"db.client.connections.create_time\""}
2025-03-10T19:25:52.721Z warn elasticsearchexporter@v0.121.0/exporter.go:322 validation errors {"otelcol.component.id": "elasticsearch", "otelcol.component.kind": "Exporter", "otelcol.signal": "metrics", "error": "dropping cumulative temporality histogram \"jvm.gc.duration\"\ndropping cumulative temporality histogram \"http.server.request.duration\"\ndropping cumulative temporality histogram \"db.client.connections.use_time\"\ndropping cumulative temporality histogram \"db.client.connections.wait_time\"\ndropping cumulative temporality histogram \"db.client.connections.create_time\""}
Any idea how to fix it?