added app label
This commit is contained in:
parent
66a56f2c43
commit
abe39e9b51
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,11 @@ alloy:
|
|||
target_label = "container"
|
||||
}
|
||||
|
||||
rule {
|
||||
source_labels = ["__meta_kubernetes_pod_label_app"]
|
||||
action = "replace"
|
||||
target_label = "app"
|
||||
}
|
||||
}
|
||||
|
||||
loki.source.kubernetes "all_pod_logs" {
|
||||
|
|
Loading…
Reference in a new issue