elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.65k stars 8.23k forks source link

[APM] [OTel] Runtime metrics - select dashboards by ingest path #195857

Open AlexanderWert opened 1 month ago

AlexanderWert commented 1 month ago

Today the service runtime dashboards are selected by the agent name (differentiating between classic Elastic APM Agents and OTel SDKs).

With the new ingestion path through the OTel collector the metrics data format is different and will require new runtime dashboards.

To achieve that we need a way to select the dashboard not only based on the agent.name but also through the ingestion path (i.e. through APM Server vs. through OTel Collector directly).

Service runtime metrics ingested through the OTel Collector will always have the field resource.attributes.service.name (plus service.name as alias), same metrics ingested through the APM server won't have the resource.attributes.service.name field, but only service.name.

elasticmachine commented 1 month ago

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)