mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
25 lines
821 B
TypeScript
25 lines
821 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { PluginInitializerContext } from '@kbn/core/server';
|
|
|
|
export type {
|
|
MetricsDataPluginSetup,
|
|
GetMetricIndicesOptions,
|
|
UpdateMetricIndicesOptions,
|
|
DefaultMetricIndicesHandler,
|
|
} from './types';
|
|
|
|
export { metricsDataSourceSavedObjectName } from './saved_objects/metrics_data_source';
|
|
|
|
export { MetricsDataClient } from './client';
|
|
export { MetricsDataClientMock } from './client_mock';
|
|
|
|
export async function plugin(context: PluginInitializerContext) {
|
|
const { MetricsDataPlugin } = await import('./plugin');
|
|
return new MetricsDataPlugin(context);
|
|
}
|