Skip to content

[Infrastructure UI] Create MetricsExplorerViewsService and MetricsExplorerViewsClient#155878

Merged
tonyghiani merged 5 commits intoelastic:mainfrom
tonyghiani:155112-metrics-explorer-views-client
Apr 27, 2023
Merged

[Infrastructure UI] Create MetricsExplorerViewsService and MetricsExplorerViewsClient#155878
tonyghiani merged 5 commits intoelastic:mainfrom
tonyghiani:155112-metrics-explorer-views-client

Conversation

@tonyghiani
Copy link
Copy Markdown
Contributor

📓 Summary

Depends on #154900
Closes #155112

This PR implements the InventoryViewsService and InventoryViewsClient, injecting an instance of the client in the KibanaContextForPlugin and exposing so a set of utilities to retrieve/update inventory views:

  • findMetricsExplorerViews
  • getMetricsExplorerView
  • createMetricsExplorerView
  • updateMetricsExplorerView
  • deleteMetricsExplorerView

👣 Next steps

@tonyghiani tonyghiani added 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 labels Apr 26, 2023
@tonyghiani tonyghiani requested a review from a team as a code owner April 26, 2023 13:31
@elasticmachine
Copy link
Copy Markdown
Contributor

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

@ghost
Copy link
Copy Markdown

ghost commented Apr 26, 2023

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

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

Copy link
Copy Markdown
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! Just tiny little thing.

@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
infra 1371 1379 +8

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
infra 44 45 +1

Async chunks

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

id before after diff
infra 2.0MB 2.0MB +4.0B

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
infra 12 13 +1

Page load bundle

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

id before after diff
infra 97.8KB 101.0KB +3.2KB
Unknown metric groups

API count

id before after diff
infra 47 48 +1

ESLint disabled in files

id before after diff
infra 9 10 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 17 19 +2
securitySolution 399 402 +3
total +5

Total ESLint disabled count

id before after diff
enterpriseSearch 18 20 +2
infra 61 62 +1
securitySolution 479 482 +3
total +6

History

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

@tonyghiani tonyghiani merged commit 5422d08 into elastic:main Apr 27, 2023
@kibanamachine kibanamachine added v8.9.0 backport:skip This PR does not require backporting labels Apr 27, 2023
@tonyghiani tonyghiani deleted the 155112-metrics-explorer-views-client branch April 27, 2023 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting 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.9.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Infrastructure UI] Create metric explorer views client service

5 participants