Merge pull request #4111 from matrix-org/erikj/repl_names
Erikj/repl names
This commit is contained in:
commit
00fdfbc213
|
@ -0,0 +1 @@
|
||||||
|
Fix `synapse_replication_tcp_protocol_*_commands` metric label to be full command name, rather than just the first character
|
|
@ -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…
Reference in New Issue