k8s_io_app added to alloy configuration
This commit is contained in:
parent
abe39e9b51
commit
0d9eb6488c
1 changed files with 6 additions and 0 deletions
|
@ -75,6 +75,12 @@ alloy:
|
||||||
action = "replace"
|
action = "replace"
|
||||||
target_label = "app"
|
target_label = "app"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rule {
|
||||||
|
source_labels = ["__meta_kubernetes_pod_label_app_kubernetes_io_name"]
|
||||||
|
action = "replace"
|
||||||
|
target_label = "k8s_io_app"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
loki.source.kubernetes "all_pod_logs" {
|
loki.source.kubernetes "all_pod_logs" {
|
||||||
|
|
Loading…
Reference in a new issue