As a maintainer of the wdqs streaming-updater I want to see the metrics it produces in grafana so that I can create dashboards to visualize how it behaves.
On wdqs1009 where the consumer is enable the metrics are properly generated and exposed through a prometheus exporter on port 9101:
dcausse@wdqs1009:~$ curl -s localhost:9101 | grep ^wdqs_str wdqs_streaming_updater_rdf_store_time_cnt_Count 2.4398143E7 wdqs_streaming_updater_kafka_stream_consumer_triples_accumulated_Count 1.0062722E7 wdqs_streaming_updater_divergences_Count 44242.0 wdqs_streaming_updater_mutations_Count 8981755.0 wdqs_streaming_updater_poll_time_cnt_Count 1.11013286E8 wdqs_streaming_updater_shared_element_mutations_Count 278521.0 wdqs_streaming_updater_delete_mutations_Count 27054.0 wdqs_streaming_updater_shared_element_redundant_mutations_Count 276446.0 wdqs_streaming_updater_kafka_stream_consumer_triples_offered_Count 9767872.0 wdqs_streaming_kafka_stream_consumer_lag_Value 99265.0
But these metrics are not visible in grafana and perhaps not even collected by prometheus.
AC:
- metrics produced by the prometheus exporter (port 9101) should be accessible in prometheus and grafana