SSH Check Receiver
OpenTelemetry Collector receiver · contrib distribution
This receiver creates stats by connecting to an SSH server which may be an SFTP server.
- Component ID:
contrib-sshcheckreceiver - Name:
sshcheckreceiver - Type: receiver
- Distribution: contrib
- Repository:
opentelemetry-collector-contrib
Stability
| Level | Signals |
|---|---|
| beta | metrics |
Metrics
| Metric | Type | Value type | Unit | Stability | Enabled | Attributes | Description |
|---|---|---|---|---|---|---|---|
sshcheck.duration | gauge | int | ms | development | yes | Measures the duration of SSH connection. | |
sshcheck.error | sum | int | {error} | development | yes | error.message (string) | Records errors occurring during SSH check. |
sshcheck.sftp_duration | gauge | int | ms | development | no | Measures SFTP request duration. | |
sshcheck.sftp_error | sum | int | {error} | development | no | error.message (string) | Records errors occurring during SFTP check. |
sshcheck.sftp_status | sum | int | 1 | development | no | 1 if the SFTP server replied to request, otherwise 0. | |
sshcheck.status | sum | int | 1 | development | yes | 1 if the SSH client successfully connected, otherwise 0. |
Attributes
| Attribute | Type | Description |
|---|---|---|
error.message | string | Error message recorded during check |