Skip to content

epic: KCP Monitoring & Metrics Exposure Enhancements #3745

@maradwan

Description

@maradwan

Demo Objective

The goal of this initiative is to explore and define how KCP can provide improved observability and monitoring capabilities. Specifically, we want to investigate exposing information about workspaces, APIs, RBACs, and syncagent behavior in a way that is accessible for cluster operators and can be scraped /metrics endpoint by systems such as Prometheus.

Scope

  • Workspace & tenancy metrics
  • API exposure & API-binding metrics
  • API-resource usage metrics
  • RBAC-related metrics
  • Syncagent metrics
  • Control-plane metrics
  • Multi-tenancy

Expected Outcomes

  • A documented proposal describing which metrics should be exposed.
  • Identification of metrics that require new controller instrumentation.
  • A recommended structure for a Prometheus-scrapable /metrics endpoint.
  • A prototype or design reference for standardized KCP metrics.
  • Documentation updates and examples (e.g., sample Grafana dashboards).

Demo Steps

  1. Show the current KCP /metrics endpoint and explain what metrics are available today.
  2. Describe the gap: KCP does not expose workspace, API, or RBAC information in metrics that Prometheus can scrape.
  3. Present examples of useful metrics operators might want (e.g., number of workspaces, active APIs, privilege counts).

Some ideas dashboards will look like from lovable.dev
Image
Image

Action Items

  • Scope of the current demo is necessary to fit in the prototype boundaries
  • Contribute to the final demo script and recording

Stories

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicRepresents a larger feature with multiple stories

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions