Backends

app_metrics.backends.db

This backend stores all metrics and aggregations in your database.

NOTE

Every call to metric() generates a database write, which may decrease your overall performance is you go nuts with them or have a heavily traffic site.

app_metrics.backends.mixpanel

This backend allows you to pipe all of your calls to metric() to Mixpanel. See the Mixpanel documentation for more information on their API.

app_metrics.backends.statsd

This backend allows you to pipe all of your calls to metric() to a statsd server. See statsd for more information on their API.

app_metrics.backends.redis

This backend allows you to use the metric() and gauge() aspects, but not timer aspects of app_metrics.