Skip to content

Commit

Permalink
export metric types from server
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Feb 26, 2020
1 parent f7a9b47 commit cf62a4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/core/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,14 @@ export {
StringValidationRegexString,
} from './ui_settings';

export {
OpsMetrics,
OpsOsMetrics,
OpsServerMetrics,
OpsProcessMetrics,
MetricsServiceSetup,
} from './metrics';

export { RecursiveReadonly } from '../utils';

export {
Expand Down
3 changes: 2 additions & 1 deletion src/core/server/metrics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export {
InternalMetricsServiceSetup,
MetricsServiceSetup,
MetricsServiceStart,
OpsMetrics,
} from './types';

export { OpsProcessMetrics, OpsServerMetrics, OpsOsMetrics } from './collectors';
export { MetricsService } from './metrics_service';
export { opsConfig } from './ops_config';

0 comments on commit cf62a4d

Please sign in to comment.