Skip to content

Commit

Permalink
Add new fields telemetry event
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Nov 11, 2024
1 parent 2f2a8c6 commit 1128970
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/tracking-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
10 changes: 10 additions & 0 deletions packages/compass-telemetry/src/telemetry-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}>;

Expand Down

0 comments on commit 1128970

Please sign in to comment.