Telltale

Report Rails application metrics to OpenTSDB.

Metrics

These numbers are currently reported:

  • <prefix>.rails.total_time: Total request time in seconds

The default prefix is "telltale" and can be configured with the environment variable TELLTALE_PREFIX.

Tags

The following tags are available for all metrics:

  • http_status: HTTP Status code
  • controller: Name of the controller
  • action: Name of the action in the form controller_name.action_name
  • host: Name of the host the Rails app is running on
  • environment: The Rails app environment
  • app: The application's name

Configuration

Telltale uses the following environment variables for configuration:

  • TELLTALE_OPENTSDB_HOST: The host to report to
  • TELLTALE_OPENTSDB_PORT: The port opentsdb listens on. Default is 4242
  • TELLTALE_PREFIX: Some prefix for the metric name. Default is telltale