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 4 years ago
System/Remote Move the JSON encoding into a separate ekg-json package 4 years ago
assets Make sure data are in order before displaying them 4 years ago
examples Fix Basic example to compile after the package split 5 years ago
.gitignore stack support 4 years ago
.travis.yml Try Travis config with caching 4 years ago
CHANGES.md Bump version number to 0.4.0.8 4 years ago
LICENSE Initial import 8 years ago
LICENSE.icons Change icons to Creative Commons Attribution 3.0 licensed ones 8 years ago
LICENSE.javascript Add original (non-minified) JS files 8 years ago
README.md Fleshed out README 8 years ago
Setup.hs Initial import 8 years ago
ekg.cabal Try Travis config with caching 4 years ago
stack.yaml stack support 4 years ago

README.md

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.

JSON API

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 https://github.com/tibbe/ekg.git

Authors

This library is written and maintained by Johan Tibell, johan.tibell@gmail.com.