MCPcopy Index your code
hub / github.com/prometheus/client_python / test_report_metrics_1

Method test_report_metrics_1

tests/test_asgi.py:132–133  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

130 self.assert_outputs(outputs, metric_name, help_text, increments, compressed=False)
131
132 def test_report_metrics_1(self):
133 self.validate_metrics("counter", "A counter", 2)
134
135 def test_report_metrics_2(self):
136 self.validate_metrics("counter", "Another counter", 3)

Callers

nothing calls this directly

Calls 1

validate_metricsMethod · 0.95

Tested by

no test coverage detected