diff --git a/mattermost/mattermost.py b/mattermost/mattermost.py
index 4366c7df5796149fafb1d34fd8feb30e51481eef..a59c538df259c4e5bc40198108b4398733508fd2 100644
--- a/mattermost/mattermost.py
+++ b/mattermost/mattermost.py
@@ -130,6 +130,17 @@ class MattermostCollector(object):
                 }
             })
 
+            metrics.append({
+                'measurement': 'total_websocket_connections',
+                'tags': {
+                    'name': instance['config']['name']
+                },
+                'time': current_timestamp,
+                'fields': {
+                    'value': data['total_websocket_connections']
+                }
+            })
+
             # Get daily stats
             daily_data = self._get_daily_stats(instance)
             if daily_data is None:
@@ -177,6 +188,7 @@ class MattermostCollector(object):
         # Extract values
         data['public_channels'] = cls._get_value(res, 'channel_open_count')
         data['private_channels'] = cls._get_value(res, 'channel_private_count')
+        data['total_websocket_connections'] = clis._get_value(res, 'total_websocket_connections')
         data['posts'] = cls._get_value(res, 'post_count')
         data['users'] = cls._get_value(res, 'unique_user_count')
         data['teams'] = cls._get_value(res, 'team_count')