|
|
@ -187,14 +187,16 @@ class GraphCtrl extends MetricsPanelCtrl { |
|
|
|
this.render(this.seriesList); |
|
|
|
this.render(this.seriesList); |
|
|
|
this.$scope.$digest(); |
|
|
|
this.$scope.$digest(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
appEvents.on('ds-request-response', data => { |
|
|
|
appEvents.on('ds-request-response', data => { |
|
|
|
let requestConfig = data.config; |
|
|
|
let requestConfig = data.config; |
|
|
|
|
|
|
|
|
|
|
|
this.datasourceRequest = { |
|
|
|
this.datasourceRequest = { |
|
|
|
url: requestConfig.url, |
|
|
|
url: requestConfig.url, |
|
|
|
type: requestConfig.inspect.type, |
|
|
|
|
|
|
|
method: requestConfig.method, |
|
|
|
method: requestConfig.method, |
|
|
|
data: requestConfig.data, |
|
|
|
data: requestConfig.data, |
|
|
|
params: requestConfig.params |
|
|
|
params: requestConfig.params, |
|
|
|
|
|
|
|
type: undefined |
|
|
|
}; |
|
|
|
}; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|