Monday, October 24, 2011

expvar

The expvar let you expose variables via HTTP/JSON protocol. Here at Adconion we call these metrics, and more than once they have been very instrumental in debugging and monitoring services.

We usually combine the metrics with an external monitoring system such as Nagios or OpenNMS. We set some thresholds for alerts and also chart some of them metrics over time.

Below is a small demo on how to use the package.

1 comment:

  1. This is a great post - we use expvars in exactly the same way and monitor them with Hyperic.

    ReplyDelete

/* MIKI: Analytics */