OpenMetrics test: Add hopefully more stable URIs to OpenMetrics spec info

This commit is contained in:
Florian Sesser 2021-09-15 11:39:32 +00:00
parent cbe5ea1115
commit 21c471ed81

View File

@ -103,8 +103,9 @@ class FakeStats():
class OpenMetrics(unittest.TestCase):
def test_spec_compliance(self):
"""
Does our output adhere to the OpenMetrics spec?
https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md
Does our output adhere to the `OpenMetrics <https://openmetrics.io/>` spec?
https://github.com/OpenObservability/OpenMetrics/
https://prometheus.io/docs/instrumenting/exposition_formats/
"""
req = mock.Mock()
stats = FakeStats()