diff --git a/services/nomad/monitoring/prometheus.yml b/services/nomad/monitoring/prometheus.yml index 33211c1..c7e8095 100644 --- a/services/nomad/monitoring/prometheus.yml +++ b/services/nomad/monitoring/prometheus.yml @@ -37,7 +37,7 @@ scrape_configs: - docs.voidlinux.org - infradocs.voidlinux.org - repo-fi.voidlinux.org - - repo-us.voidlinux.org + - repo-de.voidlinux.org - sources.voidlinux.org - terraform.voidlinux.org - voidlinux.org @@ -127,7 +127,7 @@ scrape_configs: namespace: '{{ . }}' # {{ end }} relabel_configs: - # keep only services with the 'prometheus_enable=true' tag + # keep only services with the 'prometheus_enable' tag - source_labels: ['__meta_nomad_tags'] regex: '.*,prometheus_enable,.*' action: keep diff --git a/services/nomad/monitoring/vector.nomad b/services/nomad/monitoring/vector.nomad index 489fc93..e99403b 100644 --- a/services/nomad/monitoring/vector.nomad +++ b/services/nomad/monitoring/vector.nomad @@ -50,7 +50,18 @@ job "vector" { } env { - NOMAD_HOST = "${node.unique.name}" + NOMAD_HOST = "${node.unique.name}" + VECTOR_DANGEROUSLY_ALLOW_ENV_VAR_INTERPOLATION = "true" + } + + template { + data = <