File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
hack/observability/promtail Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 2
2
3
3
config :
4
4
# publish data to loki
5
- lokiAddress : http://loki:3100/loki/api/v1/push
5
+ clients :
6
+ - url : http://loki:3100/loki/api/v1/push
6
7
7
8
snippets :
8
9
pipelineStages :
9
- # Parse cluster and machine to make them available as labels.
10
- - cri : { }
11
- - json :
12
- expressions :
10
+ # Parse cluster and machine to make them available as labels.
11
+ - cri : {}
12
+ - json :
13
+ expressions :
14
+ controller :
15
+ cluster : join('/',[Cluster.namespace,Cluster.name])
16
+ machine : join('/',[Machine.namespace,Machine.name])
17
+ - labels :
13
18
controller :
14
- cluster : join('/',[Cluster.namespace,Cluster.name])
15
- machine : join('/',[Machine.namespace,Machine.name])
16
- - labels :
17
- controller :
18
- cluster :
19
- machine :
19
+ cluster :
20
+ machine :
You can’t perform that action at this time.
0 commit comments