corvix.observability.metrics

Prometheus metrics for Corvix.

Defines the counters and histograms exported on the /metrics endpoint and recorded throughout the poll cycle, GitHub API client, and web request path. render_latest() produces the text exposition payload served to scrapers.

Attributes

Functions

render_latest(→ tuple[bytes, str])

Return the Prometheus exposition payload and its content type.

Module Contents

corvix.observability.metrics.poll_cycles_total[source][source]
corvix.observability.metrics.poll_cycle_duration_seconds[source][source]
corvix.observability.metrics.notifications_fetched_total[source][source]
corvix.observability.metrics.actions_taken_total[source][source]
corvix.observability.metrics.poll_cycle_errors_total[source][source]
corvix.observability.metrics.github_api_requests_total[source][source]
corvix.observability.metrics.github_api_request_duration_seconds[source][source]
corvix.observability.metrics.http_requests_total[source][source]
corvix.observability.metrics.http_request_duration_seconds[source][source]
corvix.observability.metrics.render_latest() tuple[bytes, str][source][source]

Return the Prometheus exposition payload and its content type.