Nexus plugin metrics
The Nexus OSA plugin registers the codescoring metric set in the standard Nexus metrics registry. The metrics are available through the standard Nexus metrics export. Values of failure_rate and slow_call_rate are percentages from 0 to 100.
Circuit Breaker state
State metrics have the value 1 only for the current Circuit Breaker state and 0 for all other states.
Current Circuit Breaker window
These values describe the current Circuit Breaker sliding window and can be reset when the state changes.
Cumulative Circuit Breaker events
These counters accumulate from the time the plugin instance starts.
HTTP connection pool
CodeScoring requests use one shared pool.
HTTP requests to CodeScoring
These counters describe the actual outcome of calls to the external service. HTTP 4xx responses are recorded as response errors but do not open the Circuit Breaker.
Scans and decisions
codescoring_scans_total counts operations that reach the shared analysis pipeline. Every such operation increments exactly one of the allowed, blocked, or skipped counters.
