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

Method test_report_metrics_1

tests/test_aiohttp.py:102–103  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

100 await self.assert_outputs(response, metric_name, help_text, increments)
101
102 async def test_report_metrics_1(self):
103 await self.validate_metrics("counter", "A counter", 2)
104
105 async def test_report_metrics_2(self):
106 await self.validate_metrics("counter", "Another counter", 3)

Callers

nothing calls this directly

Calls 1

validate_metricsMethod · 0.95

Tested by

no test coverage detected