mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Add alerting_test_data package and a script to create rules for manual testing (#168493)
Closes https://github.com/elastic/actionable-observability/issues/140 ## Summary Add alerting_test_data package to create custom threshold and APM rules for manual testing. More information about the usage: https://github.com/elastic/actionable-observability/pull/156 --------- Co-authored-by: almudenasanz <almudena.sanz@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
08a07ce842
commit
6d88fb5f54
27 changed files with 790 additions and 0 deletions
16
scripts/create_observability_rules.js
Normal file
16
scripts/create_observability_rules.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
require('@babel/register')({
|
||||
extensions: ['.ts', '.js'],
|
||||
presets: [['@babel/preset-env', { targets: { node: 'current' } }], '@babel/preset-typescript'],
|
||||
});
|
||||
|
||||
var run = require('@kbn/observability-alerting-test-data').run;
|
||||
|
||||
run();
|
Loading…
Add table
Add a link
Reference in a new issue