Skip to content

Total Global services (& Service Export) metrics are confusing #40771

@MrFreezeex

Description

@MrFreezeex

The following metrics:

  • clustermesh_global_services
  • clustermesh_global_service_exports

Are supposed to export the "total number of global service in the cluster mesh", in fact this is not what they are doing as they only represent the number of remote service and service exports which could be different (for instance some global service which only exist in the local cluster).

This is done in the Global caches here which only get info from remote clusters:

It am not sure if we should actually fix that or simply rename the metrics to clustermesh_remote_global_services and clustermesh_global_remote_service_exports (or similar) though 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agentCilium agent related.area/clustermeshRelates to multi-cluster routing functionality in Cilium.area/metricsImpacts statistics / metrics gathering, eg via Prometheus.kind/bugThis is a bug in the Cilium logic.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions