Skip to content

### Histogram errors log at ERROR level every poll cycle #43

@KIvanow

Description

@KIvanow

Histogram errors log at ERROR level every poll cycle

Medium Severity

The getLatencyHistogram() call (Redis 7+ only via LATENCY HISTOGRAM) catches errors and logs at logger.error level, but unlike the getLatestLatencyEvents handler, it never calls runtimeCapabilityTracker.recordFailure. For Redis/Valkey instances pre-7.0 that support LATENCY LATEST but not LATENCY HISTOGRAM, this produces an error-level log message every 60 seconds indefinitely, since the capability is never disabled. The events handler correctly integrates with the tracker to eventually suppress polling after repeated failures, but the histogram handler lacks this same mechanism.

Additional Locations (1)

Fix in Cursor Fix in Web

Originally posted by @cursor[bot] in #42 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions