Skip to content

038: quic: twins clone the h2 cluster's alt_stat_name — per-source / h3-vs-h2 upstream stats are indistinguishable #960

Closed

Description

@bpalermo

Found while writing the east-west QUIC e2e (038 PR 8), on #956.

proxy.QUICClusterFrom is a proto.Clone of the h2 service cluster, so every per-source quic:<fqdn>@<ns>/<sa> twin keeps the h2 cluster's alt_stat_name (<ns>/<svc>). All twins and the h2 cluster therefore report under one cluster.<ns>/<svc>.* stat tree: upstream_rq_total, upstream_cx_*, outlier/health counters and everything Prometheus scrapes are summed across h2 + every source's twin. Only upstream_cx_http3_total shows that any QUIC happened, and nothing attributes it to a source.

Consequences:

Options: give each twin its own alt_stat_name (<ns>/<svc>@<ns>/<sa> — cardinality = local SAs × listed services, already the cluster budget the agent logs) or keep the shared tree and add a source_sa-tagged stats_tag regex on the @ suffix. Either way the aether_stats / dashboards need the name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to 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