kibana/x-pack/plugins/monitoring/public/register_feature.js
Nox911 bdf420627a Feature/translate monitoring access denied (#24985)
* Translate monitoring - access_denied

* Translate monitoring - lib, services

* Translate monitoring - common

* Fix issues

* Fix issue
2018-11-15 15:50:55 +03:00

28 lines
951 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((i18n) => {
return {
id: 'monitoring',
title: i18n('xpack.monitoring.monitoringTitle', {
defaultMessage: 'Monitoring'
}),
description: i18n('xpack.monitoring.monitoringDescription', {
defaultMessage: 'Track the real-time health and performance of your Elastic Stack.'
}),
icon: 'monitoringApp',
path: '/app/monitoring',
showOnHomePage: true,
category: FeatureCatalogueCategory.ADMIN
};
});
}