/newrelic_exporter

NewRelic exporter for prometheus

Primary LanguageGoBSD 2-Clause "Simplified" LicenseBSD-2-Clause

New Relic Exporter

Prometheus exporter for New Relic data. Requires a New Relic account.

Building and running

Running in a container

docker run jfindley/newrelic-exporter --api.key=********

From source

git clone https://github.com/jfindley/newrelic_exporter.git --branch release
cd newrelic_exporter
make
./newrelic_exporter

Flags

Name Description
api.key API key
api.server API location. Defaults to https://api.newrelic.com
api.period Period of data to request, in seconds. Defaults to 60.
api.timeout Period of time to wait for an API response in seconds (default 5s)
web.listen-address Address to listen on for web interface and telemetry. Port defaults to 9126.
web.telemetry-path Path under which to expose metrics.