You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yann Esposito 87d45eae67 stack support 6 years ago
System/Remote Move the JSON encoding into a separate ekg-json package 7 years ago
assets Make sure data are in order before displaying them 7 years ago
examples Fix Basic example to compile after the package split 7 years ago
.gitignore stack support 6 years ago
.travis.yml Try Travis config with caching 7 years ago Bump version number to 7 years ago
LICENSE Initial import 10 years ago
LICENSE.icons Change icons to Creative Commons Attribution 3.0 licensed ones 10 years ago
LICENSE.javascript Add original (non-minified) JS files 10 years ago Fleshed out README 10 years ago
Setup.hs Initial import 10 years ago
ekg.cabal Try Travis config with caching 7 years ago
stack.yaml stack support 6 years ago

EKG: Remote monitoring of running processes over HTTP

This library lets you remotely monitor a running process over HTTP. It provides a simple way to integrate a monitoring server into any application.

Getting started

Adding monitoring to your application is simple. Just launch the monitoring server as soon as your application starts

import System.Remote.Monitoring

main = do
     forkServer "localhost" 8000

and then visit http://localhost:8000/ in your web browser.


The monitoring server also lets you to retrieve the stats as JSON. Simply send the server an HTTP GET request with the Accept header set to "application/json":

curl -H "Accept: application/json" http://localhost:8000/

You can use the JSON API to e.g. write applications that monitor other applications.

Get involved!

Please report bugs via the GitHub issue tracker.

Master git repository:

git clone


This library is written and maintained by Johan Tibell,