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

Method test_report_metrics_4

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

Source from the content-addressed store, hash-verified

139 self.validate_metrics("requests", "Number of requests", 5)
140
141 def test_report_metrics_4(self):
142 self.validate_metrics("failed_requests", "Number of failed requests", 7)
143
144 def test_gzip(self):
145 # Increment a metric.

Callers

nothing calls this directly

Calls 1

validate_metricsMethod · 0.95

Tested by

no test coverage detected