Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

recognizer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recognizer

  • 0.7.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source
  • Welcome to Recognizer A Graphite Carbon impostor, sending metrics to [[https://metrics.librato.com/][Librato Metrics]].

    TCP plain text & AMQP support.

    [[https://secure.travis-ci.org/portertech/recognizer.png]]

    [[https://github.com/portertech/recognizer/raw/master/recognizer.gif]]

  • Install Executable Java JAR : wget http://portertech.s3.amazonaws.com/recognizer/recognizer.jar

  • Configure Example: =config.json= : { : "librato": { : "email": "email@example.com", : "api_key": "706325cf16d84d098127e143221dd180706325cf16d84d098127e143221dd180" : }, : "amqp": { : "host": "localhost" : }, : "tcp": { : "port": 2003 : } : }

  • Usage Executable Java JAR : java -jar recognizer.jar -h : : Usage: recognizer (options) : -c, --config CONFIG The config file path : -h, --help Show this message

  • More ***** By default, Recognizer flushes metrics to Librato every =10= seconds Set the interval to flush to Librato : { : "librato": { : "flush_interval": 5 ***** By default, Recognizer uses =recognizer= as the metric source 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" ***** By default, The Recognizer TCP server uses =20= threads 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": "#"

  • License Recognizer is released under the [[https://github.com/portertech/recognizer/raw/master/MIT-LICENSE.txt][MIT license]].

FAQs

Package last updated on 17 Feb 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc