-
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
[APM ]APM "Services > Metrics" Tab doesn't work if embedded dashboard includes ES|QL visualizations #215675
Comments
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
To render the dashboards, we use the Comparing to the usage in the Dashboards tab in case of the metrics we have the logic to map the layers here. Then comparing to the other dashboards we have Edit Some follow-up questions: What is the difference between |
I'm not aware of the underlying JSON schema. The dashboard was simply built via kibana and then exported via the "Saved Objects" settings. However, when removing the ES|QL visualizations from the dashboard everything works. So my guess is that the presence of those changes the serialization somehow? I followed this internal guide for updating the dashboard. |
@JonasKunz thanks for answering! My guess here is that those
I think the issue is in the logic to map the layers here we have and It probably worked fine before because we didn't have ES|QL visualizations. So what I will try now is to verify if the fix I have in mind solves this issue using the file you attached. |
@JonasKunz I opened a draft: Can you please check if it works for the service you instrumented? I can try to set up an env with java edot next week to check it as well. If you have specific requirements on how to do it, please let me know. |
Kibana version: Tested on 9.1.0
Elasticsearch version: 9.1.0
Describe the bug:
I've been working on adding a new, Otel-native dashboard for Java for the
Services > Metrics
observability tab-Due to requiring multi-step aggregations, I chose to use ES|QL for some of the panels.
Unfortunately it looks like the metrics tab can't deal with dashboards containing ES|QL visualizations. When going to the tab, the dashboard remains empty and the following error shows up:
If I remove all ES|QL visualizations from the dashboard, the error disappears and the dashboard loads.
At the same time importing the dashboard with the ES|QL visualizations and linking it from the
Service > Dashboards
tab works without problems.Steps to reproduce:
Add the following file as embedded dashboard for the metrics tab:
otel_native-edot-java.json
Ingest some otel data and navigate to the tab metrics tab of the service.
The text was updated successfully, but these errors were encountered: