remove replica_role tag for metric redis_replication_*
This commit is contained in:
parent
39505d5cbf
commit
e1889ee7fe
|
@ -394,7 +394,7 @@ func gatherReplicationLine(
|
|||
}
|
||||
|
||||
tags["replica_id"] = strings.TrimLeft(name, "slave")
|
||||
tags["replica_role"] = "slave"
|
||||
// tags["replica_role"] = "slave"
|
||||
|
||||
parts := strings.Split(line, ",")
|
||||
for _, part := range parts {
|
||||
|
|
Loading…
Reference in New Issue