Skip to main content

DEFAULT_COVERAGE_WHEN_HTTP2_UNAVAILABLE

Constant DEFAULT_COVERAGE_WHEN_HTTP2_UNAVAILABLE 

Source
pub const DEFAULT_COVERAGE_WHEN_HTTP2_UNAVAILABLE: f64 = 0.0;
Expand description

Default coverage score returned when no HTTP/2 observations are available.

Coverage is 0.0 because none of the HTTP/2 checks could be executed. Callers can compare against this constant to detect “missing instrumentation” rather than “low but real coverage”.