Open tonypowa opened 4 months ago
This issue is a test copy of an issue in another repo. Original issue: https://github.com/grafana/grafana/issues/#82410
Summary: The issue on Grafana reported by tonypowa describes a discrepancy when downloading CSV data from a timeseries dashboard panel; the CSV contains historical data for a single pod, rather than the latest data for all pods as displayed in the dashboard legend.
Elaboration:
Hello @tonypowa, thank you for reporting the issue you’ve encountered with the CSV download functionality within dashboards. In order to assist you effectively and address the issue, we need a little more information. Could you please provide the following details? It'll help us in diagnosing the problem accurately:
Lastly, if you can provide detailed reproduction steps or even a minimal dashboard JSON that demonstrates the issue, that would be incredibly useful.
Once we have this information, we'll be better equipped to figure out the cause and find a potential solution. Thank you for your collaboration!
Hello @tonypowa, it sounds like this issue pertains to the CSV export functionality of Grafana dashboards when visualizing Prometheus data. Based on that, this issue seems to be best associated with the Dashboards Sharing squad project since it deals directly with how the dashboard data is exported and shared. The team responsible for this project can investigate how the CSV export feature processes and outputs the data compared to what's displayed in the dashboard panel.
/cc @dashboard-sharing-squad
What happened?
with a timeseries graph against prometheus: ie avg by (pod)(kube_pod_container_resource_requests{resource="memory"})
it shows a line graph for each pod over last 24 hours
and it shows a legend with 2 columns (pod and memory in bytes)
when clicking download CSV on the results it seems to only download historical per 5 min entries for just 1 pod
What did you expect to happen?
would like to download exactly what the 2 column legent under the panel shows. ie all distinct pod names and last byte value for each one
Did this work before?
no
How do we reproduce it?
create timeseries panel that runs an expr against prometheus
click download csv
Is the bug inside a dashboard panel?
No response
Environment (with versions)?
Grafana: 10.2.1
Grafana platform?
Kubernetes
Datasource(s)?
prometheus