Simon Pasquier
b15dda9e07
util/promlint: simplify sorting function ( #6448 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-12-11 15:45:26 +01:00
RainbowMango
f9de671cdd
Fix promlint order algorithm not work issue.
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2019-12-11 14:56:28 +08:00
David Ellis
dbfd493265
More promlint rules ( #5515 )
...
* Extra promlint rules for Issue 5453
* broaden type name and camelCase checks
* Expand unit test to catch non base units
* Use only celsius as the base unit for temperature
* Remove candela and moles from the unit check
Signed-off-by: David Ellis <ellisda@gmail.com>
2019-09-05 10:48:31 -06:00
Matt Layher
1faf33acac
Add promlint check for histogram/summary reserved names ( #2626 )
2017-04-15 22:38:01 +01:00
Matt Layher
cc4198f421
Simplify promlint problems gathering, use protobuf accessors
2017-04-14 16:40:40 -04:00
Matt Layher
34a4813464
Initial promlint counter _total suffix check ( #2624 )
2017-04-14 22:09:54 +02:00
Matt Layher
254cb1ec29
Use untyped metrics for some promlint tests ( #2623 )
2017-04-14 19:38:57 +01:00
Matt Layher
283756c503
Initial commit of 'promtool check-metrics', promlint package ( #2605 )
2017-04-13 23:53:41 +02:00