Commit 18685ee
authored
Export prometheus client_golang's Go build_info metric (#8482)
We have our own version metric already, but supporting client_golang's
build_info means we can be more compatible with other Golang programs we
run which export this metric.
We can consider deprecating and removing our own metric in the future,
but we have dashboards and alerts using it, so there's no rush to do
that.1 parent bdb9cda commit 18685ee
File tree
4 files changed
+184
-0
lines changed- cmd
- vendor
- github.com/prometheus
- client_golang/prometheus/collectors/version
- common/version
4 files changed
+184
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| 275 | + | |
274 | 276 | | |
275 | 277 | | |
276 | 278 | | |
| |||
Lines changed: 47 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
| 259 | + | |
258 | 260 | | |
259 | 261 | | |
260 | 262 | | |
| |||
0 commit comments