From 8bbc3394d4ff1100117777abf73a72aac0c44914 Mon Sep 17 00:00:00 2001 From: MJendza Date: Sun, 12 Feb 2023 17:36:56 +0100 Subject: [PATCH 1/2] call ready endpoint https://grafana.com/docs/loki/latest/api/ --- doc/troubleshooting/loki-api.http | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/troubleshooting/loki-api.http diff --git a/doc/troubleshooting/loki-api.http b/doc/troubleshooting/loki-api.http new file mode 100644 index 0000000..617a36a --- /dev/null +++ b/doc/troubleshooting/loki-api.http @@ -0,0 +1,7 @@ +@host = 192.168.1.1 + + +### +### GET ready +### +GET {{host}}:3100/ready HTTP/1.1 \ No newline at end of file From ae750cbe9dfe5ee9369be5f8fc0193156085e5c2 Mon Sep 17 00:00:00 2001 From: MJendza Date: Sun, 12 Feb 2023 17:39:09 +0100 Subject: [PATCH 2/2] labels --- doc/troubleshooting/loki-api.http | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/troubleshooting/loki-api.http b/doc/troubleshooting/loki-api.http index 617a36a..511e596 100644 --- a/doc/troubleshooting/loki-api.http +++ b/doc/troubleshooting/loki-api.http @@ -4,4 +4,10 @@ ### ### GET ready ### -GET {{host}}:3100/ready HTTP/1.1 \ No newline at end of file +GET http://{{host}}:3100/ready HTTP/1.1 + + +### +### GET labels +### +GET http://{{host}}:3100/loki/api/v1/labels HTTP/1.1