Commit 10fa80b
Don't sanitize away colons in metric names (#498)
The docs specify that colons (`:`) are allowed in metric names, but
`Collector.sanitizeMetricName` removes them.
Signed-off-by: ugniusb <[email protected]>1 parent 8b0c045 commit 10fa80b
File tree
2 files changed
+3
-2
lines changed- simpleclient/src
- main/java/io/prometheus/client
- test/java/io/prometheus/client
2 files changed
+3
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
| 186 | + | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
0 commit comments