From f40059d5a7eea2bfa433fd496879b16c1089fd02 Mon Sep 17 00:00:00 2001 From: Richard Towers Date: Fri, 2 Aug 2024 11:08:22 +0100 Subject: [PATCH] Update job name to be more general The job name should really be the same for all metrics published by this _thing_. We currently have publisher (for the web app) and publisher-worker for the worker. I think publisher-metrics is probably a good job name for these specificly metricsy things. --- script/mail_fetcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/mail_fetcher b/script/mail_fetcher index bf4ffe099..de67d0c32 100755 --- a/script/mail_fetcher +++ b/script/mail_fetcher @@ -56,6 +56,6 @@ end Rails.logger.info "Finished running MailFetcher in #{Rails.env} mode - #{Time.zone.now.utc}" Prometheus::Client::Push.new( - job: "publisher_fact_check_emails", + job: "publisher-metrics", gateway: ENV.fetch("PROMETHEUS_PUSHGATEWAY_URL"), ).add(registry)