To allow better and more granular telemetry analysis about the contextual resolution in Discover, Event-Based-Telemetry (EBT) events context should be extended by a new property called discover_profiles or discover_context. This property will contain an array of active profiles, e.g. observability-root, logs-data-source (or root-observabilty, data-source-logs), allowing to get insights in which discover context other EBT events like click are logged.
What we intend to log is
Root Context
Data Source Context
What is currently out of scope
Document Context (they are not global values like the other profile types)
More infos about how to extend EBT context can be found here
Extend EBT Based Telemetry by Contextual Awareness Data, logging Root & Data Source Context (when available)
Aim to keep the extension simple, by using just a single property, because "Note that currently, the context is attached to all events, which means we have to be extra careful polluting abusing this feature"
📓 Summary
To allow better and more granular telemetry analysis about the contextual resolution in Discover, Event-Based-Telemetry (EBT) events context should be extended by a new property called
discover_profiles
ordiscover_context
. This property will contain an array of active profiles, e.g.observability-root
,logs-data-source
(orroot-observabilty
,data-source-logs
), allowing to get insights in which discover context other EBT events like click are logged.What we intend to log is
What is currently out of scope
More infos about how to extend EBT context can be found here
https://docs.elastic.dev/telemetry/collection/event-based-telemetry#adding-context-to-the-event
✔️ Acceptance criteria