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

[8.16] [Entity Inventory] Add basic telemetry (#197055) #198047

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

crespocarlos
Copy link
Contributor

Backport

This will backport the following commits from main to 8.16:

Questions ?

Please refer to the Backport tool documentation

## Summary

Closes elastic#195608.

In this PR, we introduce basic telemetry tracking for the new Inventory
plugin.
These events will help us gain insight into how users are interacting
with the Inventory feature, including the state of the views, search
behaviors, and entity type filtering.

**New events**
- Entity Inventory Viewed
- Entity Inventory Search Query Submitted
- Entity Inventory Entity Type Filtered
- Entity View Clicked

![Untitled-2024-07-24-1420](https://github.com/user-attachments/assets/6e85ea00-c626-4bc1-a4f8-9907674eb264)

~**New attribute added to global context**~
- ~eem_enabled~

~It will only be populated if the Inventory plugin is accessible to
users and after they access the Observability solution.
If EEM is not enabled and the user enables it, the property will be
updated accordingly.~

Details about not implementing `eem_enabled` can be found in [this
comment](elastic#197055 (comment)).

(cherry picked from commit 7d673b8)

# Conflicts:
#	x-pack/plugins/observability_solution/inventory/public/components/search_bar/index.tsx
@crespocarlos crespocarlos enabled auto-merge (squash) October 28, 2024 16:10
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Oct 28, 2024
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

elasticmachine commented Oct 29, 2024

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
inventory 227 229 +2

Async chunks

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

id before after diff
inventory 218.6KB 219.6KB +1.0KB

Page load bundle

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

id before after diff
inventory 10.7KB 12.3KB +1.7KB
Unknown metric groups

ESLint disabled line counts

id before after diff
inventory 0 1 +1

Total ESLint disabled count

id before after diff
inventory 3 4 +1

History

@crespocarlos crespocarlos merged commit 512cabc into elastic:8.16 Oct 29, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci:project-deploy-observability Create an Observability project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants