Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow us to force-load the Prometheus Exporter... #282

Merged
merged 2 commits into from
Feb 20, 2023

Conversation

dj-maisy
Copy link
Member

What?

The Exporter currently ignores the GOVUK_PROMETHEUS_EXPORTER environment variable if it detects it is being called by rake.

As the email-alerts-service is a perpetual rake task, we need a way to override this for the time being.

This should allow us to set the GOVUK_PROMETHEUS_EXPORTER to "force" to make it configure the Prometheus Exporter regardless of whether it is being called by rake or not.

Related PRs

The Exporter currently ignores the `GOVUK_PROMETHEUS_EXPORTER`
 environment variable if it detects it is being called by rake.

As the email-alerts-service is a perpetual rake task, we need a
 way to override this for the time being.
theseanything
theseanything previously approved these changes Feb 20, 2023
@theseanything theseanything dismissed their stale review February 20, 2023 16:42

missing changeling

Copy link
Contributor

@theseanything theseanything left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add a line in the changelog. You can also include a commit to bump the version to trigger a release.

@dj-maisy dj-maisy merged commit 0ff7984 into main Feb 20, 2023
@dj-maisy dj-maisy deleted the dj-maisy/prometheus-override branch February 20, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants