Commit 4b5b827
authored
Add useragent to headers (#34)
This adds a configuration option for the RoundTripper that sets the useragent to `grafana-kost-estimator`. This helps downstream Prometheus instances understand where the queries that are coming from. If the logs are captured by something such as loki, you can easily filter our queries sent to Prometheus by the kost bot.1 parent 810da6e commit 4b5b827
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments