nikhil kumar
nikhil kumar

Reputation: 55

How to get the metrics collected on datadog monitor using Java code?

I need to monitor fifty application. As apart of which I need to perform healthcheck on datadog dashboard to all the application everyday. So, Is it possible to collect the metrics collected in datadog from Java code ..

Thanks in advance.

Upvotes: 0

Views: 1689

Answers (2)

stephenlechner
stephenlechner

Reputation: 2269

Another option is to use Datadog's Java / JMX integration to capture the health data that's exposed over JMX -- this can probably give you up/down health data, and can certainly give you a lot more granular health metrics too.

Upvotes: 0

eilon47
eilon47

Reputation: 51

You might want to use datadog service-check which is also can be sent by the StatsDClient, and then add it to your monitor/dashboard page. https://docs.datadoghq.com/developers/service_checks/

Upvotes: 1

Related Questions