ignatenko-denis / prometheus

Sample Prometheus configuration in OpenShift for monitoring microservices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample Prometheus configuration in OpenShift for monitoring microservices

In the sample single Prometheus local service prometheus-sample-service aggregates metrics from first-service and second-service.

In your microservices should be added monitoring through Spring Actuator and Micrometer

Check result:

  1. http://prometheus-sample-service.apps.my-sample-host.com/targets local Prometheus
  2. http://first-service.apps.my-sample-host.com/first-service/actuator/prometheus
  3. http://first-service.apps.my-sample-host.com/first-service/actuator/metrics

OpenShift

About

Sample Prometheus configuration in OpenShift for monitoring microservices