Skip to content

Commit d04eadc

Browse files
Document mattermost_cluster_reliable_fallback_tcp
1 parent 6e6ca68 commit d04eadc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/administration-guide/scale/performance-monitoring-metrics.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Cluster metrics
3737
- ``mattermost_cluster_cluster_health_score``: A score that gives an idea of how well it is meeting the soft-real time requirements of the gossip protocol.
3838
- ``mattermost_cluster_cluster_requests_total``: The total number of inter-node requests.
3939
- ``mattermost_cluster_cluster_event_type_totals``: The total number of cluster requests sent for any type.
40+
- ``mattermost_cluster_reliable_fallback_tcp``: The total length in bytes of the SendBestEffort calls (UDP) that had to fallback to SendReliable (TCP) because of the message length. This is a histogram with 8 buckets, from 32KiB to 4MiB. Ideally, the count of this metric should be always 0, but plugins may be misusing the websocket API and attempting to send large messages via UDP; in that case, plugins should be fixed to set `ReliableClusterSend <https://github.com/mattermost/mattermost/blob/4fe11a7d5d14616f3c31363762617ddfd99895df/server/public/model/websocket_message.go#L155-L157>`__ to true.
4041

4142
Database metrics
4243
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)