Got selected to participate in GSoC back and with the same community OpenMRS. It’s a great community with a lot of new work going on.

About the project

Expose System Metrics For Monitoring

The main idea of the project is to develop a framework that can capture System metrics as well as data metrics in a real-time way with the ability to expose to monitoring tools such as Graphite, Grapahana, Prometheus.

Currently, the workflow is to get the use of the ActiveMQ based event module which captures Hibernate interceptor based events. (Which fires after completion of transactions) and to feed them into a flat table that records details about the event time type OpenMRS class as well as the resource link to access from the OpenMRS Rest API. This will be the api workflow up to saving these records in a table. So from the client side we will be exposing these metrics through Dropwizard which is a great powerful toolkit of ways to measure the behavior of critical components in the production environment. The best thing is we can expose the JMX metric registry with Dropwizard with the built-in reporters. So there is a servelet in Dropwizard which was extended with HTTP servlet which we can use to expose the metrics with an endpoint.

Mentors for the project:-

Ian Bachler (Project champion)

Jude Niroshan

Suthagar Kaliyapathi

Wiki :-https://wiki.openmrs.org/display/projects/GSoC+2020+%3A+Expose+System+Metrics+For+Monitoring

Git Repository :-

#apache #opensource #openmrs