mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
3aeb1b96a2
Loki protocol supports optional `metadata` object for each ingested line. It's added as 3rd field at the (ts,msg,metadata) tuple. Previously, loki request json parsers rejected log line if tuple size != 2. This commit allows optional tuple field. It parses it as json object and adds it as log metadata fields to the log message stream. related issue: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7431 --------- Co-authored-by: f41gh7 <nik@victoriametrics.com> |
||
---|---|---|
.. | ||
loki_json_test.go | ||
loki_json_timing_test.go | ||
loki_json.go | ||
loki_protobuf_test.go | ||
loki_protobuf_timing_test.go | ||
loki_protobuf.go | ||
loki.go | ||
pb.go |