Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

200 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

REUSE status

Metrics Operator

A Kubernetes operator that collects counts and attributes of cluster resources and exports them as OpenTelemetry gauge metrics to configurable data sinks (e.g., Dynatrace).

Key Features

  • Flexible targeting: Monitor any Kubernetes or Crossplane resource by GroupVersionKind
  • Federation: Aggregate metrics across multiple clusters
  • Rich dimensions: Extract labels, annotations, conditions, or any field as metric attributes
  • Pluggable sinks: Send to any OTLP-compatible endpoint via DataSink CRDs
  • Standardized: Full OpenTelemetry protocol support
  • ServiceMonitor integration: Create ServiceMonitor resources for Prometheus scraping

Documentation

Topic Description
Installation Helm deployment and post-install setup
Architecture Resource types, flows, and data model
Usage Metric, ManagedMetric, FederatedMetric, FederatedManagedMetric examples
Dimensions Configuration Projections, valueFrom, cardinality
Metrics Export DataSink (OTLP push), ServiceMonitor (Prometheus scrape)
Remote Cluster Access RemoteClusterAccess and FederatedClusterAccess
RBAC Permissions required for monitored resources
Development Local development with kind

Quickstart

Via Open Control Plane (name must match your ControlPlane resource):

apiVersion: metrics.services.open-control-plane.io/v1alpha1
kind: MetricsOperator
metadata:
  name: my-mcp
  namespace: <your-ocp-namespace>
spec:
  version: "v0.13.0"    # pick latest version from GitHub Releases

OR Via Helm:

helm upgrade --install metrics-operator oci://ghcr.io/openmcp-project/charts/metrics-operator \
  --namespace metrics-operator-system \
  --create-namespace \
  --version=<version>

See Installation for full setup instructions including DataSink configuration.

Support, Feedback, Contributing

Feature requests, bug reports, and contributions are welcome via GitHub issues. See our Contribution Guidelines.

Security / Disclosure

Report security issues following our security policy. Do not open public GitHub issues for security problems.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright OpenControlPlane contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.


BMWK-EU funding logo

OpenControlPlane is part of ApeiroRA, an EU Important Project of Common European Interest (IPCEI-CIS).

Copyright Linux Foundation Europe. For web site terms of use, trademark policy and other project policies please see https://linuxfoundation.eu/en/policies.

About

Kubernetes operator for multi-cluster metrics collection and analysis

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages