Skip to content

Commit

Permalink
Merge pull request #227 from alphagov/prometheus-exporter-server-update
Browse files Browse the repository at this point in the history
Prometheus exporter server update
  • Loading branch information
marcpomfret authored Mar 18, 2022
2 parents 17bd181 + 63f4c31 commit 26319e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 4.4.3

- Update prometheus exporter server to 0.0.0.0 from localhost ([#227](https://github.com/alphagov/govuk_app_config/pull/227)).

# 4.4.2

- Update HMPO webchat address in security policy ([#225](https://github.com/alphagov/govuk_app_config/pull/225)).
Expand Down
2 changes: 1 addition & 1 deletion lib/govuk_app_config/govuk_prometheus_exporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def self.configure
require "prometheus_exporter/server"
require "prometheus_exporter/middleware"

server = PrometheusExporter::Server::WebServer.new bind: "localhost", port: 9394
server = PrometheusExporter::Server::WebServer.new bind: "0.0.0.0", port: 9394
server.start

Rails.application.middleware.unshift PrometheusExporter::Middleware
Expand Down
2 changes: 1 addition & 1 deletion lib/govuk_app_config/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module GovukAppConfig
VERSION = "4.4.2".freeze
VERSION = "4.4.3".freeze
end

0 comments on commit 26319e7

Please sign in to comment.