Settings

Base Settings

APP_METRICS_BACKEND

Defaults to app_metrics.backends.db if not defined.

Mixpanel Backend Settings

These settings are only necessary if you’re using the Mixpanel backend

APP_METRICS_MIXPANEL_TOKEN

Your Mixpanel.com API token

APP_METERICS_MIXPANEL_URL

Allow overriding of the API URL end point

Statsd Settings

APP_METRICS_STATSD_HOST

Hostname of statsd server, defaults to ‘localhost’

APP_METRICS_STATSD_PORT

statsd port, defaults to ‘8125’

APP_METRICS_STATSD_SAMPLE_RATE

statsd sample rate, defaults to 1

Redis Settings

APP_METRICS_REDIS_HOST

Hostname of redis server, defaults to ‘localhost’

APP_METRICS_REDIS_PORT

redis port, defaults to ‘6379’

APP_METRICS_REDIS_DB

redis database number to use, defaults to 0