Function: getTelemetryPath()
ts
function getTelemetryPath(fingerprint?): string;Defined in: packages/core/src/observability/TelemetryBus.ts:83
Compute the IPC path for the telemetry socket.
Uses a deterministic fingerprint based on process.cwd() so the socket path remains stable across server restarts. This enables the Inspector TUI to reconnect automatically without PID tracking.
- Windows:
\\.\pipe\mcp-fusion-{fingerprint}(Named Pipe, auto-cleaned by OS) - POSIX:
/tmp/mcp-fusion-{fingerprint}.sock(Unix Domain Socket)
Parameters
| Parameter | Type | Description |
|---|---|---|
fingerprint? | string | Custom fingerprint (defaults to SHA-256 of cwd) |
Returns
string
The IPC path string