Skip to content

Commit 33b7dde

Browse files
author
ALENA NABOKA
committed
Merge branch 'main' into e2e/bugfix/RI-3501-fix_ft_plugins
2 parents d0b6501 + 6b8ce15 commit 33b7dde

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1538
-635
lines changed

redisinsight/api/src/__mocks__/analytics.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const mockCliAnalyticsService = () => ({
1919
});
2020

2121
export const mockWorkbenchAnalyticsService = () => ({
22+
sendCommandExecutedEvents: jest.fn(),
2223
sendCommandExecutedEvent: jest.fn(),
2324
sendCommandDeletedEvent: jest.fn(),
2425
});

redisinsight/api/src/constants/telemetry-events.ts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ export enum TelemetryEvents {
2525
SentinelMasterGroupsDiscoveryFailed = 'CONFIG_DATABASES_REDIS_SENTINEL_AUTODISCOVERY_FAILED',
2626

2727
// Events for cli tool
28-
ClientCreated = 'CLIENT_CREATED',
29-
ClientCreationFailed = 'CLIENT_CREATION_FAILED',
30-
ClientConnectionError = 'CLIENT_CONNECTION_ERROR',
31-
ClientDeleted = 'CLIENT_DELETED',
32-
ClientRecreated = 'CLIENT_RECREATED',
33-
CommandExecuted = 'COMMAND_EXECUTED',
34-
ClusterNodeCommandExecuted = 'CLUSTER_COMMAND_EXECUTED',
35-
CommandErrorReceived = 'COMMAND_ERROR_RECEIVED',
28+
CliClientCreated = 'CLI_CLIENT_CREATED',
29+
CliClientCreationFailed = 'CLI_CLIENT_CREATION_FAILED',
30+
CliClientConnectionError = 'CLI_CLIENT_CONNECTION_ERROR',
31+
CliClientDeleted = 'CLI_CLIENT_DELETED',
32+
CliClientRecreated = 'CLI_CLIENT_RECREATED',
33+
CliCommandExecuted = 'CLI_COMMAND_EXECUTED',
34+
CliClusterNodeCommandExecuted = 'CLI_CLUSTER_COMMAND_EXECUTED',
35+
CliCommandErrorReceived = 'CLI_COMMAND_ERROR_RECEIVED',
3636

3737
// Events for workbench tool
3838
WorkbenchCommandExecuted = 'WORKBENCH_COMMAND_EXECUTED',
@@ -56,7 +56,8 @@ export enum TelemetryEvents {
5656
BulkActionsStarted = 'BULK_ACTIONS_STARTED',
5757
BulkActionsStopped = 'BULK_ACTIONS_STOPPED',
5858
}
59+
5960
export enum CommandType {
6061
Core = 'core',
6162
Module = 'module',
62-
}
63+
}

0 commit comments

Comments
 (0)