Status: Experimental
| Name | Instrument Type | Unit | Description |
|---|---|---|---|
mailkit.net.socket.connect.count |
Counter | {attempt} |
The number of times a socket attempted to connect to a remote host. |
| Attribute | Type | Description | Examples | Presence |
|---|---|---|---|---|
network.peer.address |
string | Peer IP address of the socket connection. | 142.251.167.109 |
Always |
server.address |
string | The host name that the socket is connecting to. | smtp.gmail.com |
Always |
server.port |
int | The port that the socket is connecting to. | 465 |
Always |
error.type |
string | The type of error encountered. | host_not_found, host_unreachable, ... |
If an error occurred. |
This metric tracks the number of times a socket attempted to connect to a remote host.
error.type has the following values:
| Value | Description |
|---|---|
cancelled |
The operation was cancelled. |
host_not_found |
No such host is known. The name is not an official host name or alias. |
host_unreachable |
There is no network route to the specified host. |
network_unreachable |
No route to the remote host exists. |
connection_aborted |
The connection was aborted by .NET or the underlying socket provider. |
connection_refused |
The remote host is actively refusing a connection. |
connection_reset |
The connection was reset by the remote peer. |
timed_out |
The connection attempt timed out, or the connected host has failed to respond. |
too_many_open_sockets |
There are too many open sockets in the underlying socket provider. |
Available starting in: MailKit v4.7.0
Status: Experimental
| Name | Instrument Type | Unit | Description |
|---|---|---|---|
mailkit.net.socket.connect.duration |
Histogram | ms |
The number of milliseconds taken for a socket to connect to a remote host. |
| Attribute | Type | Description | Examples | Presence |
|---|---|---|---|---|
network.peer.address |
string | Peer IP address of the socket connection. | 142.251.167.109 |
Always |
server.address |
string | The host name that the socket is connecting to. | smtp.gmail.com |
Always |
server.port |
int | The port that the socket is connecting to. | 465 |
Always |
error.type |
string | The type of error encountered. | host_not_found, host_unreachable, ... |
If an error occurred. |
This metric measures the time it takes to connect a socket to a remote host.
error.type has the following values:
| Value | Description |
|---|---|
cancelled |
An operation was cancelled. |
host_not_found |
No such host is known. The name is not an official host name or alias. |
host_unreachable |
There is no network route to the specified host. |
network_unreachable |
No route to the remote host exists. |
connection_aborted |
The connection was aborted by .NET or the underlying socket provider. |
connection_refused |
The remote host is actively refusing a connection. |
connection_reset |
The connection was reset by the remote peer. |
timed_out |
The connection attempt timed out, or the connected host has failed to respond. |
too_many_open_sockets |
There are too many open sockets in the underlying socket provider. |
Available starting in: MailKit v4.7.0
Status: Experimental
| Name | Instrument Type | Unit | Description |
|---|---|---|---|
mailkit.net.smtp.client.connection.duration |
Histogram | s |
The duration of successfully established connections to an SMTP server. |
| Attribute | Type | Description | Examples | Presence |
|---|---|---|---|---|
server.address |
string | The host name that the client is connected to. | smtp.gmail.com |
Always |
server.port |
int | The port that the client is connected to. | 25, 465, 587 |
Always |
url.scheme |
string | The URL scheme of the protocol used. | smtp or smtps |
Always |
error.type |
string | The type of error encountered. | host_not_found, host_unreachable, ... |
If an error occurred. |
network.operation |
string | The name of the operation. | connect, authenticate, send, ... |
Always |
This metric tracks the connection duration of each SmtpClient connection and records any error details if the connection was terminated involuntarily.
error.type has the following values:
| Value | Description |
|---|---|
cancelled |
An operation was cancelled. |
connection_aborted |
The connection was aborted by .NET or the underlying socket provider. |
connection_reset |
The connection was reset by the remote peer. |
timed_out |
The connection attempt timed out, or the connected host has failed to respond. |
secure_connection_error |
An SSL or TLS connection could not be negotiated. |
protocol_error |
The connection was terminated due to an unclassified protocol error. |
response_ended |
The server unexpectedly closed the connection while the client was waiting for a response. (v5.0.0+) |
invalid_response |
The server sent a response that could not be parsed or was otherwise invalid. (v5.0.0+) |
server_disconnected |
The server explicitly closed the connection (e.g. an IMAP BYE response). (v5.0.0+) |
response_too_large |
The server sent a response that exceeded the client's size limits. (v5.0.0+) |
Available starting in: MailKit v4.7.0
Status: Experimental
| Name | Instrument Type | Unit | Description |
|---|---|---|---|
mailkit.net.smtp.client.operation.count |
Counter | {operation} |
The number of times a client performed an operation on an SMTP server. |
| Attribute | Type | Description | Examples | Presence |
|---|---|---|---|---|
server.address |
string | The host name that the client is connected to. | smtp.gmail.com |
Always |
server.port |
int | The port that the client is connected to. | 25, 465, 587 |
Always |
url.scheme |
string | The URL scheme of the protocol used. | smtp or smtps |
Always |
error.type |
string | The type of error encountered. | host_not_found, host_unreachable, ... |
If an error occurred. |
network.operation |
string | The name of the operation. | connect, authenticate, send, ... |
Always |
This metric tracks the number of times an SmtpClient has performed an operation on an SMTP server.
error.type has the following values:
| Value | Description |
|---|---|
cancelled |
An operation was cancelled. |
host_not_found |
No such host is known. The name is not an official host name or alias. |
host_unreachable |
There is no network route to the specified host. |
network_unreachable |
No route to the remote host exists. |
connection_aborted |
The connection was aborted by .NET or the underlying socket provider. |
connection_refused |
The remote host is actively refusing a connection. |
connection_reset |
The connection was reset by the remote peer. |
timed_out |
The connection attempt timed out, or the connected host has failed to respond. |
too_many_open_sockets |
There are too many open sockets in the underlying socket provider. |
secure_connection_error |
An SSL or TLS connection could not be negotiated. |
protocol_error |
The connection was terminated due to an unclassified protocol error. |
response_ended |
The server unexpectedly closed the connection while the client was waiting for a response. (v5.0.0+) |
invalid_response |
The server sent a response that could not be parsed or was otherwise invalid. (v5.0.0+) |
server_disconnected |
The server explicitly closed the connection (e.g. an IMAP BYE response). (v5.0.0+) |
response_too_large |
The server sent a response that exceeded the client's size limits. (v5.0.0+) |
4xx, 5xx |
The numeric SMTP status code returned by the server when it rejected a command (e.g. 550). |
Available starting in: MailKit v4.7.0
Status: Experimental
| Name | Instrument Type | Unit | Description |
|---|---|---|---|
mailkit.net.smtp.client.operation.duration |
Histogram | ms |
The amount of time it takes for the SMTP server to perform an operation. |
| Attribute | Type | Description | Examples | Presence |
|---|---|---|---|---|
server.address |
string | The host name that the client is connected to. | smtp.gmail.com |
Always |
server.port |
int | The port that the client is connected to. | 25, 465, 587 |
Always |
url.scheme |
string | The URL scheme of the protocol used. | smtp or smtps |
Always |
error.type |
string | The type of error encountered. | host_not_found, host_unreachable, ... |
If an error occurred. |
network.operation |
string | The name of the operation. | connect, authenticate, send, ... |
Always |
This metric tracks the amount of time it takes an SMTP server to perform an operation.
error.type has the following values:
| Value | Description |
|---|---|
cancelled |
An operation was cancelled. |
host_not_found |
No such host is known. The name is not an official host name or alias. |
host_unreachable |
There is no network route to the specified host. |
network_unreachable |
No route to the remote host exists. |
connection_aborted |
The connection was aborted by .NET or the underlying socket provider. |
connection_refused |
The remote host is actively refusing a connection. |
connection_reset |
The connection was reset by the remote peer. |
timed_out |
The connection attempt timed out, or the connected host has failed to respond. |
too_many_open_sockets |
There are too many open sockets in the underlying socket provider. |
secure_connection_error |
An SSL or TLS connection could not be negotiated. |
protocol_error |
The connection was terminated due to an unclassified protocol error. |
response_ended |
The server unexpectedly closed the connection while the client was waiting for a response. (v5.0.0+) |
invalid_response |
The server sent a response that could not be parsed or was otherwise invalid. (v5.0.0+) |
server_disconnected |
The server explicitly closed the connection (e.g. an IMAP BYE response). (v5.0.0+) |
response_too_large |
The server sent a response that exceeded the client's size limits. (v5.0.0+) |
4xx, 5xx |
The numeric SMTP status code returned by the server when it rejected a command (e.g. 550). |
Available starting in: MailKit v4.7.0
Status: Experimental
| Name | Instrument Type | Unit | Description |
|---|---|---|---|
mailkit.net.pop3.client.connection.duration |
Histogram | s |
The duration of successfully established connections to a POP3 server. |
| Attribute | Type | Description | Examples | Presence |
|---|---|---|---|---|
server.address |
string | The host name that the client is connected to. | pop.gmail.com |
Always |
server.port |
int | The port that the client is connected to. | 110, 995 |
Always |
url.scheme |
string | The URL scheme of the protocol used. | pop3 or pop3s |
Always |
error.type |
string | The type of error encountered. | host_not_found, host_unreachable, ... |
If an error occurred. |
network.operation |
string | The name of the operation. | connect, authenticate, ... |
Always |
This metric tracks the connection duration of each Pop3Client connection and records any error details if the connection was terminated involuntarily.
error.type has the following values:
| Value | Description |
|---|---|
cancelled |
An operation was cancelled. |
connection_aborted |
The connection was aborted by .NET or the underlying socket provider. |
connection_reset |
The connection was reset by the remote peer. |
timed_out |
The connection attempt timed out, or the connected host has failed to respond. |
secure_connection_error |
An SSL or TLS connection could not be negotiated. |
protocol_error |
The connection was terminated due to an unclassified protocol error. |
response_ended |
The server unexpectedly closed the connection while the client was waiting for a response. (v5.0.0+) |
invalid_response |
The server sent a response that could not be parsed or was otherwise invalid. (v5.0.0+) |
server_disconnected |
The server explicitly closed the connection (e.g. an IMAP BYE response). (v5.0.0+) |
response_too_large |
The server sent a response that exceeded the client's size limits. (v5.0.0+) |
Available starting in: MailKit v4.7.0
Status: Experimental
| Name | Instrument Type | Unit | Description |
|---|---|---|---|
mailkit.net.pop3.client.operation.count |
Counter | {operation} |
The number of times a client performed an operation on a POP3 server. |
| Attribute | Type | Description | Examples | Presence |
|---|---|---|---|---|
server.address |
string | The host name that the client is connected to. | pop.gmail.com |
Always |
server.port |
int | The port that the client is connected to. | 110, 995 |
Always |
url.scheme |
string | The URL scheme of the protocol used. | pop3 or pop3s |
Always |
error.type |
string | The type of error encountered. | host_not_found, host_unreachable, ... |
If an error occurred. |
network.operation |
string | The name of the operation. | connect, authenticate, ... |
Always |
This metric tracks the number of times an Pop3Client has performed an operation on a POP3 server.
error.type has the following values:
| Value | Description |
|---|---|
cancelled |
An operation was cancelled. |
host_not_found |
No such host is known. The name is not an official host name or alias. |
host_unreachable |
There is no network route to the specified host. |
network_unreachable |
No route to the remote host exists. |
connection_aborted |
The connection was aborted by .NET or the underlying socket provider. |
connection_refused |
The remote host is actively refusing a connection. |
connection_reset |
The connection was reset by the remote peer. |
timed_out |
The connection attempt timed out, or the connected host has failed to respond. |
too_many_open_sockets |
There are too many open sockets in the underlying socket provider. |
secure_connection_error |
An SSL or TLS connection could not be negotiated. |
protocol_error |
The connection was terminated due to an unclassified protocol error. |
response_ended |
The server unexpectedly closed the connection while the client was waiting for a response. (v5.0.0+) |
invalid_response |
The server sent a response that could not be parsed or was otherwise invalid. (v5.0.0+) |
server_disconnected |
The server explicitly closed the connection (e.g. an IMAP BYE response). (v5.0.0+) |
response_too_large |
The server sent a response that exceeded the client's size limits. (v5.0.0+) |
command_error |
The server rejected a command for an unknown or unclassified reason. |
rejected |
The server rejected the command. (v5.0.0+) |
invalid_command |
The server reported that the command was invalid or malformed. (v5.0.0+) |
not_supported |
The server does not support the command or one of its parameters. (v5.0.0+) |
permission_denied |
The client does not have permission to perform the operation. (v5.0.0+) |
not_found |
The requested resource (e.g. a folder or message) does not exist. (v5.0.0+) |
already_exists |
The resource being created already exists. (v5.0.0+) |
quota_exceeded |
The operation would exceed a storage quota. (v5.0.0+) |
limit_exceeded |
The operation would exceed a server-imposed limit. (v5.0.0+) |
in_use |
The resource is in use or locked by another session. (v5.0.0+) |
temporary_failure |
The server encountered a temporary failure; the operation may succeed if retried. (v5.0.0+) |
server_error |
The server encountered an internal error. (v5.0.0+) |
Available starting in: MailKit v4.7.0
Status: Experimental
| Name | Instrument Type | Unit | Description |
|---|---|---|---|
mailkit.net.pop3.client.operation.duration |
Histogram | ms |
The amount of time it takes for the POP3 server to perform an operation. |
| Attribute | Type | Description | Examples | Presence |
|---|---|---|---|---|
server.address |
string | The host name that the client is connected to. | pop.gmail.com |
Always |
server.port |
int | The port that the client is connected to. | 110, 995 |
Always |
url.scheme |
string | The URL scheme of the protocol used. | pop3 or pop3s |
Always |
error.type |
string | The type of error encountered. | host_not_found, host_unreachable, ... |
If an error occurred. |
network.operation |
string | The name of the operation. | connect, authenticate, ... |
Always |
This metric tracks the amount of time it takes a POP3 server to perform an operation.
error.type has the following values:
| Value | Description |
|---|---|
cancelled |
An operation was cancelled. |
host_not_found |
No such host is known. The name is not an official host name or alias. |
host_unreachable |
There is no network route to the specified host. |
network_unreachable |
No route to the remote host exists. |
connection_aborted |
The connection was aborted by .NET or the underlying socket provider. |
connection_refused |
The remote host is actively refusing a connection. |
connection_reset |
The connection was reset by the remote peer. |
timed_out |
The connection attempt timed out, or the connected host has failed to respond. |
too_many_open_sockets |
There are too many open sockets in the underlying socket provider. |
secure_connection_error |
An SSL or TLS connection could not be negotiated. |
protocol_error |
The connection was terminated due to an unclassified protocol error. |
response_ended |
The server unexpectedly closed the connection while the client was waiting for a response. (v5.0.0+) |
invalid_response |
The server sent a response that could not be parsed or was otherwise invalid. (v5.0.0+) |
server_disconnected |
The server explicitly closed the connection (e.g. an IMAP BYE response). (v5.0.0+) |
response_too_large |
The server sent a response that exceeded the client's size limits. (v5.0.0+) |
command_error |
The server rejected a command for an unknown or unclassified reason. |
rejected |
The server rejected the command. (v5.0.0+) |
invalid_command |
The server reported that the command was invalid or malformed. (v5.0.0+) |
not_supported |
The server does not support the command or one of its parameters. (v5.0.0+) |
permission_denied |
The client does not have permission to perform the operation. (v5.0.0+) |
not_found |
The requested resource (e.g. a folder or message) does not exist. (v5.0.0+) |
already_exists |
The resource being created already exists. (v5.0.0+) |
quota_exceeded |
The operation would exceed a storage quota. (v5.0.0+) |
limit_exceeded |
The operation would exceed a server-imposed limit. (v5.0.0+) |
in_use |
The resource is in use or locked by another session. (v5.0.0+) |
temporary_failure |
The server encountered a temporary failure; the operation may succeed if retried. (v5.0.0+) |
server_error |
The server encountered an internal error. (v5.0.0+) |
Available starting in: MailKit v4.7.0
Status: Experimental
| Name | Instrument Type | Unit | Description |
|---|---|---|---|
mailkit.net.imap.client.connection.duration |
Histogram | s |
The duration of successfully established connections to an IMAP server. |
| Attribute | Type | Description | Examples | Presence |
|---|---|---|---|---|
server.address |
string | The host name that the client is connected to. | imap.gmail.com |
Always |
server.port |
int | The port that the client is connected to. | 143, 993 |
Always |
url.scheme |
string | The URL scheme of the protocol used. | imap or imaps |
Always |
error.type |
string | The type of error encountered. | host_not_found, host_unreachable, ... |
If an error occurred. |
network.operation |
string | The name of the operation. | connect, authenticate, ... |
Always |
This metric tracks the connection duration of each ImapClient connection and records any error details if the connection was terminated involuntarily.
error.type has the following values:
| Value | Description |
|---|---|
cancelled |
An operation was cancelled. |
connection_aborted |
The connection was aborted by .NET or the underlying socket provider. |
connection_reset |
The connection was reset by the remote peer. |
timed_out |
The connection attempt timed out, or the connected host has failed to respond. |
secure_connection_error |
An SSL or TLS connection could not be negotiated. |
protocol_error |
The connection was terminated due to an unclassified protocol error. |
response_ended |
The server unexpectedly closed the connection while the client was waiting for a response. (v5.0.0+) |
invalid_response |
The server sent a response that could not be parsed or was otherwise invalid. (v5.0.0+) |
server_disconnected |
The server explicitly closed the connection (e.g. an IMAP BYE response). (v5.0.0+) |
response_too_large |
The server sent a response that exceeded the client's size limits. (v5.0.0+) |
Available starting in: MailKit v4.7.0
Status: Experimental
| Name | Instrument Type | Unit | Description |
|---|---|---|---|
mailkit.net.imap.client.operation.count |
Counter | {operation} |
The number of times a client performed an operation on an IMAP server. |
| Attribute | Type | Description | Examples | Presence |
|---|---|---|---|---|
server.address |
string | The host name that the client is connected to. | imap.gmail.com |
Always |
server.port |
int | The port that the client is connected to. | 143, 993 |
Always |
url.scheme |
string | The URL scheme of the protocol used. | imap or imaps |
Always |
error.type |
string | The type of error encountered. | host_not_found, host_unreachable, ... |
If an error occurred. |
network.operation |
string | The name of the operation. | connect, authenticate, ... |
Always |
This metric tracks the number of times an ImapClient has performed an operation on an IMAP server.
error.type has the following values:
| Value | Description |
|---|---|
cancelled |
An operation was cancelled. |
host_not_found |
No such host is known. The name is not an official host name or alias. |
host_unreachable |
There is no network route to the specified host. |
network_unreachable |
No route to the remote host exists. |
connection_aborted |
The connection was aborted by .NET or the underlying socket provider. |
connection_refused |
The remote host is actively refusing a connection. |
connection_reset |
The connection was reset by the remote peer. |
timed_out |
The connection attempt timed out, or the connected host has failed to respond. |
too_many_open_sockets |
There are too many open sockets in the underlying socket provider. |
secure_connection_error |
An SSL or TLS connection could not be negotiated. |
protocol_error |
The connection was terminated due to an unclassified protocol error. |
response_ended |
The server unexpectedly closed the connection while the client was waiting for a response. (v5.0.0+) |
invalid_response |
The server sent a response that could not be parsed or was otherwise invalid. (v5.0.0+) |
server_disconnected |
The server explicitly closed the connection (e.g. an IMAP BYE response). (v5.0.0+) |
response_too_large |
The server sent a response that exceeded the client's size limits. (v5.0.0+) |
command_error |
The server rejected a command for an unknown or unclassified reason. |
rejected |
The server rejected the command. (v5.0.0+) |
invalid_command |
The server reported that the command was invalid or malformed. (v5.0.0+) |
not_supported |
The server does not support the command or one of its parameters. (v5.0.0+) |
permission_denied |
The client does not have permission to perform the operation. (v5.0.0+) |
not_found |
The requested resource (e.g. a folder or message) does not exist. (v5.0.0+) |
already_exists |
The resource being created already exists. (v5.0.0+) |
quota_exceeded |
The operation would exceed a storage quota. (v5.0.0+) |
limit_exceeded |
The operation would exceed a server-imposed limit. (v5.0.0+) |
in_use |
The resource is in use or locked by another session. (v5.0.0+) |
temporary_failure |
The server encountered a temporary failure; the operation may succeed if retried. (v5.0.0+) |
server_error |
The server encountered an internal error. (v5.0.0+) |
Available starting in: MailKit v4.7.0
Status: Experimental
| Name | Instrument Type | Unit | Description |
|---|---|---|---|
mailkit.net.imap.client.operation.duration |
Histogram | ms |
The amount of time it takes for the IMAP server to perform an operation. |
| Attribute | Type | Description | Examples | Presence |
|---|---|---|---|---|
server.address |
string | The host name that the client is connected to. | imap.gmail.com |
Always |
server.port |
int | The port that the client is connected to. | 143, 993 |
Always |
url.scheme |
string | The URL scheme of the protocol used. | imap or imaps |
Always |
error.type |
string | The type of error encountered. | host_not_found, host_unreachable, ... |
If an error occurred. |
network.operation |
string | The name of the operation. | connect, authenticate, ... |
Always |
This metric tracks the amount of time it takes an IMAP server to perform an operation.
error.type has the following values:
| Value | Description |
|---|---|
cancelled |
An operation was cancelled. |
host_not_found |
No such host is known. The name is not an official host name or alias. |
host_unreachable |
There is no network route to the specified host. |
network_unreachable |
No route to the remote host exists. |
connection_aborted |
The connection was aborted by .NET or the underlying socket provider. |
connection_refused |
The remote host is actively refusing a connection. |
connection_reset |
The connection was reset by the remote peer. |
timed_out |
The connection attempt timed out, or the connected host has failed to respond. |
too_many_open_sockets |
There are too many open sockets in the underlying socket provider. |
secure_connection_error |
An SSL or TLS connection could not be negotiated. |
protocol_error |
The connection was terminated due to an unclassified protocol error. |
response_ended |
The server unexpectedly closed the connection while the client was waiting for a response. (v5.0.0+) |
invalid_response |
The server sent a response that could not be parsed or was otherwise invalid. (v5.0.0+) |
server_disconnected |
The server explicitly closed the connection (e.g. an IMAP BYE response). (v5.0.0+) |
response_too_large |
The server sent a response that exceeded the client's size limits. (v5.0.0+) |
command_error |
The server rejected a command for an unknown or unclassified reason. |
rejected |
The server rejected the command. (v5.0.0+) |
invalid_command |
The server reported that the command was invalid or malformed. (v5.0.0+) |
not_supported |
The server does not support the command or one of its parameters. (v5.0.0+) |
permission_denied |
The client does not have permission to perform the operation. (v5.0.0+) |
not_found |
The requested resource (e.g. a folder or message) does not exist. (v5.0.0+) |
already_exists |
The resource being created already exists. (v5.0.0+) |
quota_exceeded |
The operation would exceed a storage quota. (v5.0.0+) |
limit_exceeded |
The operation would exceed a server-imposed limit. (v5.0.0+) |
in_use |
The resource is in use or locked by another session. (v5.0.0+) |
temporary_failure |
The server encountered a temporary failure; the operation may succeed if retried. (v5.0.0+) |
server_error |
The server encountered an internal error. (v5.0.0+) |
Available starting in: MailKit v4.7.0