Skip to content

[O11y][K8s] Migrate Cronjobs dashboard visualizations to lens - #8263

Merged
rajvi-patel-22 merged 3 commits into
elastic:mainfrom
rajvi-patel-22:lens_migration_k8_cronjob
Oct 27, 2023
Merged

[O11y][K8s] Migrate Cronjobs dashboard visualizations to lens#8263
rajvi-patel-22 merged 3 commits into
elastic:mainfrom
rajvi-patel-22:lens_migration_k8_cronjob

Conversation

@rajvi-patel-22

@rajvi-patel-22 rajvi-patel-22 commented Oct 23, 2023

Copy link
Copy Markdown
Contributor

Urgency

  • High

Activity Type

  • Enhancement

What does this PR do?

  • Manually migrate K8s CronJobs visualizations to the lens in the current Kibana version 8.10.2 itself.

  • Statistics for K8s CronJobs Lens migration:

Migration stats

  Before Migration   After Migration  
  Lens Vizualization Lens Vizualization
[Metrics Kubernetes] Cronjobs 1 1 2 0

Checklist

  • I have added an entry to my package's changelog.yml file.
  • I have verified that panels are populated with data.
  • I have verified that panels are not distorted after being migrated to the lens.
  • I have updated screenshots of the dashboard.
  • I have verified that the data counts are matching and panel aggregations are the same as before.

Author's Checklist

  • Migrated panels should be removed from visualization folder.
  • Migrated visualizations are populating in current Kibana version 8.10.2 itself.

Related issues

Before Migration:
image
After Migration:
kubernetes-state_cronjob-dashboard

@elasticmachine

elasticmachine commented Oct 23, 2023

Copy link
Copy Markdown

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-10-27T05:42:25.439+0000

  • Duration: 52 min 18 sec

Test stats 🧪

Test Results
Failed 0
Passed 94
Skipped 0
Total 94

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine

elasticmachine commented Oct 23, 2023

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (1/1) 💚
Files 100.0% (1/1) 💚 4.451
Classes 100.0% (1/1) 💚 4.451
Methods 96.25% (77/80) 👍 4.768
Lines 100.0% (22/22) 💚 11.773
Conditionals 100.0% (0/0) 💚
@rajvi-patel-22
rajvi-patel-22 marked this pull request as ready for review October 23, 2023 06:10
@rajvi-patel-22
rajvi-patel-22 requested review from a team as code owners October 23, 2023 06:10
@rajvi-patel-22 rajvi-patel-22 changed the title [O11y][K8] Migrate Cronjobs dashboard visualizations to lens Oct 23, 2023

@kush-elastic kush-elastic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@drewdaemon

drewdaemon commented Oct 23, 2023

Copy link
Copy Markdown
Contributor

Thanks for doing this. Could we decrease the height of the metric panel by about half? That way the number will be much closer to the label.

@rajvi-patel-22

rajvi-patel-22 commented Oct 26, 2023

Copy link
Copy Markdown
Contributor Author

Thanks for doing this. Could we decrease the height of the metric panel by about half? That way the number will be much closer to the label.

@drewdaemon , according to your comment I have raised a separate issue for tracking the changes related to size of metric visualizations. As already 3 dashboard PRs are merged for Kubernetes, they also require this change.

@drewdaemon

Copy link
Copy Markdown
Contributor

Thanks @rajvi-elastic !

@drewdaemon drewdaemon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved with the understanding that metric height will be addressed in #8308

@mbondyra mbondyra left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM 👌🏼

…into lens_migration_k8_cronjob

Conflicts:
	packages/kubernetes/changelog.yml
	packages/kubernetes/manifest.yml
@rajvi-patel-22
rajvi-patel-22 merged commit 29ec02c into elastic:main Oct 27, 2023
@elasticmachine

Copy link
Copy Markdown

Package kubernetes - 1.50.0 containing this change is available at https://epr.elastic.co/search?package=kubernetes

orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
…tic#8263)

* Migrate  dashboard visualizations to lens

* Update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7 participants