Class SshTelemetry
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
The names SshSharp publishes diagnostics under. Subscribe to SourceName for traces (ActivitySource) and
metrics (Meter), for example with OpenTelemetry: .AddSource(SshTelemetry.SourceName) and .AddMeter(SshTelemetry.SourceName).
Nothing is recorded unless something listens, and no secrets (passwords, keys, command text) are ever recorded.
public static class SshTelemetry
- Inheritance
-
SshTelemetry
- Inherited Members
Remarks
Activities: SshSharp.Connect (a client span; tags network.protocol.name, network.protocol.version,
network.transport, server.port, ssh.kex, ssh.kex.post_quantum, ssh.cipher, ssh.host_key.type, and
error.type on failure) and SshSharp.Command (ssh.command.exit_status, error.type). Instruments:
sshsharp.connections, sshsharp.connect.duration (s; successful and failed connects, the failed ones tagged
error.type), sshsharp.bytes.sent, sshsharp.bytes.received, sshsharp.key_exchanges, sshsharp.channels,
sshsharp.commands (tagged result and, for errors, error.type).
Fields
- SourceName
The name of both the ActivitySource and the Meter.