-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add data ui for envoyproxy Metricbeat Module (#53476)
- Loading branch information
Showing
3 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
src/legacy/core_plugins/kibana/public/home/tutorial_resources/logos/envoyproxy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions
60
src/legacy/core_plugins/kibana/server/tutorials/envoyproxy_metrics/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* | ||
* 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 envoyproxyMetricsSpecProvider(server, context) { | ||
const moduleName = 'envoyproxy'; | ||
return { | ||
id: 'envoyproxyMetrics', | ||
name: i18n.translate('kbn.server.tutorials.envoyproxyMetrics.nameTitle', { | ||
defaultMessage: 'Envoy Proxy metrics', | ||
}), | ||
category: TUTORIAL_CATEGORY.METRICS, | ||
shortDescription: i18n.translate('kbn.server.tutorials.envoyproxyMetrics.shortDescription', { | ||
defaultMessage: 'Fetch monitoring metrics from Envoy Proxy.', | ||
}), | ||
longDescription: i18n.translate('kbn.server.tutorials.envoyproxyMetrics.longDescription', { | ||
defaultMessage: | ||
'The `envoyproxy` Metricbeat module fetches monitoring metrics from Envoy Proxy. \ | ||
[Learn more]({learnMoreLink}).', | ||
values: { | ||
learnMoreLink: '{config.docs.beats.metricbeat}/metricbeat-module-envoyproxy.html', | ||
}, | ||
}), | ||
euiIconType: '/plugins/kibana/home/tutorial_resources/logos/envoyproxy.svg', | ||
artifacts: { | ||
dashboards: [], | ||
exportedFields: { | ||
documentationUrl: '{config.docs.beats.metricbeat}/exported-fields-envoyproxy.html', | ||
}, | ||
}, | ||
completionTimeMinutes: 10, | ||
// previewImagePath: '/plugins/kibana/home/tutorial_resources/envoyproxy_metrics/screenshot.png', | ||
onPrem: onPremInstructions(moduleName, null, null, null, context), | ||
elasticCloud: cloudInstructions(moduleName), | ||
onPremElasticCloud: onPremCloudInstructions(moduleName), | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters