neo4j-contrib / neo4j-streams

Neo4j Kafka Connector
https://neo4j.com/docs/kafka
Apache License 2.0
173 stars 71 forks source link

Expose Neo4j Metrics into Kafka Topics #408

Closed conker84 closed 1 year ago

conker84 commented 3 years ago

Just for discussion: add a feature that exposes neo4j metrics into kafka topics

moxious commented 3 years ago

(Jan 22 Discussion)

conker84 commented 3 years ago

Confluent offers a Prometheus Sink: https://docs.confluent.io/kafka-connect-prometheus-metrics/current/index.html

This means that we can export metrics in the format expected from the Sink and this gives the power to the user to easily have Neo4j metrics without any specific configuration, simply just leveraging the Kafka Connect architecture...

moxious commented 3 years ago

I see this could work, but it would require config, just not in Neo4j. So I could publish metrics (Neo4j) -> (Neo4j Streams) -> (Kafka) -> (Prometheus Sync)

But why would this be better than, or in what situation would this be preferable to (Neo4j) -> (Prometheus) -> (Thing that can sink prometheus metrics)

ali-ince commented 1 year ago

Closing as Neo4j already supports prometheus endpoint for metrics exposure.