Skip to content

Commit 0bec909

Browse files
committed
Add new fields telemetry event
1 parent 75a0852 commit 0bec909

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/tracking-plan.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,10 @@ This event is fired when user successfully connects to a new server/cluster.
854854
- The OS family of the connected server.
855855
- **topology_type** (required): `string`
856856
- The type of connected topology.
857+
- **active_connections_count** (required): `number`
858+
- The count of active connections.
859+
- **inactive_connections_count** (required): `number`
860+
- The count of inactive connections.
857861
- **auth_type** (optional): `string | undefined`
858862
- Desktop only. The authentication type used in the connection.
859863
- **tunnel** (optional): `string | undefined`

packages/compass-telemetry/src/telemetry-events.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,16 @@ type NewConnectionEvent = ConnectionScoped<{
790790
* The type of connected topology.
791791
*/
792792
topology_type: string;
793+
794+
/**
795+
* The count of active connections.
796+
*/
797+
active_connections_count: number;
798+
799+
/**
800+
* The count of inactive connections.
801+
*/
802+
inactive_connections_count: number;
793803
} & ExtraConnectionData;
794804
}>;
795805

0 commit comments

Comments
 (0)