GithubHelp home page GithubHelp logo

isabella232 / nginx-nr-agent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from invisionapp/nginx-nr-agent

0.0 0.0 0.0 611 KB

12-factor, Go re-implementation of the Nginx New Relic plugin

License: MIT License

Go 100.00%

nginx-nr-agent's Introduction

Nginx New Relic Plugin

This is a re-implementation of the official NGiNX New Relic plugin in Go so that it compiles down to a static binary with no Python runtime required. It only grabs the stats that are including the http-stub-status module and does not add all the stats available from NGiNX Plus.

Aside from being just a static binary, it's also a 12-factor app which is good for running in containers:

  • All configuration is from environment variables
  • Logging is to stdout

On startup the plugin prints its configuration to the log so you can see how it ran.

Example Config

AGENT_NEW_RELIC_APP_NAME="NGiNX Gateway Foo" \
AGENT_STATS_URL=http://localhost:32768/health \
AGENT_NEW_RELIC_LICENSE_KEY="<your license key here>" \
./nginx-nr-agent

You can also change the New Relic API URL used like this:

AGENT_NEW_RELIC_API_URL="<your url here>"

Generally this is not a setting you'll need to change.

nginx-nr-agent's People

Contributors

caledhwa avatar relistan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.