Logger Metrics
Logger metrics are available for log drivers that expose metric reporting.
The discard and journal log drivers do not support metrics. See
log for configuration details.
The following tags are present on all logger metrics:
logger
The logger name.
The metric names are:
logger.message.total
type: count
Total number of log records processed.
logger.message.pass
type: count
Number of log records successfully passed to the next peer.
logger.traffic.pass
type: count
Total bytes of log data successfully sent to the next peer.
logger.message.drop
Number of log records dropped.
An extra
drop_typetag provides the drop reason. Supported values are:FormatFailed: the message could not be formatted for the target log protocolChannelClosed: the internal async channel was closedChannelOverflow: the internal async channel was fullPeerUnreachable: the next peer was closed or temporarily unreachable