Skip to content

Commit 55cc616

Browse files
add request header for SLO provenance (#1617) (#1626)
Co-authored-by: David Ellis <[email protected]>
1 parent c4449a2 commit 55cc616

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/provider/configure_clients.go

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ func createSLOClient(client *common.Client, providerConfig ProviderConfig) error
132132
sloConfig.Host = client.GrafanaAPIURLParsed.Host
133133
sloConfig.Scheme = client.GrafanaAPIURLParsed.Scheme
134134
sloConfig.DefaultHeader["Authorization"] = "Bearer " + providerConfig.Auth.ValueString()
135+
sloConfig.DefaultHeader["Grafana-Terraform-Provider"] = "true"
135136
sloConfig.HTTPClient = getRetryClient(providerConfig)
136137
client.SLOClient = slo.NewAPIClient(sloConfig)
137138
return nil

0 commit comments

Comments
 (0)