Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions quart_prometheus_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def __init__(self, app: Optional[Quart] = None, metrics_endpoint: str = "root"):
:param metrics_endpoint: The endpoint that will be scraped by Prometheus,
under this endpoint, the /metrics url will be registered, defaults to "root"
"""
# TODO: Add custom metrics support
self._collectors: Dict[str, MetricType] = {}
self._custom_labeler: Optional[Callable[["LocalProxy"], Dict[str, str]]] = None
self._custom_label_names: List[str] = []
Expand Down