[v11.3.x] Azure: Fix duplicated traces in multi-resource trace query (#95247)
Azure: Fix duplicated traces in multi-resource trace query (#95156)
Use first resource as base resource for query
(cherry picked from commit 8bb7475e4f)
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
This commit is contained in:
co-authored by
Andreas Christou
parent
f8cb0ccb71
commit
c76d97bb13
@@ -497,7 +497,7 @@ func (e *AzureLogAnalyticsDatasource) createRequest(ctx context.Context, queryUR
|
||||
}
|
||||
|
||||
if query.AppInsightsQuery {
|
||||
body["applications"] = query.Resources
|
||||
body["applications"] = []string{query.Resources[0]}
|
||||
}
|
||||
|
||||
jsonValue, err := json.Marshal(body)
|
||||
|
||||
Reference in New Issue
Block a user