Opensearch dashboards.metricsservicesetup
Home > opensearch-dashboards > MetricsServiceSetup
MetricsServiceSetup interface
APIs to retrieves metrics gathered and exposed by the core platform.
Signature:
export interface MetricsServiceSetup
Properties
Property | Type | Description |
---|---|---|
collectionInterval | number | Interval metrics are collected in milliseconds |
getOpsMetrics$ | () => Observable<OpsMetrics> | Retrieve an observable emitting the OpsMetrics gathered. The observable will emit an initial value during core's start phase, and a new value every fixed interval of time, based on the opts.interval configuration property. |