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

[BREAK] Update the default port of the Prometheus exporter #11351

Merged
merged 4 commits into from
Sep 3, 2018

Conversation

thaiphv
Copy link
Contributor

@thaiphv thaiphv commented Jul 5, 2018

Closes #11329
This is a breaking change as it changes the default port from 9100 to 9458. I've already updated the Default Prometheus Port Allocation and reserved the port 9458 for the Rocket.Chat exporter.
This commit also returns a 200 response when someone hits the / endpoint. The response also includes a simple static HTML. This change is useful when we want to run a health check on the endpoint because all we need is a 200 response status.

@geekgonecrazy
Copy link
Member

@rodrigok this should be ok with prior versions right? Because the setting value would stay the same? If so this LGTM

Copy link
Member

@geekgonecrazy geekgonecrazy left a comment

Choose a reason for hiding this comment

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

Assuming this wouldn't change settings of existing deployments this LGTM

@geekgonecrazy
Copy link
Member

Thanks @thaiphv for adding this is good and much more permanent

image

@thaiphv
Copy link
Contributor Author

thaiphv commented Aug 29, 2018

Can we consider merging this before the wrong default port number becomes a permanent setting?

@geekgonecrazy geekgonecrazy added this to In progress in September/2018 via automation Aug 29, 2018
@geekgonecrazy geekgonecrazy added this to the 0.70.0 milestone Aug 29, 2018
@geekgonecrazy
Copy link
Member

For sure I should have assigned it to a milestone so we made sure to get it merged

@sampaiodiego sampaiodiego merged commit 3132dbc into RocketChat:develop Sep 3, 2018
September/2018 automation moved this from In progress to Done Sep 3, 2018
jmscraig added a commit to jmscraig/Rocket.Chat that referenced this pull request Sep 7, 2018
…velop into ttrc-teams-mgh-v69-02-01

SCOPE:  This commit is work to sync / bring forward / update the TT Rocket.Chat teams code with current HEAD of the Rocket.Chat/develop branch.  The RocketChat feature/teams branch is nearly 900 commits behind it's upstream tracking source RocketChat/develop so this will just be the first in a series of commits.

This large first commit includes a a good portion of inbound changes from 646 upsteam commits with physical changes to  1817 files.

TT RC Upgrade MERGE STRATEGY:  After a number of expeirments I decided this Merge was a better strategy than rebase because we dont care as much about all the changes in the primary Rocket.Chat devlop branch timeline.    Rebase -p  would be better if we owned the main branch, but leaves complex feature/branches with a big loss in change history.

For TT this merge strategy was chosen better because it better maintains the linage how WE want to see it.
#   $  git merge -s recursive -X patience --no-commit --no-ff --stat --log --verbose upstream/develop

This merge strategy provides the clearest picture I have seen yet for:

1) What is Newer - what is different in the main Dev Branch after Marc forked it.  Will create a clear picture all changes we make to the code after this first major release by Marc.

2) Current, Base State.  What is a Clear Picture of the code as Marc has designed.  ( This option best shows what Changes and improvements Marc decided to introduce.)

3) Older, Pre-Marc.   Shows what Changes Marc made to diverge from the original, who's code and earlier commits he changed.   Lowers our risk..

SOURCE:  This RocketChat feature/teams code was written by Marc Enriquez (https://github.com/auterium) and submitted in the four following commits.

Change roomId generation to prevent issues with jitsi 7572135
h--ps://github.com/RocketChat/Rocket.Chat/commit/7572135e1f1c60ee19d64d13f73cd2c03d0de675

Add name to room creation of direct messages to prevent issue ee97ee9
h--ps://github.com/RocketChat/Rocket.Chat/commit/ee97ee944c5682d77ff739b2de7b62cfe21d39db

Merge branch 'develop' into feature/teams    58c4e0a
h--ps://github.com/RocketChat/Rocket.Chat/commit/58c4e0a2d3757cd3c6887a6beb9d40befe4ba2d9

Add basic support for teams 7a0e697
h--ps://github.com/RocketChat/Rocket.Chat/commit/7a0e697215ee131c540c5191b204243a893e059c

* Source of these changes is 646 commits from the default RocketChat/develop branch.
  [IMPROVE] Refactoring the snap backup scripts to improve UX
  [FIX] Close popover on shortcuts and writing (RocketChat#11562)
  [BREAK] Update the default port of the Prometheus exporter (RocketChat#11351)
  [FIX] Missing `fname` property in Livechat rooms (#11849_
  [FIX] Typo in a configuration key for SlackBridge excluded bot names (RocketChat#11872)
  adding integrations-attachments-example.png
  Bump version to 0.70.0-develop
  Bump version to 0.69.1
  .....
This was referenced Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants