We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 816f29c commit ab9ee5bCopy full SHA for ab9ee5b
tools/loki_test.go
@@ -18,4 +18,14 @@ func TestLokiTools(t *testing.T) {
18
require.NoError(t, err)
19
assert.Len(t, result, 1)
20
})
21
+
22
+ t.Run("get loki label values", func(t *testing.T) {
23
+ ctx := newTestContext()
24
+ result, err := listLokiLabelValues(ctx, ListLokiLabelValuesParams{
25
+ DatasourceUID: "loki",
26
+ LabelName: "container",
27
+ })
28
+ require.NoError(t, err)
29
+ assert.NotEmpty(t, result, "Should have at least one container label value")
30
31
}
0 commit comments