diff --git a/infra/jobs/station/logging.levant.nomad b/infra/jobs/station/logging.levant.nomad index 21a33ad59d4965b1109f8a9b9db6edbcfe5fe71f..f6af99dc3c2ed92726eb543e257e4941037ed547 100644 --- a/infra/jobs/station/logging.levant.nomad +++ b/infra/jobs/station/logging.levant.nomad @@ -131,13 +131,14 @@ healthchecks.require_healthy = true [sinks.loki_central] type = "loki" inputs = [ "nomad-flags" ] - tenant_id = "[[.station]]" + tenant_id = "lofar" endpoint = "http://logs.service.lofar-central.consul:3100" encoding.codec = "json" healthcheck.enabled = true remove_label_fields = true out_of_order_action = "accept" [sinks.loki_central.labels] + "station" = '[[.station]]' "nomad_*" = '{{ nomad }}' [[ end ]] diff --git a/infra/jobs/station/monitoring.levant.nomad b/infra/jobs/station/monitoring.levant.nomad index aeeed3e0053fa38af907b040e2f3833c7db6feb7..8d2ec8410b091f7676af99a911222a811e3f1a14 100644 --- a/infra/jobs/station/monitoring.levant.nomad +++ b/infra/jobs/station/monitoring.levant.nomad @@ -228,7 +228,7 @@ postgres.service.consul:5432:grafana:postgres:password scrape_timeout: 10s [[ if ne .station "dev" ]] remote_write: - - url: http://monitor.control.lofar:9009/api/v1/push + - url: http://metrics.service.lofar-central.consul:9009/api/v1/push write_relabel_configs: - target_label: host replacement: [[.station]]