remove replica_role tag for metric redis_replication_*

This commit is contained in:
Ulric Qin 2022-06-24 19:39:03 +08:00
parent 39505d5cbf
commit e1889ee7fe
1 changed files with 1 additions and 1 deletions

View File

@ -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 {