- Change file mode from 644 to 755 for all project files - Add chain_id parameter to get_balance RPC endpoint with default "ait-devnet" - Rename Miner.extra_meta_data to extra_metadata for consistency
18 lines
507 B
Python
Executable File
18 lines
507 B
Python
Executable File
"""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)
|