Commit bdb9cda
authored
Use promauto to register stats in bdns (#8480)
This was accidentally deleted along with the idMismatchCounter in #8445.
This is an alternative approach to #8474, and perhaps a reasonable
default pattern for all stats registration in Boulder.
For more on promauto, see its documentation:
https://pkg.go.dev/github.com/prometheus/[email protected]/prometheus/promauto1 parent 8a445fa commit bdb9cda
File tree
3 files changed
+381
-3
lines changed- bdns
- vendor
- github.com/prometheus/client_golang/prometheus/promauto
3 files changed
+381
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
0 commit comments