From 7ef592920108fd2e46c3f1f2ec9419b058843bee Mon Sep 17 00:00:00 2001 From: Ahmad Bamieh Date: Thu, 17 Jun 2021 12:49:09 +0300 Subject: [PATCH] schema update --- .../server/collectors/event_loop_delays/saved_objects.ts | 1 - .../server/collectors/event_loop_delays/schema.ts | 7 +++++++ src/plugins/telemetry/schema/oss_plugins.json | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.ts b/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.ts index 96d6a3adb5b45..31477bb955e39 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/saved_objects.ts @@ -10,7 +10,6 @@ import type { SavedObjectAttributes, SavedObjectsServiceSetup, ISavedObjectsRepository, - SavedObject, } from 'kibana/server'; import moment from 'moment'; import type { IntervalHistogram } from './event_loop_delays'; diff --git a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/schema.ts b/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/schema.ts index 2956255dc1b01..43ecdd8da122c 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/schema.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/event_loop_delays/schema.ts @@ -11,6 +11,7 @@ import { MakeSchemaFrom } from 'src/plugins/usage_collection/server'; export interface EventLoopDelaysUsageReport { daily: Array<{ processId: number; + timestamp: string; min: number; max: number; mean: number; @@ -35,6 +36,12 @@ export const eventLoopDelaysUsageSchema: MakeSchemaFrom