X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/65525e02bed90b273b8515ba699cf80e997a5c3b..8b89cd092a7f884d64a6901b4935f3193b69da10:/cookbooks/mysql/recipes/default.rb diff --git a/cookbooks/mysql/recipes/default.rb b/cookbooks/mysql/recipes/default.rb index 2336bc1f7..0fa3df913 100644 --- a/cookbooks/mysql/recipes/default.rb +++ b/cookbooks/mysql/recipes/default.rb @@ -90,5 +90,6 @@ end prometheus_exporter "mysqld" do port 9104 - environment "DATA_SOURCE_NAME" => "prometheus:#{mysql_password}@(localhost:3306)/" + options "--mysqld.username=prometheus" + environment "MYSQLD_EXPORTER_PASSWORD" => mysql_password end