From ecf61d62353cb7e87a2aa2dcee0535a6730467ae Mon Sep 17 00:00:00 2001 From: Dario Gieselaar Date: Tue, 24 Mar 2020 09:35:12 +0100 Subject: [PATCH] Change defaults for error rate trigger --- .../public/components/shared/ErrorRateAlertTrigger/index.tsx | 4 ++-- x-pack/plugins/apm/server/plugin.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/x-pack/legacy/plugins/apm/public/components/shared/ErrorRateAlertTrigger/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/ErrorRateAlertTrigger/index.tsx index 57ca9b494bd6e..6d0a2b96092a1 100644 --- a/x-pack/legacy/plugins/apm/public/components/shared/ErrorRateAlertTrigger/index.tsx +++ b/x-pack/legacy/plugins/apm/public/components/shared/ErrorRateAlertTrigger/index.tsx @@ -27,8 +27,8 @@ export function ErrorRateAlertTrigger(props: Props) { const { setAlertParams, setAlertProperty, alertParams } = props; const defaults = { - threshold: 2, - windowSize: 5, + threshold: 25, + windowSize: 1, windowUnit: 'm' }; diff --git a/x-pack/plugins/apm/server/plugin.ts b/x-pack/plugins/apm/server/plugin.ts index 23cbcf9ffc906..e140340786e8a 100644 --- a/x-pack/plugins/apm/server/plugin.ts +++ b/x-pack/plugins/apm/server/plugin.ts @@ -24,7 +24,6 @@ import { tutorialProvider } from './tutorial'; import { CloudSetup } from '../../cloud/server'; import { getInternalSavedObjectsClient } from './lib/helpers/get_internal_saved_objects_client'; import { LicensingPluginSetup } from '../../licensing/public'; -import { createApmTelemetry } from './lib/apm_telemetry'; import { registerApmAlerts } from './lib/alerts/register_apm_alerts'; export interface LegacySetup {