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

[Kubernetes]K8s Dashboard Visualisation is not showing anyn information #186616

Open
gizas opened this issue Jun 21, 2024 · 11 comments
Open

[Kubernetes]K8s Dashboard Visualisation is not showing anyn information #186616

gizas opened this issue Jun 21, 2024 · 11 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@gizas
Copy link
Contributor

gizas commented Jun 21, 2024

Kibana version:
8.14.0

Describe the bug:
Only Pods visualisation of Kubernetes Cluster Overview Dashboard is not showing any information!

The specific Pods Visualisation uses runtime fields in order to create a range of specific metrics based on the value of a specific metric: the kubernetes.pod.status.phase.

For eg it creates the Running metric with value 1 when:

if (doc['kubernetes.pod.status.phase'].value == 'running') {emit(1) }

Same fields called Pending, Succeeded, Failed are being created per doc['kubernetes.pod.status.phase'].value

Steps to reproduce:

  1. Install k8s cluster
  2. Install Elastic Agent with default K8s Integration policy
  3. Open [Metrics Kubernetes] Cluster Overview The Pods Visualisation does not show anything

Expected behavior:
Pods Visualisation to show the values of the Pods in cluster

Screenshots (if relevant):
Screenshot 2024-06-21 at 2 16 02 PM

I have confirmed that data is there and the Explore In Discover of relevant Visualisation returns metrics:

Screenshot 2024-06-21 at 2 15 21 PM

Provide logs and/or server output (if relevant):
I have created a copy from another Visualisation and edit it with the same configuration options like the non-working one. As said before, the specific visualisation uses some runtime fields to populate some new field. The weird thing is that the new duplicated Visualisation is working.

See the comparison below:
Screenshot 2024-06-21 at 2 23 46 PM

Any additional context:

@gizas gizas added the bug Fixes for quality problems that affect the customer experience label Jun 21, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Jun 21, 2024
@gizas gizas added the Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team label Jun 21, 2024
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jun 21, 2024
@gizas
Copy link
Contributor Author

gizas commented Jun 21, 2024

@elastic/obs-ux-infra_services-team please let me know if this is the correct team that handles Lens/ visualisation issues or I need to forward this to another team

@mlunadia
Copy link

@teresaalvarezsoler not sure if this falls into one of the teams you work with. This dashboard is our presentation to K8s users after onboarding and crucial that it works flawlessly. Any help you can provide would be great!
cc: @akhileshpok

@akhileshpok
Copy link

cc @flash1293. Is it possible to somehow link this issue to the Onboarding board, in order to help with tracking? Thanks

@flash1293
Copy link
Contributor

flash1293 commented Jun 21, 2024

@akhileshpok I don't think this should be on the onboarding initiative, it looks like an integration issue - maybe the field names changed or something like this and the visualization configuration needs to be fixed? Via the package manifest, it is owned by @elastic/obs-cloudnative-monitoring

So what I would like suggest:

  • Someone from @elastic/obs-cloudnative-monitoring checks whether the panel is misconfigured or something else isn't right with the data ingestion/processing
  • If the data and the config is right but the panel doesn't render right for some reason, we can reach out to the AppEx visualizations team

@gizas
Copy link
Contributor Author

gizas commented Jun 21, 2024

If the data and the config is right but the panel doesn't render right for some reason, we can reach out to the AppEx visualizations team

@flash1293 the second is the case here . Indeed (as I am part of @elastic/obs-cloudnative-monitoring ) I see that all data is there. Also nothing changed on our side on this dashboard and also I have made a duplication of the visualisation and The weird thing is that the new duplicated Visualisation is working. So same config on a new visualisation is working.

So we need some help from AppEx visualizations team. Which team is this to tag?

@gizas
Copy link
Contributor Author

gizas commented Jun 21, 2024

FYI I have a cluster running and if someone is assigned I can join a zoom for live troubleshooting

@flash1293
Copy link
Contributor

@elastic/kibana-visualizations could you take a look at this together with @gizas ?

@smith smith added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Jun 21, 2024
@gizas
Copy link
Contributor Author

gizas commented Jun 25, 2024

@dej611 Testing in version 8.13.1 :

Same visualisation is working:

Screenshot 2024-06-25 at 2 46 29 PM

The filter with label Status includes the '*'

Screenshot 2024-06-25 at 2 47 28 PM

Screenshot 2024-06-25 at 2 47 14 PM

FYI the filter by box has not double quotes (it is runing:* and not "running":*)

Screenshot 2024-06-25 at 2 47 46 PM

@dej611
Copy link
Contributor

dej611 commented Jun 25, 2024

The issue seems to come from a changed behaviour in Elasticsearch.
The same query was working on 8.13.1 but returning 0 results in 8.14 .
I think this issue should be moved to the Elasticsearch repository.

@dej611
Copy link
Contributor

dej611 commented Jun 25, 2024

Opened an issue on the Elasticsearch side: elastic/elasticsearch#110133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

7 participants