Skip to content

[NEW] Add prometheus port config#11115

Merged
engelgabriel merged 13 commits into
RocketChat:developfrom
thaiphv:add-prometheus-port-config
Jun 15, 2018
Merged

[NEW] Add prometheus port config#11115
engelgabriel merged 13 commits into
RocketChat:developfrom
thaiphv:add-prometheus-port-config

Conversation

@thaiphv

@thaiphv thaiphv commented Jun 13, 2018

Copy link
Copy Markdown
Contributor

[NEW] Allow the Prometheus port to be configurable

Closes #11114

This also picks a default port number that doesn't conflict with existing allocations from https://github.com/prometheus/prometheus/wiki/Default-port-allocations. Per the recommendation, I use the 9451 port, which is available after the one allocated to Habitat Exporter

@CLAassistant

CLAassistant commented Jun 13, 2018

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
3 out of 5 committers have signed the CLA.

✅ stuartpb
✅ thaiphv
✅ engelgabriel
❌ brylie
❌ Thai Pham


Thai Pham seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@geekgonecrazy

Copy link
Copy Markdown
Contributor

My only problem is this now becomes a breaking change. Because it was released with 9100 already, so if we change the default then when people upgrade it's broken

@geekgonecrazy geekgonecrazy requested a review from rodrigok June 13, 2018 05:43
@thaiphv

thaiphv commented Jun 13, 2018

Copy link
Copy Markdown
Contributor Author

My only problem is this now becomes a breaking change. Because it was released with 9100 already, so if we change the default then when people upgrade it's broken

I'm OK with not setting a default value of 9100 as we haven't actually reserved any port for the service.

@thaiphv

thaiphv commented Jun 14, 2018

Copy link
Copy Markdown
Contributor Author

I've changed the default value of Prometheus_Port to 9100 so that it doesn't introduce a backward incompatible change.

@thaiphv

thaiphv commented Jun 14, 2018

Copy link
Copy Markdown
Contributor Author

Can someone please take a look at this change?

@thaiphv thaiphv changed the title Add prometheus port config [NEW] Add prometheus port config Jun 14, 2018
@engelgabriel engelgabriel merged commit 873ae7d into RocketChat:develop Jun 15, 2018
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.

Allow the Prometheus port to be configuration

7 participants