Skip to content

Remove redundant prometheus config param#270

Merged
bors[bot] merged 2 commits intomasterfrom
remove-redundant-prometheus-config-param
Feb 23, 2021
Merged

Remove redundant prometheus config param#270
bors[bot] merged 2 commits intomasterfrom
remove-redundant-prometheus-config-param

Conversation

@davidor
Copy link
Copy Markdown
Contributor

@davidor davidor commented Feb 23, 2021

This PR removes a redundant config param used to enable Prometheus metrics in the listener.

We already have an ENV to do that and we need it because the metric server is started in Puma/Falcon "before_fork" and the configuration is not loaded at that point.

@davidor davidor requested a review from unleashed February 23, 2021 15:51
Copy link
Copy Markdown
Contributor

@unleashed unleashed left a comment

Choose a reason for hiding this comment

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

freeze and merge?

Comment thread lib/3scale/backend/rack.rb Outdated
Comment thread lib/3scale/prometheus_server.rb Outdated
@davidor davidor force-pushed the remove-redundant-prometheus-config-param branch from 462f366 to 5deaf6f Compare February 23, 2021 16:06
@davidor
Copy link
Copy Markdown
Contributor Author

davidor commented Feb 23, 2021

bors r=@unleashed

@bors
Copy link
Copy Markdown
Contributor

bors Bot commented Feb 23, 2021

🕐 Waiting for PR status (Github check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set.

@bors
Copy link
Copy Markdown
Contributor

bors Bot commented Feb 23, 2021

Build succeeded:

@bors bors Bot merged commit 3285e91 into master Feb 23, 2021
@bors bors Bot deleted the remove-redundant-prometheus-config-param branch February 23, 2021 16:21
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