mirror of
https://github.com/matrix-org/synapse.git
synced 2025-10-12 16:01:14 +02:00
Don't truncate command name in metrics
This commit is contained in:
parent
4cd1c9f2ff
commit
a163b748a5
@ -656,7 +656,7 @@ tcp_inbound_commands = LaterGauge(
|
|||||||
"",
|
"",
|
||||||
["command", "name"],
|
["command", "name"],
|
||||||
lambda: {
|
lambda: {
|
||||||
(k[0], p.name,): count
|
(k, p.name,): count
|
||||||
for p in connected_connections
|
for p in connected_connections
|
||||||
for k, count in iteritems(p.inbound_commands_counter)
|
for k, count in iteritems(p.inbound_commands_counter)
|
||||||
},
|
},
|
||||||
@ -667,7 +667,7 @@ tcp_outbound_commands = LaterGauge(
|
|||||||
"",
|
"",
|
||||||
["command", "name"],
|
["command", "name"],
|
||||||
lambda: {
|
lambda: {
|
||||||
(k[0], p.name,): count
|
(k, p.name,): count
|
||||||
for p in connected_connections
|
for p in connected_connections
|
||||||
for k, count in iteritems(p.outbound_commands_counter)
|
for k, count in iteritems(p.outbound_commands_counter)
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user