From: Tom Hughes Date: Thu, 10 Aug 2023 19:05:09 +0000 (+0100) Subject: Add host_location metric for machines in dublin and amsterdam X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/358a53e82621db15b6043caf1c2400aee868651f Add host_location metric for machines in dublin and amsterdam --- diff --git a/roles/equinix-ams.rb b/roles/equinix-ams.rb index 7eb6cae11..7923e09d4 100644 --- a/roles/equinix-ams.rb +++ b/roles/equinix-ams.rb @@ -26,6 +26,14 @@ default_attributes( } } }, + :prometheus => { + :metrics => { + :host_location => { + :help => "Host location", + :labels => { :site => "amsterdam" } + } + } + }, :web => { :fileserver => "ironbelly", :readonly_database_host => "snap-01.ams.openstreetmap.org", diff --git a/roles/equinix-dub.rb b/roles/equinix-dub.rb index fd2a40430..e24d71a1f 100644 --- a/roles/equinix-dub.rb +++ b/roles/equinix-dub.rb @@ -35,6 +35,14 @@ default_attributes( } } }, + :prometheus => { + :metrics => { + :host_location => { + :help => "Host location", + :labels => { :site => "dublin" } + } + } + }, :web => { :fileserver => "fafnir", :readonly_database_host => "snap-03.dub.openstreetmap.org"