A Graphite Carbon impostor, sending metrics to Librato Metrics.
TCP plain text & AMQP support.
Executable Java JAR
wget http://portertech.s3.amazonaws.com/recognizer/recognizer.jar
Example: config.json
{
"librato": {
"email": "[email protected]",
"api_key": "706325cf16d84d098127e143221dd180706325cf16d84d098127e143221dd180"
},
"amqp": {
"host": "localhost"
},
"tcp": {
"port": 2003
}
}
Executable Java JAR
java -jar recognizer.jar -h Usage: recognizer (options) -c, --config CONFIG The config file path -h, --help Show this message
Set the interval to flush to Librato
{
"librato": {
"flush_interval": 5
Example metric path: production.i-424242.cpu.user
Extract the metric source from the metric path using a regular expression
{
"librato": {
"metric_source": "/i-.*/"
Or using an index
{
"librato": {
"metric_source": 1
Or set a static source
{
"librato": {
"metric_source": "example"
Set the number of threads the TCP server uses
{
"tcp": {
"threads": 30
By default, Recognizer binds the AMQP queue recognizer to the topic exchange graphite with the routing key #
Use a custom AMQP exchange
{
"amqp": {
"exchange": {
"name": "metrics",
"type": "topic",
"durable": true,
"routing_key": "#"
Recognizer is released under the MIT license.

