Publish Spring boot application metrics to Sumo
Dear all,
I am running a java spring boot app with actuator metrics exposed on the metrics endpoint. The organisation requirement is to view a metrics dashboard in Sumo.
The metrics characteristics are
- Available in json format
- available on app:8081/metrics endpoint
- contain data about OS and Application metrics
My question is as follows.
1) Which collector should I use in sumo to collect json formatted metrics?
2) How do I publish these metrics from my spring boot app to sumo?
Let me know how to resolve these problems.
regards,
Anurag
-
Hi Anurag:
You have 2 options for getting these metrics into Sumo.
1) Write a script that hits the endpoint that sends the results to an HTTP Source. Some formatting may be required to get the JSON into a Graphite/Carbon2.0 format. See our help doc on the different formats for more information. You also need to ensure when you POST the data to the Sumo HTTP source that you specify the correct Content-Type header for whatever metric format you choose.
2) Some customers have had success using the following open source tool on GitHub to bring the data to Sumo using an Installed Collector with a Graphite Source.
Please sign in to leave a comment.
Comments
1 comment