grafana/pkg/tsdb/loki
Gábor Farkas da74dba7c8
Loki: backend: use streaming JSON parser, try2 (#48752)
* converter: remove __name__ customization because Loki does not do that

Loki does not handle __name__ in a special way.
for Prometheus, the caller can implement the formatting
by themselves

* converter: change labels-formatting

the labels.String() method does not handle strange values well

* loki: backend: use streaming-json parser

* more idiomatic code

Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>

* simpler row-length check

* simpler code

* fixed converter/prom tests

Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2022-05-05 13:09:01 +02:00
..
testdata Loki: backend: use json-field (#48486) 2022-05-03 08:03:25 +02:00
api_mock.go loki backend mode forward-oauth (#48401) 2022-05-05 12:42:50 +02:00
api.go Loki: backend: use streaming JSON parser, try2 (#48752) 2022-05-05 13:09:01 +02:00
frame_test.go Loki: backend: use streaming JSON parser, try2 (#48752) 2022-05-05 13:09:01 +02:00
frame.go Loki: backend: use streaming JSON parser, try2 (#48752) 2022-05-05 13:09:01 +02:00
framing_test.go loki backend mode forward-oauth (#48401) 2022-05-05 12:42:50 +02:00
loki_bench_test.go loki backend mode forward-oauth (#48401) 2022-05-05 12:42:50 +02:00
loki.go Loki: backend: use streaming JSON parser, try2 (#48752) 2022-05-05 13:09:01 +02:00
oauth_test.go loki backend mode forward-oauth (#48401) 2022-05-05 12:42:50 +02:00
parse_query_test.go loki: alerting: handle curly-braces-style variables (#42933) 2021-12-09 15:16:01 +01:00
parse_query.go Loki: add backend-forward mode to queries, update log-row-context (#47726) 2022-04-20 13:52:15 +02:00
step_test.go Loki: alerting: adjust step-calculation to be the same as in frontend (#42033) 2021-11-22 14:28:51 +01:00
step.go Loki: alerting: adjust step-calculation to be the same as in frontend (#42033) 2021-11-22 14:28:51 +01:00
streaming_frame_test.go Loki: support live streaming (#42804) 2022-03-01 14:46:52 -08:00
streaming_frame.go Loki: support live streaming (#42804) 2022-03-01 14:46:52 -08:00
streaming.go Loki: support live streaming (#42804) 2022-03-01 14:46:52 -08:00
types.go Loki: add backend-forward mode to queries, update log-row-context (#47726) 2022-04-20 13:52:15 +02:00