Add Kibana tutorial for IBM MQ metrics (#54900)

* Add Kibana tutorial for IBM MQ metrics

* Change IBM MQ logo

* Logo minified

* Add screenshot
This commit is contained in:
Marcin Tojek 2020-01-16 18:18:09 +01:00 committed by GitHub
parent 12ec08e8ab
commit 2c4d58bc7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 70 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 KiB

View file

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1000" height="400"><clipPath id="b"><path d="M0-1v83h55.937v236H1.523v82h194.65v-82h-55.938V82h54.414V-1zm554.02 1v82h55.938v236h-54.414v82h138.71V171.84l82.656 228.08 1.68.04 81.172-228.12V400h140.23v-82h-55.938V82h54.415V0h-156.33l-64.726 182.89L711.866 0z"/><path id="a" d="M222.23 0v82h55.937v130h215.31v-24.928s18.011-14.042 23.75-27.367l11.523-25.855s5.352-14.472 5.352-27.405l-2.305-25.855s-3.616-21.063-9.922-27.328l-22.266-25.895S471.276 0 433.75 0zm140.23 82h81.992v76H362.46z"/><use transform="matrix(1 0 0 -1 0 400)" xlink:href="#a"/></clipPath><path fill="none" stroke="#1f70c1" stroke-width="27.37" d="M0 13.683h1030v53.232H0m0 53.232h975v53.242H0v53.222h975v53.222H0m0 53.242h1030v53.242H0" clip-path="url(#b)"/></svg>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><defs><clipPath id="clip-path"><path d="M10.55 16h13a1.5 1.5 0 010 3h-13a1.5 1.5 0 010-3z" clip-rule="evenodd" fill="none"/></clipPath><style>.cls-5{stroke:#7863ec;stroke-miterlimit:10;fill:#e9e8fe}</style></defs><path d="M10.59 8.51h11a1.5 1.5 0 110 3h-11a1.5 1.5 0 010-3z" stroke="#7863ec" stroke-miterlimit="10" fill="#fff"/><g clip-path="url(#clip-path)"><path fill="#e9e8ff" d="M4.05 11h26v13h-26z"/></g><path class="cls-5" d="M9.51 14.52h13a1.5 1.5 0 110 3h-13a1.5 1.5 0 010-3zM10.6 20.51h11a1.5 1.5 0 010 3h-11a1.5 1.5 0 010-3z"/><path d="M2 4.55h1.73a1.73 1.73 0 011.72 1.74V24a3.52 3.52 0 003.5 3.53H23A3.52 3.52 0 0026.51 24V6.31a1.75 1.75 0 011.74-1.76H30" stroke="#7863ec" stroke-miterlimit="10" fill="none"/></svg>

Before

Width:  |  Height:  |  Size: 823 B

After

Width:  |  Height:  |  Size: 820 B

View file

@ -0,0 +1,67 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import { i18n } from '@kbn/i18n';
import { TUTORIAL_CATEGORY } from '../../../common/tutorials/tutorial_category';
import {
onPremInstructions,
cloudInstructions,
onPremCloudInstructions,
} from '../../../common/tutorials/metricbeat_instructions';
export function ibmmqMetricsSpecProvider(context) {
const moduleName = 'ibmmq';
return {
id: 'ibmmqMetrics',
name: i18n.translate('kbn.server.tutorials.ibmmqMetrics.nameTitle', {
defaultMessage: 'IBM MQ metrics',
}),
category: TUTORIAL_CATEGORY.METRICS,
shortDescription: i18n.translate('kbn.server.tutorials.ibmmqMetrics.shortDescription', {
defaultMessage: 'Fetch monitoring metrics from IBM MQ instances.',
}),
longDescription: i18n.translate('kbn.server.tutorials.ibmmqMetrics.longDescription', {
defaultMessage:
'The `ibmmq` Metricbeat module fetches monitoring metrics from IBM MQ instances \
[Learn more]({learnMoreLink}).',
values: {
learnMoreLink: '{config.docs.beats.metricbeat}/metricbeat-module-ibmmq.html',
},
}),
euiIconType: '/plugins/kibana/home/tutorial_resources/logos/ibmmq.svg',
isBeta: true,
artifacts: {
application: {
label: i18n.translate('kbn.server.tutorials.ibmmqMetrics.artifacts.application.label', {
defaultMessage: 'Discover',
}),
path: '/app/kibana#/discover',
},
dashboards: [],
exportedFields: {
documentationUrl: '{config.docs.beats.metricbeat}/exported-fields-ibmmq.html',
},
},
completionTimeMinutes: 10,
previewImagePath: '/plugins/kibana/home/tutorial_resources/ibmmq_metrics/screenshot.png',
onPrem: onPremInstructions(moduleName, null, null, null, context),
elasticCloud: cloudInstructions(moduleName),
onPremElasticCloud: onPremCloudInstructions(moduleName),
};
}

View file

@ -84,6 +84,7 @@ import { activemqLogsSpecProvider } from './activemq_logs';
import { activemqMetricsSpecProvider } from './activemq_metrics';
import { azureMetricsSpecProvider } from './azure_metrics';
import { ibmmqLogsSpecProvider } from './ibmmq_logs';
import { ibmmqMetricsSpecProvider } from './ibmmq_metrics';
import { stanMetricsSpecProvider } from './stan_metrics';
import { envoyproxyMetricsSpecProvider } from './envoyproxy_metrics';
@ -158,6 +159,7 @@ export function registerTutorials(server) {
server.newPlatform.setup.plugins.home.tutorials.registerTutorial(activemqMetricsSpecProvider);
server.newPlatform.setup.plugins.home.tutorials.registerTutorial(azureMetricsSpecProvider);
server.newPlatform.setup.plugins.home.tutorials.registerTutorial(ibmmqLogsSpecProvider);
server.newPlatform.setup.plugins.home.tutorials.registerTutorial(ibmmqMetricsSpecProvider);
server.newPlatform.setup.plugins.home.tutorials.registerTutorial(stanMetricsSpecProvider);
server.newPlatform.setup.plugins.home.tutorials.registerTutorial(envoyproxyMetricsSpecProvider);
}