VictoriaMetrics/app/vminsert
Nikolay 46ecbbea26
lib/protoparser: adds opentelemetry parser (#2570)
* lib/protoparser: adds opentelemetry parser
app/{vmagent,vminsert}: adds opentelemetry ingestion path

Adds ability to ingest data with opentelemetry protocol
protobuf and json encoding is supported
data converted into prometheus protobuf timeseries
each data type has own converter and it may produce multiple timeseries
from single datapoint (for summary and histogram).
only cumulative aggregationFamily is supported for sum(prometheus
counter) and histogram.

Apply suggestions from code review

Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>

updates deps

fixes tests

wip

wip

wip

wip

lib/protoparser/opentelemetry: moves to vtprotobuf generator

go mod vendor

lib/protoparse/opentelemetry: reduce memory allocations

* wip

- Remove support for JSON parsing, since it is too fragile and is rarely used in practice.
  The most clients send OpenTelemetry metrics in protobuf.
  The JSON parser can be added in the future if needed.
- Remove unused code from lib/protoparser/opentelemetry/pb and lib/protoparser/opentelemetry/proto
- Do not re-use protobuf message between ParseStream() calls, since there is high chance
  of high fragmentation of the re-used message because of too complex nested structure of the message.

* wip

* wip

* wip

---------

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-07-27 13:26:45 -07:00
..
common lib/streamaggr: follow-up for 736197179e 2023-07-24 17:05:26 -07:00
csvimport lib/protoparser/csvimport: extract stream parsing code into a separate stream package 2023-02-13 10:25:46 -08:00
datadog lib/protoparser/datadog: extract stream parsing code into a separate stream package 2023-02-13 09:51:47 -08:00
graphite lib/protoparser/graphite: extract stream parsing code into a separate stream package 2023-02-13 10:32:36 -08:00
influx fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
native lib/protoparser/native: extract stream parsing code into a separate stream package 2023-02-13 10:43:05 -08:00
opentelemetry lib/protoparser: adds opentelemetry parser (#2570) 2023-07-27 13:26:45 -07:00
opentsdb lib/protoparser/opentsdb: extract stream parsing code into a separate stream package 2023-02-13 10:03:16 -08:00
opentsdbhttp lib/protoparser/opentsdbhttp: extract stream parsing code into a separate stream package 2023-02-13 10:16:03 -08:00
prometheusimport lib/protoparser/prometheus: move streamparser to subpackage (#3814) 2023-02-13 09:26:07 -08:00
prompush app,lib: fix typos in comments (#3804) 2023-02-13 13:27:13 +01:00
promremotewrite app/vmagent: add support for VictoriaMetrics remote write protocol, which allows saving up to 10x on network bandwidth costs under high load 2023-02-20 19:11:30 -08:00
relabel all: replace atomic.Value with atomic.Pointer[T] 2023-07-19 17:42:06 -07:00
static/css all: follow-up after 8edb390e21 2022-06-07 00:57:09 +03:00
vmimport lib/protoparser/vmimport: extract stream parsing code into a separate stream package 2023-02-13 10:20:19 -08:00
main.go lib/protoparser: adds opentelemetry parser (#2570) 2023-07-27 13:26:45 -07:00
README.md all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00

vminsert routes the ingested data to vmstorage.