Skip to main content

Metrics

A Metric defines a governed business or operational measurement, including its calculation, unit, granularity, ownership, and relationships to data assets and other metrics. A metric documents a definition. It isn’t a key performance indicator (KPI), and KPIs can’t be linked to metrics. The entity schema follows the OpenMetadata Standard.

Global Namespace

Metrics do not belong to a service or another parent entity. Metric names are globally unique, so a metric’s fully qualified name is the same as its name:
For example: customer_retention_rate. Use the assets, domains, and dataProducts relationships to connect a metric to the data and governance context it describes.

SDK References

  • Python: metadata.sdk.entities.Metrics
  • Java: org.openmetadata.sdk.fluent.Metrics or OpenMetadataClient.metrics()

API Endpoints