We're updating the issue view to help you get more done. 

Unregister old metrics when a node gets removed or changes RPC address

Description

When a node gets removed (or gets a new broadcastRpcAddress, see ), its metrics stay there with the last known value.

We might want to unregister them. This is a bit tricky other components might still update them if they didn't get the node change yet, and the registry will recreate a metric if it does not exist.

Environment

None

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Olivier Michallat

Labels

None

PM Priority

None

Reproduced in

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Fix versions

Priority

Major