diff --git a/docs/tracking-plan.md b/docs/tracking-plan.md index d4f4a179a28..5e401b22cad 100644 --- a/docs/tracking-plan.md +++ b/docs/tracking-plan.md @@ -854,6 +854,10 @@ This event is fired when user successfully connects to a new server/cluster. - The OS family of the connected server. - **topology_type** (required): `string` - The type of connected topology. +- **num_active_connections** (required): `number` + - The number of active connections. +- **num_inactive_connections** (required): `number` + - The number of inactive connections. - **auth_type** (optional): `string | undefined` - Desktop only. The authentication type used in the connection. - **tunnel** (optional): `string | undefined` diff --git a/packages/compass-telemetry/src/telemetry-events.ts b/packages/compass-telemetry/src/telemetry-events.ts index 0355d5f2b97..3d1ec55d500 100644 --- a/packages/compass-telemetry/src/telemetry-events.ts +++ b/packages/compass-telemetry/src/telemetry-events.ts @@ -790,6 +790,16 @@ type NewConnectionEvent = ConnectionScoped<{ * The type of connected topology. */ topology_type: string; + + /** + * The number of active connections. + */ + num_active_connections: number; + + /** + * The number of inactive connections. + */ + num_inactive_connections: number; } & ExtraConnectionData; }>;