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

UI: Cross region server monitor #9913

Merged
merged 2 commits into from
Feb 2, 2021

Conversation

DingoEatingFuzz
Copy link
Contributor

Fixes #8885

This was just some oversight. Switching regions and monitoring a server worked, but since the serves page lists all servers across all regions, we need to special case this one.

@github-actions
Copy link

github-actions bot commented Jan 28, 2021

Ember Asset Size action

As of 2c13731

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +74 B +38 B

Files that stayed the same size 🤷‍:

File raw gzip
vendor.js 0 B 0 B
nomad-ui.css 0 B 0 B
vendor.css 0 B 0 B

@github-actions
Copy link

github-actions bot commented Jan 28, 2021

Ember Test Audit comparison

master 2c13731 change
passes 1550 1551 +1
failures 0 0 0
flaky 0 0 0
duration 7m 15s 415ms 8m 31s 189ms +1m 15s 774ms

Copy link
Contributor

@backspace backspace left a comment

Choose a reason for hiding this comment

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

nice minimal intervention, there’s one tiny duplicated line but 👍🏻 otherwise 😀

@@ -72,13 +72,15 @@ module('Integration | Component | agent-monitor', function(hooks) {
assert.ok(logRequest.url.startsWith('/v1/agent/monitor'));
assert.ok(logRequest.url.includes('client_id=client1'));
assert.ok(logRequest.url.includes('log_level=info'));
assert.ok(logRequest.url.includes('log_level=info'));
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this meant to be a different assertion? Or accidental copypaste? 😯

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this was vim betraying me? Dunno, but I'll clean it up.

The region will naturally be appended to URLs via
token.authorizedRequest but agent members includes all servers across
all regions so relying on the application-level region isn't good
enough.
Copy link
Contributor

@backspace backspace left a comment

Choose a reason for hiding this comment

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

😎

@DingoEatingFuzz DingoEatingFuzz merged commit 7fd0a7c into master Feb 2, 2021
@DingoEatingFuzz DingoEatingFuzz deleted the b-ui/cross-region-server-monitor branch February 2, 2021 19:12
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI server monitor doesn't work for remote region nodes
2 participants