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

[Infra] Display "Add metrics" callout for all containers without metrics #202220

Conversation

iblancof
Copy link
Contributor

@iblancof iblancof commented Nov 28, 2024

Summary

Closes #196553.

In this PR, we removed the restriction that prevented the "Add metrics" callout from appearing on containers that aren't Docker or Kubernetes, even if they didn’t have metrics.

Previously, this was done to only show the callout on Docker/Kubernetes containers with available metrics. Now, the callout will be displayed for all containers lacking metrics, ensuring a more consistent user experience across different container types, regardless of the underlying technology.

View Before After
Overview Screenshot 2024-11-29 at 13 35 23 Screenshot 2024-11-29 at 13 33 15
Metrics Screenshot 2024-11-29 at 13 35 30 Screenshot 2024-11-29 at 13 33 09

The PR also addresses an issue with the onboarding link used in the callout, where the url parameter was not properly preselecting any options.

Before After
Screen Recording 2024-11-29 at 13 37 05 Screen Recording 2024-11-29 at 13 33 26

@iblancof iblancof self-assigned this Nov 28, 2024
@iblancof
Copy link
Contributor Author

/ci

@iblancof iblancof added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v8.18.0 labels Nov 29, 2024
@iblancof iblancof marked this pull request as ready for review November 29, 2024 16:07
@iblancof iblancof requested a review from a team as a code owner November 29, 2024 16:07
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Dec 2, 2024
Copy link
Contributor

github-actions bot commented Dec 2, 2024

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

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

LGTM

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
infra 1.8MB 1.8MB -111.0B

History

cc @iblancof

@iblancof iblancof merged commit 1b1c415 into elastic:main Dec 2, 2024
10 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12120247605

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 2, 2024
…ics (elastic#202220)

## Summary

Closes elastic#196553.

In this PR, we removed the restriction that prevented the "Add metrics"
callout from appearing on containers that aren't Docker or Kubernetes,
even if they didn’t have metrics.

Previously, this was done to only show the callout on Docker/Kubernetes
containers with available metrics. Now, the callout will be displayed
for all containers lacking metrics, ensuring a more consistent user
experience across different container types, regardless of the
underlying technology.

|View|Before|After|
|-|-|-|
|Overview|![Screenshot 2024-11-29 at 13 35
23](https://github.com/user-attachments/assets/b3d916e6-ee2b-4f1f-8d93-90c8ae595ac1)|![Screenshot
2024-11-29 at 13 33
15](https://github.com/user-attachments/assets/23bb44cf-41bc-4274-b204-8a3c9ceecea5)|
|Metrics|![Screenshot 2024-11-29 at 13 35
30](https://github.com/user-attachments/assets/3fbfb81e-d61c-4f28-b9a4-55b8009df8e1)|![Screenshot
2024-11-29 at 13 33
09](https://github.com/user-attachments/assets/1fb48b2f-457e-4453-8758-41f3ceadf794)|

The PR also addresses an issue with the onboarding link used in the
callout, where the `url` parameter was not properly preselecting any
options.
|Before|After|
|-|-|
|![Screen Recording 2024-11-29 at 13 37
05](https://github.com/user-attachments/assets/37f04535-ba4a-428b-b988-2ac4d5c0449a)|![Screen
Recording 2024-11-29 at 13 33
26](https://github.com/user-attachments/assets/b52b5b55-a387-40c8-80cd-54aedc9acfc7)|

(cherry picked from commit 1b1c415)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@iblancof iblancof deleted the 196553-inventory-infra-asset-details-shows-blank-metrics-section-for-containers-detected-by-eem-but-without-integrations-data branch December 2, 2024 13:39
kibanamachine added a commit that referenced this pull request Dec 2, 2024
…ers without metrics (#202220) (#202465)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Infra] Display "Add metrics" callout for all containers
without metrics
(#202220)](#202220)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Irene
Blanco","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-02T13:21:32Z","message":"[Infra]
Display \"Add metrics\" callout for all containers without metrics
(#202220)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196553.\r\n\r\nIn this PR, we
removed the restriction that prevented the \"Add metrics\"\r\ncallout
from appearing on containers that aren't Docker or Kubernetes,\r\neven
if they didn’t have metrics.\r\n\r\nPreviously, this was done to only
show the callout on Docker/Kubernetes\r\ncontainers with available
metrics. Now, the callout will be displayed\r\nfor all containers
lacking metrics, ensuring a more consistent user\r\nexperience across
different container types, regardless of the\r\nunderlying
technology.\r\n\r\n\r\n|View|Before|After|\r\n|-|-|-|\r\n|Overview|![Screenshot
2024-11-29 at 13
35\r\n23](https://github.com/user-attachments/assets/b3d916e6-ee2b-4f1f-8d93-90c8ae595ac1)|![Screenshot\r\n2024-11-29
at 13
33\r\n15](https://github.com/user-attachments/assets/23bb44cf-41bc-4274-b204-8a3c9ceecea5)|\r\n|Metrics|![Screenshot
2024-11-29 at 13
35\r\n30](https://github.com/user-attachments/assets/3fbfb81e-d61c-4f28-b9a4-55b8009df8e1)|![Screenshot\r\n2024-11-29
at 13
33\r\n09](https://github.com/user-attachments/assets/1fb48b2f-457e-4453-8758-41f3ceadf794)|\r\n\r\nThe
PR also addresses an issue with the onboarding link used in
the\r\ncallout, where the `url` parameter was not properly preselecting
any\r\noptions.\r\n|Before|After|\r\n|-|-|\r\n|![Screen Recording
2024-11-29 at 13
37\r\n05](https://github.com/user-attachments/assets/37f04535-ba4a-428b-b988-2ac4d5c0449a)|![Screen\r\nRecording
2024-11-29 at 13
33\r\n26](https://github.com/user-attachments/assets/b52b5b55-a387-40c8-80cd-54aedc9acfc7)|","sha":"1b1c41506b9ce6f7048ad646914023bf1c795717","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.18.0"],"title":"[Infra]
Display \"Add metrics\" callout for all containers without
metrics","number":202220,"url":"https://github.com/elastic/kibana/pull/202220","mergeCommit":{"message":"[Infra]
Display \"Add metrics\" callout for all containers without metrics
(#202220)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196553.\r\n\r\nIn this PR, we
removed the restriction that prevented the \"Add metrics\"\r\ncallout
from appearing on containers that aren't Docker or Kubernetes,\r\neven
if they didn’t have metrics.\r\n\r\nPreviously, this was done to only
show the callout on Docker/Kubernetes\r\ncontainers with available
metrics. Now, the callout will be displayed\r\nfor all containers
lacking metrics, ensuring a more consistent user\r\nexperience across
different container types, regardless of the\r\nunderlying
technology.\r\n\r\n\r\n|View|Before|After|\r\n|-|-|-|\r\n|Overview|![Screenshot
2024-11-29 at 13
35\r\n23](https://github.com/user-attachments/assets/b3d916e6-ee2b-4f1f-8d93-90c8ae595ac1)|![Screenshot\r\n2024-11-29
at 13
33\r\n15](https://github.com/user-attachments/assets/23bb44cf-41bc-4274-b204-8a3c9ceecea5)|\r\n|Metrics|![Screenshot
2024-11-29 at 13
35\r\n30](https://github.com/user-attachments/assets/3fbfb81e-d61c-4f28-b9a4-55b8009df8e1)|![Screenshot\r\n2024-11-29
at 13
33\r\n09](https://github.com/user-attachments/assets/1fb48b2f-457e-4453-8758-41f3ceadf794)|\r\n\r\nThe
PR also addresses an issue with the onboarding link used in
the\r\ncallout, where the `url` parameter was not properly preselecting
any\r\noptions.\r\n|Before|After|\r\n|-|-|\r\n|![Screen Recording
2024-11-29 at 13
37\r\n05](https://github.com/user-attachments/assets/37f04535-ba4a-428b-b988-2ac4d5c0449a)|![Screen\r\nRecording
2024-11-29 at 13
33\r\n26](https://github.com/user-attachments/assets/b52b5b55-a387-40c8-80cd-54aedc9acfc7)|","sha":"1b1c41506b9ce6f7048ad646914023bf1c795717"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202220","number":202220,"mergeCommit":{"message":"[Infra]
Display \"Add metrics\" callout for all containers without metrics
(#202220)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196553.\r\n\r\nIn this PR, we
removed the restriction that prevented the \"Add metrics\"\r\ncallout
from appearing on containers that aren't Docker or Kubernetes,\r\neven
if they didn’t have metrics.\r\n\r\nPreviously, this was done to only
show the callout on Docker/Kubernetes\r\ncontainers with available
metrics. Now, the callout will be displayed\r\nfor all containers
lacking metrics, ensuring a more consistent user\r\nexperience across
different container types, regardless of the\r\nunderlying
technology.\r\n\r\n\r\n|View|Before|After|\r\n|-|-|-|\r\n|Overview|![Screenshot
2024-11-29 at 13
35\r\n23](https://github.com/user-attachments/assets/b3d916e6-ee2b-4f1f-8d93-90c8ae595ac1)|![Screenshot\r\n2024-11-29
at 13
33\r\n15](https://github.com/user-attachments/assets/23bb44cf-41bc-4274-b204-8a3c9ceecea5)|\r\n|Metrics|![Screenshot
2024-11-29 at 13
35\r\n30](https://github.com/user-attachments/assets/3fbfb81e-d61c-4f28-b9a4-55b8009df8e1)|![Screenshot\r\n2024-11-29
at 13
33\r\n09](https://github.com/user-attachments/assets/1fb48b2f-457e-4453-8758-41f3ceadf794)|\r\n\r\nThe
PR also addresses an issue with the onboarding link used in
the\r\ncallout, where the `url` parameter was not properly preselecting
any\r\noptions.\r\n|Before|After|\r\n|-|-|\r\n|![Screen Recording
2024-11-29 at 13
37\r\n05](https://github.com/user-attachments/assets/37f04535-ba4a-428b-b988-2ac4d5c0449a)|![Screen\r\nRecording
2024-11-29 at 13
33\r\n26](https://github.com/user-attachments/assets/b52b5b55-a387-40c8-80cd-54aedc9acfc7)|","sha":"1b1c41506b9ce6f7048ad646914023bf1c795717"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Irene Blanco <[email protected]>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 9, 2024
…ics (elastic#202220)

## Summary

Closes elastic#196553.

In this PR, we removed the restriction that prevented the "Add metrics"
callout from appearing on containers that aren't Docker or Kubernetes,
even if they didn’t have metrics.

Previously, this was done to only show the callout on Docker/Kubernetes
containers with available metrics. Now, the callout will be displayed
for all containers lacking metrics, ensuring a more consistent user
experience across different container types, regardless of the
underlying technology.


|View|Before|After|
|-|-|-|
|Overview|![Screenshot 2024-11-29 at 13 35
23](https://github.com/user-attachments/assets/b3d916e6-ee2b-4f1f-8d93-90c8ae595ac1)|![Screenshot
2024-11-29 at 13 33
15](https://github.com/user-attachments/assets/23bb44cf-41bc-4274-b204-8a3c9ceecea5)|
|Metrics|![Screenshot 2024-11-29 at 13 35
30](https://github.com/user-attachments/assets/3fbfb81e-d61c-4f28-b9a4-55b8009df8e1)|![Screenshot
2024-11-29 at 13 33
09](https://github.com/user-attachments/assets/1fb48b2f-457e-4453-8758-41f3ceadf794)|

The PR also addresses an issue with the onboarding link used in the
callout, where the `url` parameter was not properly preselecting any
options.
|Before|After|
|-|-|
|![Screen Recording 2024-11-29 at 13 37
05](https://github.com/user-attachments/assets/37f04535-ba4a-428b-b988-2ac4d5c0449a)|![Screen
Recording 2024-11-29 at 13 33
26](https://github.com/user-attachments/assets/b52b5b55-a387-40c8-80cd-54aedc9acfc7)|
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
…ics (elastic#202220)

## Summary

Closes elastic#196553.

In this PR, we removed the restriction that prevented the "Add metrics"
callout from appearing on containers that aren't Docker or Kubernetes,
even if they didn’t have metrics.

Previously, this was done to only show the callout on Docker/Kubernetes
containers with available metrics. Now, the callout will be displayed
for all containers lacking metrics, ensuring a more consistent user
experience across different container types, regardless of the
underlying technology.


|View|Before|After|
|-|-|-|
|Overview|![Screenshot 2024-11-29 at 13 35
23](https://github.com/user-attachments/assets/b3d916e6-ee2b-4f1f-8d93-90c8ae595ac1)|![Screenshot
2024-11-29 at 13 33
15](https://github.com/user-attachments/assets/23bb44cf-41bc-4274-b204-8a3c9ceecea5)|
|Metrics|![Screenshot 2024-11-29 at 13 35
30](https://github.com/user-attachments/assets/3fbfb81e-d61c-4f28-b9a4-55b8009df8e1)|![Screenshot
2024-11-29 at 13 33
09](https://github.com/user-attachments/assets/1fb48b2f-457e-4453-8758-41f3ceadf794)|

The PR also addresses an issue with the onboarding link used in the
callout, where the `url` parameter was not properly preselecting any
options.
|Before|After|
|-|-|
|![Screen Recording 2024-11-29 at 13 37
05](https://github.com/user-attachments/assets/37f04535-ba4a-428b-b988-2ac4d5c0449a)|![Screen
Recording 2024-11-29 at 13 33
26](https://github.com/user-attachments/assets/b52b5b55-a387-40c8-80cd-54aedc9acfc7)|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v8.18.0 v9.0.0
Projects
None yet
4 participants