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

[Data Usage] New plugin #193466

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

neptunian
Copy link
Contributor

@neptunian neptunian commented Sep 19, 2024

The initial plugin for viewing data usage and retention in Management. The purpose of this PR is to provide a place for other engineers to work on it, hidden from public use.

  • Plugin is hidden by default and can be enabled through kibana.yml
    xpack.dataUsage.enabled: true
  • Currently it will show up in both stateful and serverless (if enabled using config above). When we are ready to make the plugin available we will enable it in config/serverless.yml
  • Renders as a card in serverless management:
Screenshot 2024-09-19 at 4 14 15 PM

#192965
#192966

@neptunian neptunian added the release_note:skip Skip the PR/issue when compiling release notes label Sep 19, 2024
@neptunian neptunian requested review from a team as code owners September 19, 2024 18:38
@obltmachine
Copy link

🤖 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!)

@neptunian neptunian added v8.16.0 backport:prev-minor Backport to the previous minor version (i.e. one version back from main) and removed v8.16.0 labels Sep 19, 2024
@neptunian neptunian requested a review from a team as a code owner September 19, 2024 19:48
Copy link
Member

@jbudz jbudz left a comment

Choose a reason for hiding this comment

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

limits.yml

@neptunian
Copy link
Contributor Author

/ci

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #9 / OpenLensButton calls navigateToPrefilledEditor correctly

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
dataUsage - 30 +30

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
dataUsage - 6 +6

Async chunks

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

id before after diff
dataUsage - 6.7KB +6.7KB
management 45.9KB 46.1KB +219.0B
total +6.9KB

Page load bundle

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

id before after diff
dataUsage - 4.0KB +4.0KB
serverless 14.0KB 14.1KB +168.0B
serverlessObservability 27.0KB 27.2KB +168.0B
serverlessSearch 20.8KB 21.0KB +168.0B
total +4.5KB
Unknown metric groups

API count

id before after diff
dataUsage - 6 +6

async chunk count

id before after diff
dataUsage - 1 +1

ESLint disabled in files

id before after diff
dataUsage - 1 +1

ESLint disabled line counts

id before after diff
dataUsage - 3 +3

Total ESLint disabled count

id before after diff
dataUsage - 4 +4

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants