Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa9e7ee673
|
@@ -10,7 +10,7 @@ export PROMETHEUS_YML_VERSION=v2
|
||||
export MATRIX_ALERTMANAGER_CONFIG_VERSION=v1
|
||||
export MATRIX_ALERTMANAGER_ENTRYPOINT_VERSION=v1
|
||||
export GF_ALERTS_NODE_VERSION=v3
|
||||
export CONFIG_ALLOY_VERSION=v3
|
||||
export CONFIG_ALLOY_VERSION=v2
|
||||
|
||||
# migrates secrets from old names to new names by reading values from the
|
||||
# running containers on the server and re-inserting them under the new names.
|
||||
|
||||
@@ -134,6 +134,11 @@ discovery.relabel "metrics" {
|
||||
action = "keep"
|
||||
}
|
||||
|
||||
rule {
|
||||
action = "labelmap"
|
||||
regex = "__meta_dockerswarm_container_label_coop_cloud_(.+)"
|
||||
}
|
||||
|
||||
// default to port 80 when prometheus.io/port isn't set
|
||||
rule {
|
||||
source_labels = ["__meta_dockerswarm_service_label_prometheus_io_port"]
|
||||
@@ -300,6 +305,10 @@ discovery.relabel "docker" {
|
||||
source_labels = ["__meta_docker_container_log_stream"]
|
||||
target_label = "stream"
|
||||
}
|
||||
rule {
|
||||
action = "labelmap"
|
||||
regex = "__meta_docker_container_label_coop_cloud_(.+)"
|
||||
}
|
||||
}
|
||||
|
||||
loki.source.docker "docker" {
|
||||
|
||||
Reference in New Issue
Block a user