Commit 9c3a8c3
committed
fix(om2): consistency between model and exposition
The model said that: A MetricFamily MUST have a name, HELP, TYPE, and UNIT
metadata. However the exposition does not require it to be exposed,
therefore for the sake of consistency we make this SHOULD.
Also having all caps conflated the model with the exposition.
Also this allows very simple exposers to not think about this.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>1 parent d6947bf commit 9c3a8c3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments