confluentinc / jmx-monitoring-stacks

📊 Monitoring examples for Confluent Cloud and Confluent Platform
Apache License 2.0
51 stars 167 forks source link

Graphite+Grafana Dashboard #37

Open mddunn opened 3 years ago

mddunn commented 3 years ago

Customer is interested in an example Graphite+Grafana implementation as they love the Prom+Grafana one but are using Graphite and want to replicate.

jeqo commented 2 years ago

Haven't see that much usage of Graphite on the field myself. Is there a supported way to export JMX to a Graphite backend? Checking this one https://github.com/logzio/jmx2graphite, it piggybacks on Jolokia.

Let us know if there's still interest on this one.

mddunn commented 2 years ago

This was requested once, and was able to leverage telegraf to scrape the Jolokia metrics and send them to Graphite.

Input: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/jolokia2 Output: https://github.com/influxdata/telegraf/tree/master/plugins/outputs/graphite

Jmx2graphite and jmxtrans (https://github.com/jmxtrans/jmxtrans) were also reviewed as possible solutions.

jeqo commented 2 years ago

@mddunn Thanks for the links! totally forgot about telegraf 😅.

Would you be interested on contributing the initial pipeline/dashboards for this stack? I'd be happy to help/review it.

mddunn commented 2 years ago

yeah I'd be open to it, my biggest issue is finding time (like all of us)

I'll be sure to let you know when I start to make some progress

hifly81 commented 8 months ago

@mddunn we have recently added a stack with jolokia2,telegraf and influxdb. I suppose we should only replace influx with graphite to have this done. wdyt?

mddunn commented 8 months ago

@hifly81 I think that would be helpful, but I remember this customer was also interested in true Grafana+Graphite demo. Might be worth having both?

hifly81 commented 8 months ago

@hifly81 I think that would be helpful, but I remember this customer was also interested in true Grafana+Graphite demo. Might be worth having both?

jolokia/telegraf/graphite/grafana?

mddunn commented 8 months ago

Yeah that seems like a valid setup. I think jmxtrans is another popular tool that people use to get JMX metrics into Graphite