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

[Metrics UI] Rename "Metrics" to "Infrastructure" in appropriate places #135278

Conversation

matschaffer
Copy link
Contributor

@matschaffer matschaffer commented Jun 28, 2022

Summary

Just renaming a few links.

The issue also mentions possibly updating the /app/metrics URL to /app/infrastructure. I propose we leave this as-is to avoid the complication, especially considering cross linking with APM.

Fixes #123972

@matschaffer matschaffer added Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting v8.4.0 labels Jun 28, 2022
@matschaffer matschaffer self-assigned this Jun 28, 2022
@matschaffer matschaffer marked this pull request as ready for review June 29, 2022 02:00
@matschaffer matschaffer requested a review from a team as a code owner June 29, 2022 02:01
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@@ -169,7 +169,7 @@ export class Plugin implements InfraClientPluginClass {
core.application.register({
id: 'metrics',
Copy link
Contributor

Choose a reason for hiding this comment

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

This change is just for the labels, isn't it? I'm wondering if the application register should have the id replaced too

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’m thinking not at this point. Similar to how I’d like to leave the urls as-is. Especially with the growing interactions with apm UI it seems best to keep this change in the view layer.

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
infra 83.9KB 83.9KB +14.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @matschaffer

Copy link
Contributor

@crespocarlos crespocarlos left a comment

Choose a reason for hiding this comment

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

LGTM! :)

@matschaffer matschaffer merged commit 7338acb into elastic:main Jun 29, 2022
@matschaffer matschaffer deleted the kibana-123972-rename-metrics-to-infrastructure branch June 29, 2022 13:20
@formgeist
Copy link
Contributor

Looks like we missed updating the breadcrumb label?

CleanShot 2022-07-08 at 09 49 42@2x

I imagine there's redirect options in Kibana even for significant route changes like this? Do we need a follow-up issue?

@matschaffer
Copy link
Contributor Author

Nice catch. I put a reminder for myself to open a follow up issue on Monday.

@matschaffer
Copy link
Contributor Author

Opened #136076

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Metrics UI Metrics UI feature release_note:skip Skip the PR/issue when compiling release notes Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v8.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Metrics UI] Rename "Metrics" to "Infrastructure" in appropriate places
5 participants