Commit 92ef187
authored
feat: added version collector metric (#273)
This PR adds Prometheus build info metric
```
smartctl_exporter_build_info{branch="master",goarch="amd64",goos="linux",goversion="go1.24.0",revision="tarball",tags="unknown",version="0.13.0"} 1
```
Signed-off-by: Konstantin Shalygin <[email protected]>1 parent aec40bf commit 92ef187
1 file changed
+2
-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 | | |
| |||
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| 220 | + | |
219 | 221 | | |
220 | 222 | | |
221 | 223 | | |
| |||
0 commit comments