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

Method test_report_metrics_2

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

Source from the content-addressed store, hash-verified

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)
107
108 async def test_report_metrics_3(self):
109 await self.validate_metrics("requests", "Number of requests", 5)

Callers

nothing calls this directly

Calls 1

validate_metricsMethod · 0.95

Tested by

no test coverage detected