-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Inventory] Inventory plugin #191798
[Inventory] Inventory plugin #191798
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
.github/CODEOWNERS
Outdated
@@ -362,7 +362,7 @@ packages/deeplinks/devtools @elastic/kibana-management | |||
packages/deeplinks/fleet @elastic/fleet | |||
packages/deeplinks/management @elastic/kibana-management | |||
packages/deeplinks/ml @elastic/ml-ui | |||
packages/deeplinks/observability @elastic/obs-ux-logs-team | |||
packages/deeplinks/observability @elastic/obs-ux-management |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/deeplinks/observability @elastic/obs-ux-management | |
packages/deeplinks/observability @elastic/obs-ux-management-team |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
@@ -421,6 +436,7 @@ export class Plugin | |||
sortKey: 100, | |||
entries: [ | |||
...overviewLink, | |||
...inventoryLink, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this is POC, should this be behind feature flag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the plugin itself is disabled by default, I don't want this to leak to the UI anywhere to regular users so I haven't used an advanced setting or anything
x-pack/plugins/observability_solution/entity_manager/server/lib/client/index.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/observability_solution/inventory/public/api/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/observability_solution/inventory/public/api/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/observability_solution/inventory/public/api/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/observability_solution/inventory/server/routes/entities/route.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/observability_solution/inventory/server/routes/entities/route.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🥳
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing in here, not even a one-liner??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add a one-liner!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add something to the README, even if it's a one liner. Remember that our code is open, in a public repo, everyone needs to know what a plugin does.
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
Unknown metric groupsAPI count
async chunk count
ESLint disabled in files
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @kpatticha |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Onboarding change LGTM
Description
This PR adds an inventory plugin, which renders an inventory UI. Currently only data streams are rendered. This is part of the LogsAI initiative - basically we need a UI for tasks like structuring data, extracting entities, listing the results etc. This is mostly POC-level stuff. Eventually some of this code might be handed over to ECO but let's cross that bridge when we get to it.
Notes for reviewers:
@elastic/appex-ai-infra @elastic/security-generative-ai: added a
truncateList
utility function that takes the first n elements of an array and appends a{l-n} more
string value if there are more values than n. Really simple but I expect will also be very often used because we cannot send a huge amount of items to the LLM.@elastic/kibana-core @elastic/kibana-operations: just boiler plate stuff for adding a new plugin (and thank you for enabling us to run
quick_checks
locally!@elastic/obs-knowledge-team: added support for streaming using an Observable.
@elastic/obs-ux-management-team: added links to the Inventory UI in the Observability plugin
@elastic/obs-entities: I've added an entity manager client to be able to fetch entity definitions on the server. Maybe there's a better way? LMK.
@elastic/obs-ux-logs-team: added a deeplink to the Inventory UI. I've also moved CODEOWNERS for this package to @elastic/obs-ux-management-team as they own the Observability plugin where this is mostly used.