Skip to content

Commit

Permalink
Disable the experimental metrics_entities plugin by default. (#115460)
Browse files Browse the repository at this point in the history
This was default disabled in 7.15, but we needed a code change to maintain that (consistent) behavior.
  • Loading branch information
Robert Austin authored Oct 19, 2021
1 parent 340271f commit b402bea
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions x-pack/plugins/metrics_entities/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* 2.0.
*/

import { schema } from '@kbn/config-schema';

import { PluginInitializerContext } from '../../../../src/core/server';

import { MetricsEntitiesPlugin } from './plugin';
Expand All @@ -17,3 +19,10 @@ export const plugin = (initializerContext: PluginInitializerContext): MetricsEnt
};

export { MetricsEntitiesPluginSetup, MetricsEntitiesPluginStart } from './types';

export const config = {
schema: schema.object({
// This plugin is experimental and should be disabled by default.
enabled: schema.boolean({ defaultValue: false }),
}),
};

0 comments on commit b402bea

Please sign in to comment.