Merge pull request #11326 from bergquist/more_traces

dataproxy: adds dashboardid and panelid as tags
This commit is contained in:
Carl Bergquist
2018-03-23 17:13:15 +01:00
committed by GitHub
4 changed files with 19 additions and 4 deletions

View File

@@ -50,6 +50,8 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
data: params.join('&'),
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'X-Dashboard-Id': options.dashboardId, // enables distributed tracing in ds_proxy
'X-Panel-Id': options.panelId, // enables distributed tracing in ds_proxy
},
};