Project

ringflux

0.0
No release in over 3 years
Low commit activity in last 3 years
This gem provides a plugin for Adhearsion, allowing you to publish metrics to InfluxDB
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
>= 0
~> 2.5

Runtime

~> 0.3
 Project Readme

Ringflux

An Adhearsion plugin providing integration with InfluxDB

Configuration

As with all Adhearsion plugins, type rake config:show to see the list of configuration options.

Usage

data = {
  values: { active_calls: Adhearsion.active_calls.count },
  tags:   { environment: Adhearsion.environment, host: Adhearsion::Process.fqdn }
  # tags are optional
}

Ringflux.write_point "active_calls", data

See InfluxDB Ruby gem for more information.