A slim library which leverages Pydantic to reliably collect type-enforced metrics and store them to MongoDB. Version 1.0.8 supports Python >=3.7,<4.0. Low release cadence.
pip install mongo-tooling-metricsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize MetricsConfig with MongoDB URI and collection details, then create a MetricCollector and send a gauge metric.
Ensure metric values are numeric (int or float).
Enable logging or check the return value of send methods if available.
No dependency data recorded yet.