diff options
author | Erik Johnston <erik@matrix.org> | 2018-10-29 17:34:21 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-10-29 17:34:21 +0000 |
commit | a163b748a5ca37853f440c5c46d2da80f738a9e0 (patch) | |
tree | a59217b72be1023115b421f204863dadfa456bce /synapse/replication | |
parent | Delete the disused & unspecced identicon functionality (#4106) (diff) | |
download | synapse-a163b748a5ca37853f440c5c46d2da80f738a9e0.tar.xz |
Don't truncate command name in metrics
Diffstat (limited to 'synapse/replication')
-rw-r--r-- | synapse/replication/tcp/protocol.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/replication/tcp/protocol.py b/synapse/replication/tcp/protocol.py index 5dc7b3fffc..0b3fe6cbf5 100644 --- a/synapse/replication/tcp/protocol.py +++ b/synapse/replication/tcp/protocol.py @@ -656,7 +656,7 @@ tcp_inbound_commands = LaterGauge( "", ["command", "name"], lambda: { - (k[0], p.name,): count + (k, p.name,): count for p in connected_connections for k, count in iteritems(p.inbound_commands_counter) }, @@ -667,7 +667,7 @@ tcp_outbound_commands = LaterGauge( "", ["command", "name"], lambda: { - (k[0], p.name,): count + (k, p.name,): count for p in connected_connections for k, count in iteritems(p.outbound_commands_counter) }, |