linkerd2/controller/api
Alejandro Pedraza 69ecb7f10d
Replace `server_port_subscribers` metric (#11206)
Fixes #10764

Removed the `server_port_subscribers` gauge, as it wasn't distiguishing
amongst different pods, and the number of subscribers for each pod were
conflicting with one another when updating the metric (see more details
[here](https://github.com/linkerd/linkerd2/issues/10764#issuecomment-1650835823)).

Besides carying an invalid value, this was generating the warning
`unable to delete server_port_subscribers metric with labels`

The metric was replaced with the `server_port_subscribes` and
`server_port_unsubscribes` counters, which track the overall number of
subscribes and unsubscribes to the particular pod port.

🌮 to @adleong for the diagnosis and the fix!
2023-08-08 11:28:51 -05:00
..
destination Replace `server_port_subscribers` metric (#11206) 2023-08-08 11:28:51 -05:00
util Fuzzing: Move fuzzers upstream (#7419) 2022-05-05 13:01:00 -06:00