matt...@gmail.com
unread,Mar 4, 2015, 6:27:15 PM3/4/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prometheus...@googlegroups.com
With a Spring boot app I can get it to automatically produce a http /metrics endpoint with data I'm interested in but it's a JSON string eg:
{"mem":189952,"mem.free":86871,"processors":4,"uptime":8838288,"instance.uptime":8823684,"systemload.average":0.0,"heap.committed":189952,"heap.init":32768,"heap.used":103080,"heap":458752,"threads.peak":20,"threads.daemon":18,"threads":20,"classes":5481,"classes.loaded":5481,"classes.unloaded":0,"gc.ps_scavenge.count":17,"gc.ps_scavenge.time":225,"gc.ps_marksweep.count":1,"gc.ps_marksweep.time":96,"httpsessions.max":-1,"httpsessions.active":0,"counter.status.200.greeting":6,"counter.status.200.health":1,"counter.status.200.metrics":560,"counter.status.200.star-star.favicon.ico":1,"counter.status.304.star-star.favicon.ico":1,"counter.status.404.star-star":1,"gauge.response.greeting":2.0,"gauge.response.health":226.0,"gauge.response.metrics":2.0,"gauge.response.star-star":6.0,"gauge.response.star-star.favicon.ico":25.0}
With the JMX Exporter there's a way to specify mappings to translate the received data into Prometheus format. Is there a way of specifying pre-processing mappings for a http endpoint?
Thanks
Matt Reynolds