diff --git a/prometheus_client/metrics.py b/prometheus_client/metrics.py index 12f793c2..9333282b 100644 --- a/prometheus_client/metrics.py +++ b/prometheus_client/metrics.py @@ -133,7 +133,7 @@ def __init__(self: T, if registry: registry.register(self) - def labels(self: T, *labelvalues: str, **labelkwargs: str) -> T: + def labels(self: T, *labelvalues: Any, **labelkwargs: Any) -> T: """Return the child for the given labelset. All metrics can have labels, allowing grouping of related time series.