Interface MetricDataProvider

Interface that all metric data providers must implement.

A MetricDataProvider is used to fetch metric data from a particular source, e.g. a CSV file or API endpoint.

The MetricCatalog uses MetricDataProviders to fetch metric data based on the MetricDataReference in the Metric.

Hierarchy

  • MetricDataProvider

Implemented by

Properties

Methods

Properties

id: string

The unique id of this MetricDataProvider (e.g. "main-metrics-csv" or "city-data-api"). This ID can be used from a MetricDataReference to indicate what provider should be used to fetch the data for a metric.

Methods

Generated using TypeDoc