hs: Fix multiple port label on single metric

Prometheus needs unique labels and so this bug was causing an onion service with multiple ports to have multiple "port=" label for the metrics requiring a port label.

Fixes #40581 (closed)

Signed-off-by: David Goulet dgoulet@torproject.org

Merge request reports

Loading