mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 00:25:46 -06:00
stackdriver: add custom User-Agent header
This commit is contained in:
parent
e05b86375b
commit
408d4bda95
@ -301,6 +301,7 @@ func (e *StackdriverExecutor) createRequest(ctx context.Context, dsInfo *models.
|
||||
}
|
||||
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
req.Header.Set("User-Agent", fmt.Sprintf("grafana-sd-plugin/%s", setting.BuildVersion))
|
||||
|
||||
// find plugin
|
||||
plugin, ok := plugins.DataSources[dsInfo.Type]
|
||||
|
Loading…
Reference in New Issue
Block a user