VictoriaMetrics/lib/protoparser/opentelemetry/stream
Aliaksandr Valialkin bb0771754d
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:24:30 +02:00
..
streamparser.go lib/protoparser/opentelemetry: allow ingesting metrics without resource labels 2023-12-17 19:24:30 +02:00
streamparser_test.go lib/protoparser: adds opentelemetry parser (#2570) 2023-07-27 13:37:15 -07:00
streamparser_timing_test.go lib/protoparser: adds opentelemetry parser (#2570) 2023-07-27 13:37:15 -07:00