``` feat: add websocket tests, PoA metrics, marketplace endpoints, and enhanced observability - Add comprehensive websocket tests for blocks and transactions streams including multi-subscriber and high-volume scenarios - Extend PoA consensus with per-proposer block metrics and rotation tracking - Add latest block interval gauge and RPC error spike alerting - Enhance mock coordinator
18 lines
507 B
Python
18 lines
507 B
Python
"""Placeholder exporter registration for metrics/log sinks."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Iterable
|
|
|
|
REGISTERED_EXPORTERS: list[str] = []
|
|
|
|
|
|
def register_exporters(exporters: Iterable[str]) -> None:
|
|
"""Attach exporters for observability pipelines.
|
|
|
|
Real implementations might wire Prometheus registrations, log shippers,
|
|
or tracing exporters. For now, we simply record the names to keep track
|
|
of requested sinks.
|
|
"""
|
|
REGISTERED_EXPORTERS.extend(exporters)
|