damianiandrea / mongodb-nats-connector

A connector that uses MongoDB's change streams to capture data changes and publishes those changes to NATS JetStream.
MIT License
48 stars 7 forks source link

Add connector observability #30

Closed damianiandrea closed 6 months ago

damianiandrea commented 6 months ago

For the connector to be production-ready, it needs to be observable.

Adding a GET /metrics HTTP endpoint that exposes metrics would be a first step towards that direction.

In regards to metrics format, Prometheus seems to be the de-facto standard and is worth considering.