24 lines
817 B
JavaScript
24 lines
817 B
JavaScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
|
|
|
|
import chrome from 'ui/chrome';
|
|
import { FeatureCatalogueRegistryProvider, FeatureCatalogueCategory } from 'ui/registry/feature_catalogue';
|
|
|
|
if (chrome.getInjected('monitoringUiEnabled')) {
|
|
FeatureCatalogueRegistryProvider.register(() => {
|
|
return {
|
|
id: 'monitoring',
|
|
title: 'Monitoring',
|
|
description: 'Track the real-time health and performance of your Elastic Stack.',
|
|
icon: '/plugins/kibana/assets/app_monitoring.svg',
|
|
path: '/app/monitoring',
|
|
showOnHomePage: true,
|
|
category: FeatureCatalogueCategory.ADMIN
|
|
};
|
|
});
|
|
}
|