skip to Main Content

I have added a java service to my ec2 instance, which is running. I want to see that my service is up or down on the instance. Also I want to see it visually like through a chart or graph, I know we can check through logs, I want to see it visually which I can display on the dashbaord on a TV screen.

I tried using new relic Java agent and micrometer new relic registry, It enrolls my service to be on the new relic but does not show any direct pictorial representation for my issue.

2

Answers


  1. Why don’t you enable health check , in Prometheus format and consume that?
    In health check look for if service is logically down or not. even if port number is up may be it is not able to server request. Cheers!!!

    Login or Signup to reply.
  2. I understand you are using SpringBoot.
    You can use its actuator especially the health endpoint.
    You can then monitor this endpoint with your favourite monitoring solution and create an appropriate graph.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search