full cycle hostname label
This commit is contained in:
@@ -25,11 +25,6 @@ loki.relabel "add_labels" {
|
|||||||
source_labels = ["__host__"]
|
source_labels = ["__host__"]
|
||||||
target_label = "hostname"
|
target_label = "hostname"
|
||||||
}
|
}
|
||||||
rule {
|
|
||||||
action = "replace"
|
|
||||||
source_labels = "${env.HOSTNAME}"
|
|
||||||
target_label = "hostname"
|
|
||||||
}
|
|
||||||
rule {
|
rule {
|
||||||
action = "replace"
|
action = "replace"
|
||||||
target_label = "job"
|
target_label = "job"
|
||||||
|
|||||||
Reference in New Issue
Block a user