Skip to content

Conversation

@evalstate
Copy link
Collaborator

This commit adds tracking of new unique IP addresses per client, displaying the count in the Client Identities table similar to tool call counts.

Changes:

  • Added newIpCount field to ClientMetrics interface
  • Implemented per-client IP tracking in MetricsCounter class
  • Added trackClientIpAddress method to track IPs per client
  • Updated StatelessTransportMetrics to display New IPs column
  • Added Client Identities section to StatefulTransportMetrics
  • Integrated IP tracking when client info becomes available

When a new IP address is seen for a specific client, the newIpCount is incremented, allowing operators to monitor client connection patterns across different IP addresses.

claude and others added 6 commits November 19, 2025 16:52
This commit adds tracking of new unique IP addresses per client,
displaying the count in the Client Identities table similar to
tool call counts.

Changes:
- Added newIpCount field to ClientMetrics interface
- Implemented per-client IP tracking in MetricsCounter class
- Added trackClientIpAddress method to track IPs per client
- Updated StatelessTransportMetrics to display New IPs column
- Added Client Identities section to StatefulTransportMetrics
- Integrated IP tracking when client info becomes available

When a new IP address is seen for a specific client, the newIpCount
is incremented, allowing operators to monitor client connection
patterns across different IP addresses.
This commit adds tracking of unique authorization tokens (hashed for
privacy) per client, displaying anonymous and unique auth counts in
the Client Identities table.

Changes:
- Added anonCount and uniqueAuthCount fields to ClientMetrics
- Implemented hashToken function for secure token hashing
- Added trackClientAuth method in MetricsCounter to track auth status
- Updated SessionMetadata to store authToken
- Integrated auth tracking in SSE and stateless transports
- Added "Anon/Auth" column to both transport metrics UIs

The Anon/Auth column shows "anonCount/uniqueAuthCount" format,
allowing operators to monitor authentication patterns per client.
Updated createSession to extract and store ipAddress and authToken
in session metadata, enabling proper tracking when client info
becomes available via createClientInfoCapture.
@evalstate evalstate merged commit 48bb4b2 into main Nov 20, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants