moxious / triage

testing triage actions for issues
0 stars 1 forks source link

Variables : Bug to bring the tree labels in variables, it is not working correlation between variables #365

Open tonypowa opened 4 days ago

tonypowa commented 4 days ago

What happened?

When I have more than one variable, the api does not correlate the variables that should be brought

In exemplo I call the API:

/resources/api/v1/label/instance/values?match%5B%5D=%7Bapplication%3D%22processor-main%22%7D&start=1716896968&end=1716900568

but the answer brings me without any filter

What did you expect to happen?

When I selected a Cluster variable, it brought me the instances correlated to the respective cluster

Did this work before?

Yes, in version v10.4.3 thats problem doesn't happen.

How do we reproduce it?

  1. Create two variables one dependent on the other, in the grafana 11.0.0 version, they will not work as they should

Is the bug inside a dashboard panel?

No.

Environment (with versions)?

Grafana: 11.0.0

OS: Windows 11

Browser: Chrome

Grafana platform?

Kubernetes

Datasource(s)?

prom/prometheus:v2.17.2

tonypowa commented 4 days ago

This issue is a test copy of an issue in another repo. Original issue: https://github.com/grafana/grafana/issues/#88381

moxious commented 4 days ago

Hi @tonypowa, it looks like you're experiencing an issue with variable correlation in dashboards on Grafana. This appears to be a backend issue related to how variables are handled within Grafana dashboards. The Backend platform project team would be the ones best suited to investigate and address this issue. I'll tag this for their attention.

/label ~"Backend platform project"

moxious commented 4 days ago

Elaboration:

Hello @tonypowa, and thank you for reporting the issue you've encountered with variable correlation in Grafana. In order to assist you in the most effective way, we would need a bit more information about your setup and the problem you are experiencing. Here are a few questions to help us better understand the situation:

Any additional context or configuration details you can provide will greatly help in diagnosing and addressing the issue. Please make sure to redact any sensitive information from your responses. Thank you for your collaboration!

moxious commented 4 days ago

Summary: The issue reported by tonypowa is about a bug in Grafana 11.0.0 where multiple variables are not correctly correlated when called via the API, which differs from the behavior in version 10.4.3 where it worked as expected.