Skip to content

yvasiyarov/newrelic_sphinx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Newrelic agent for Sphinx search engine

Build Status

Installation

If you have not Go compiler in your system:
sudo apt-get install golang

Install dependencies:
sudo go get github.com/yunge/sphinx sudo go get github.com/yvasiyarov/newrelic_platform_go

Get and build agent:
git clone https://github.com/yvasiyarov/newrelic_sphinx.git cd newrelic_sphinx go build -o sphinx_agent

Run agent in debug mode:
./sphinx_agent --verbose=true --sphinx-host=127.0.0.1 --sphinx-port=9312 --newrelic-license=[your newrelic license key]

In production mode you can run it with nohup:
nohup ./sphinx_agent --sphinx-host=127.0.0.1 --sphinx-port=9312 --newrelic-license=[your newrelic license key]

If you run several Sphinx instances, you can pass instance name in newrelic-name argument: --newrelic-name "sphinx01.application.com"

About

Sphinx monitoring plugin for NewRelic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages