We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c47f1d5 + a2ed691 commit e26d152Copy full SHA for e26d152
receiver/azuremonitorreceiver/scraper_batch.go
@@ -503,7 +503,7 @@ func newQueryResourcesOptions(
503
splitByDimensions bool,
504
) azmetrics.QueryResourcesOptions {
505
var filter *string
506
- if splitByDimensions {
+ if splitByDimensions && len(dimensionsStr) > 0 {
507
filter = newMetricsQueryFilterFromDimensions(strings.Split(dimensionsStr, ","))
508
}
509
return azmetrics.QueryResourcesOptions{
0 commit comments