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

Unable to split a metric by dimension in Grafana v9.3.1 #60980

Closed
Cstack-Krish opened this issue Jan 4, 2023 · 6 comments
Closed

Unable to split a metric by dimension in Grafana v9.3.1 #60980

Cstack-Krish opened this issue Jan 4, 2023 · 6 comments
Labels
datasource/Azure Azure Monitor Datasource effort/none needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc

Comments

@Cstack-Krish
Copy link

What happened:

  1. Installed the kube-prometheus-stack.
  2. Port forwarded grafana and accessed the UI.
  3. Added Azure Monitor Datasource.
  4. Selected a metric of an App Service, the graph was projected as expected.
  5. I wanted to split the metric by dimension (Instance).
  6. But upon splitting the metric by Instance grafana threw a 400 Bad request.
  7. When the split by dimension is removed the metric gets projected.

image

image

What you expected to happen:

image

Environment:

  • Grafana version: v9.3.1
  • Data source type & version: Azure Monitor
  • OS Grafana is installed on: Linux
  • User OS & Browser: Windows, Google Chrome
  • Grafana plugins: None
@usmangt
Copy link
Contributor

usmangt commented Jan 5, 2023

Hi @Cstack-Krish,

Thanks for opening this issue.

Could you please provide us with the backend logs (the default location in Linux is /var/log/grafana/grafana.log) so that we can have more information about the error message?

@usmangt usmangt added needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc datasource/Azure Azure Monitor Datasource labels Jan 5, 2023
@Cstack-Krish
Copy link
Author

Hi @usmangt
Thank you for the reply, unfortunately, we couldn't find the backend logs at /var/log/grafana as the folder is empty. We verified that the log's path set in the configuration is var/log/grafana itself.

@jad-gha
Copy link

jad-gha commented Jan 9, 2023

Hello,
Same issue :
Grafana v9.3.0
image
image
Those filters corresponds to filters in azure metrics.

image

@andresmgot
Copy link
Contributor

@Cstack-Krish @jad-gha this was fixed in #59700 and is available in 9.3.2, can you check if upgrading solves your issue?

@jad-gha
Copy link

jad-gha commented Jan 10, 2023

@andresmgot v9.3.2 does fix the issue. Thank you

@andresmgot
Copy link
Contributor

Thank you for confirming 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasource/Azure Azure Monitor Datasource effort/none needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc
Projects
Archived in project
Development

No branches or pull requests

5 participants