Skip to content

Commit d4d7a74

Browse files
committed
Remove force GOVUK_PROMETHEUS_EXPORTER
GovukPrometheusExporter is now always initialised. See [PR 361 on govuk_app_config](alphagov/govuk_app_config#361)
1 parent 02edd1e commit d4d7a74

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

config/environments/development.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,3 @@
4444
# Apply autocorrection by RuboCop to files generated by `bin/rails generate`.
4545
config.generators.apply_rubocop_autocorrect_after_generate!
4646
end
47-
48-
# TODO: remove this workaround once GovukPrometheusExporter initialisation is fixed in govuk_app_config.
49-
ENV["GOVUK_PROMETHEUS_EXPORTER"] = "force"

config/environments/test.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,3 @@
4646
config.discovery_engine_default_collection_name = "[collection]"
4747
config.discovery_engine_default_location_name = "[location]"
4848
end
49-
50-
# TODO: remove this workaround once GovukPrometheusExporter initialisation is fixed in govuk_app_config.
51-
ENV["GOVUK_PROMETHEUS_EXPORTER"] = "force"

0 commit comments

Comments
 (0)