Skip to content

Commit

Permalink
Add vSphere Metricbeat module tutorial (elastic#20572)
Browse files Browse the repository at this point in the history
* Add vSphere Metricbeat module tutorial
  • Loading branch information
exekias committed Jul 20, 2018
1 parent 13f67f1 commit 89799ca
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core_plugins/kibana/server/tutorials/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ import { kafkaMetricsSpecProvider } from './kafka_metrics';
import { kibanaMetricsSpecProvider } from './kibana_metrics';
import { memcachedMetricsSpecProvider } from './memcached_metrics';
import { muninMetricsSpecProvider } from './munin_metrics';
import { vSphereMetricsSpecProvider } from './vsphere_metrics';
import { windowsMetricsSpecProvider } from './windows_metrics';

export function registerTutorials(server) {
Expand Down Expand Up @@ -84,5 +85,6 @@ export function registerTutorials(server) {
server.registerTutorial(kibanaMetricsSpecProvider);
server.registerTutorial(memcachedMetricsSpecProvider);
server.registerTutorial(muninMetricsSpecProvider);
server.registerTutorial(vSphereMetricsSpecProvider);
server.registerTutorial(windowsMetricsSpecProvider);
}
49 changes: 49 additions & 0 deletions src/core_plugins/kibana/server/tutorials/vsphere_metrics/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*
* 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 { TUTORIAL_CATEGORY } from '../../../common/tutorials/tutorial_category';
import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from '../../../common/tutorials/metricbeat_instructions';

export function vSphereMetricsSpecProvider() {
const moduleName = 'vsphere';
return {
id: 'vsphereMetrics',
name: 'vSphere metrics',
category: TUTORIAL_CATEGORY.METRICS,
shortDescription: 'Fetch internal metrics from vSphere.',
longDescription: 'The `vsphere` Metricbeat module fetches internal metrics from a vSphere cluster.' +
' [Learn more]({config.docs.beats.metricbeat}/metricbeat-module-vsphere.html).',
//euiIconType: 'logoVSphere',
artifacts: {
application: {
label: 'Discover',
path: '/app/kibana#/discover'
},
dashboards: [],
exportedFields: {
documentationUrl: '{config.docs.beats.metricbeat}/exported-fields-vsphere.html'
}
},
completionTimeMinutes: 10,
//previewImagePath: '/plugins/kibana/home/tutorial_resources/vsphere_metrics/screenshot.png',
onPrem: onPremInstructions(moduleName),
elasticCloud: cloudInstructions(moduleName),
onPremElasticCloud: onPremCloudInstructions(moduleName)
};
}

0 comments on commit 89799ca

Please sign in to comment.