[Fleet] Add telemetry for integration cards#115413
[Fleet] Add telemetry for integration cards#115413thomasneirynck merged 4 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/fleet (Team:Fleet) |
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
| const unmount = renderApp(startServices, params, config, kibanaVersion, extensions); | ||
|
|
||
| const Tracker = | ||
| deps.usageCollection?.components.ApplicationUsageTrackingProvider ?? React.Fragment; |
There was a problem hiding this comment.
Interesting little trick here with React.Fragment. Any risks to using this vs. a simple 'passthrough' component like:
const Passthrough: React.FC = ({ children }) => childrenThere was a problem hiding this comment.
This is boilerplate from the telemetry-docs
The same syntax is used also in the ML, SIEM, and Maps plugins.
kibana/x-pack/plugins/maps/public/plugin.ts
Line 186 in a67eef4
So I think it should be OK.
|
FYI this PR adds a few "featured" cards that we need to track as well. I added note here about how this could be done, but want to mention it here to ensure it doesn't get missed: #115495 (comment) |
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…-link-to-kibana-app * 'master' of github.com:elastic/kibana: (30 commits) Fix potential error from undefined (elastic#115562) [App Search, Crawler] Fix validation step panel padding/whitespace (elastic#115542) [Cases][Connectors] ServiceNow ITOM: MVP (elastic#114125) Change default session idle timeout to 8 hours. (elastic#115565) Upgrade EUI to v39.1.1 (elastic#114732) [App Search] Wired up organic results on Curation Suggestions view (elastic#114717) [i18n] remove i18n html extractor (elastic#115004) [Logs/Metrics UI] Add deprecated field configuration to Deprecations API (elastic#115103) [Transform] Add alerting rules management to Transform UI (elastic#115363) Update UI links to Fleet and Agent docs (elastic#115295) [ML] Adding ability to change data view in advanced job wizard (elastic#115191) Change deleteByNamespace to include legacy URL aliases (elastic#115459) [Unified Integrations] Remove and cleanup add data views (elastic#115424) [Discover] Show ignored field values (elastic#115040) [ML] Stop reading the ml.max_open_jobs node attribute (elastic#115524) [Discover] Improve doc viewer code in Discover (elastic#114759) [Security Solutions] Adds security detection rule actions as importable and exportable (elastic#115243) [Security Solution] [Platform] Migrate legacy actions whenever user interacts with the rule (elastic#115101) [Fleet] Add telemetry for integration cards (elastic#115413) 🐛 Fix single percentile case when ES is returning no buckets (elastic#115214) ... # Conflicts: # x-pack/plugins/reporting/public/management/__snapshots__/report_listing.test.tsx.snap
Summary
Closes #113835
Adds
data-test-subjattribute and UI-tracker to package-cards.idfor both is of the form:integration-card:[epr|ui_link]:{card-id}For maintainers