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

When querying metrics using Azure Monitor Query, specifics filters have to be used instead of getting data from all dimensions #20329

Closed
esttenorio opened this issue Aug 18, 2021 · 2 comments · Fixed by #20869
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved. Monitor Monitor, Monitor Ingestion, Monitor Query

Comments

@esttenorio
Copy link

esttenorio commented Aug 18, 2021

Whenever querying metrics with Azure Monitor Query, the metric query must contain filters with specific dimensions to get accurate information.

When using the Portal there is no need of doing filtering 1 by 1, since the user can either apply a filter or use the split feature or both to see the multiple results from different dimensions.

image

Supporting splitting by <dimension_name> would make things easier since for example, in my team's current project the dimension is called process_id and there are more than 25 different process ids that I should know the name beforehand to query them 1 by 1 with multiple filters.

Adding the split feature would make things easier:

  • the user wouldn't need to know the dimension names beforehand
  • one query would replace one query per dimension name
@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Aug 18, 2021
@xiangyan99 xiangyan99 added Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved. Monitor - Query labels Aug 19, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Aug 19, 2021
@xiangyan99 xiangyan99 added this to the Backlog milestone Aug 19, 2021
@xiangyan99
Copy link
Member

Thanks for the feedback, we’ll investigate asap.

@rakshith91
Copy link
Contributor

Hi @esttenorio The split feature can be achieved in the filter by setting the value to * - for example, like "City eq '*'"

Let me know if you have any questions I'm keeping this issue open to update documentation/ sample.

@rakshith91 rakshith91 modified the milestones: Backlog, [2021] October Sep 13, 2021
@rakshith91 rakshith91 added needs-author-feedback Workflow: More information is needed from author to address the issue. and removed needs-author-feedback Workflow: More information is needed from author to address the issue. labels Sep 24, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
@scottaddie scottaddie added Monitor Monitor, Monitor Ingestion, Monitor Query and removed Monitor - Query labels Sep 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved. Monitor Monitor, Monitor Ingestion, Monitor Query
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants