VictoriaMetrics/lib/protoparser/opentelemetry
Aliaksandr Valialkin 0379a0eb82
lib/protoparser/opentelemetry: allow ingesting metrics without resource labels
Some clients may ingest samples via OpenTelemetry protocol without Resource labels.
Previously VictoriaMetrics was silently dropping such samples.

The commit 317834f876 added vm_protoparser_rows_dropped_total{type="opentelemetry",reason="resource_not_set"}
counter for tracking of such dropped samples. See https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5459

It is better from usability PoV to accept such samples instead of dropping them and incrementing the corresponding counter.
2023-12-17 19:12:58 +02:00
..
pb lib/protoparser: adds opentelemetry parser (#2570) 2023-07-27 13:26:45 -07:00
proto lib/protoparser: adds opentelemetry parser (#2570) 2023-07-27 13:26:45 -07:00
stream lib/protoparser/opentelemetry: allow ingesting metrics without resource labels 2023-12-17 19:12:58 +02:00