From 45f8abcb640c60fd64aaa9ad28413c7623afe42c Mon Sep 17 00:00:00 2001 From: "roman.gaignault" Date: Mon, 13 Jan 2025 14:34:23 +0100 Subject: [PATCH] Add other feature flag collection --- lib/cjs/generated/telemetry.d.ts | 2 +- lib/esm/generated/telemetry.d.ts | 2 +- samples/telemetry-events/configuration.json | 2 +- schemas/telemetry/configuration-schema.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/cjs/generated/telemetry.d.ts b/lib/cjs/generated/telemetry.d.ts index f5fd3ce..3d5254d 100644 --- a/lib/cjs/generated/telemetry.d.ts +++ b/lib/cjs/generated/telemetry.d.ts @@ -384,7 +384,7 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & { /** * The list of events that include feature flags collection */ - collect_feature_flags_on?: ('view' | 'error' | 'vital')[]; + collect_feature_flags_on?: ('view' | 'error' | 'vital' | 'resource' | 'action' | 'long_task')[]; /** * Whether the anonymous users are tracked */ diff --git a/lib/esm/generated/telemetry.d.ts b/lib/esm/generated/telemetry.d.ts index f5fd3ce..3d5254d 100644 --- a/lib/esm/generated/telemetry.d.ts +++ b/lib/esm/generated/telemetry.d.ts @@ -384,7 +384,7 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & { /** * The list of events that include feature flags collection */ - collect_feature_flags_on?: ('view' | 'error' | 'vital')[]; + collect_feature_flags_on?: ('view' | 'error' | 'vital' | 'resource' | 'action' | 'long_task')[]; /** * Whether the anonymous users are tracked */ diff --git a/samples/telemetry-events/configuration.json b/samples/telemetry-events/configuration.json index 895ef09..143bcaf 100644 --- a/samples/telemetry-events/configuration.json +++ b/samples/telemetry-events/configuration.json @@ -67,7 +67,7 @@ "option_foo": "bar" } ], - "collect_feature_flags_on": ["error", "view", "vital"] + "collect_feature_flags_on": ["long_task", "resource", "vital"] } } } diff --git a/schemas/telemetry/configuration-schema.json b/schemas/telemetry/configuration-schema.json index 7e203ef..91cb7ae 100644 --- a/schemas/telemetry/configuration-schema.json +++ b/schemas/telemetry/configuration-schema.json @@ -418,7 +418,7 @@ "type": "array", "items": { "type": "string", - "enum": ["view", "error", "vital"] + "enum": ["view", "error", "vital", "resource", "action", "long_task"] }, "description": "The list of events that include feature flags collection" },