Skip to content

Set track_remaining even when no MeshCircuitBreaker matched for the proxy #14770

@lobkovilya

Description

@lobkovilya

Motivation

Currently, the track_remaining metric is set when a MeshCircuitBreaker is matched for the proxy. However, it should also be set even when there is no MeshCircuitBreaker matched for the proxy. This will ensure consistent tracking of remaining connections and improve observability.

Implementation

  • Update the logic to set track_remaining regardless of whether a MeshCircuitBreaker is matched for the proxy.
  • Add tests to verify the behavior when no MeshCircuitBreaker is present.

Related

Follow-up to #12206

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/improvementImprovement on an existing featuretriage/acceptedThe issue was reviewed and is complete enough to start working on it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions