Commit 603e5fe0 by Carl Bergquist Committed by GitHub

Merge pull request #5469 from stuartnelson3/create-unique-prometheus-req-id

[prometheus] Use `panelId` and `target.refId` for requestId
parents 5676a35d 0590c515
......@@ -77,7 +77,7 @@ export function PrometheusDatasource(instanceSettings, $q, backendSrv, templateS
var query: any = {};
query.expr = templateSrv.replace(target.expr, options.scopedVars, self.interpolateQueryExpr);
query.requestId = target.expr;
query.requestId = options.panelId + target.refId;
var interval = target.interval || options.interval;
var intervalFactor = target.intervalFactor || 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment