Skip to content

mrf/newrelic_exporter

This branch is 9 commits ahead of MikeCamino/newrelic_exporter:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

09b48d7 · Apr 5, 2020

History

64 Commits
Jun 29, 2015
Feb 14, 2017
Jul 24, 2018
Jul 25, 2018
Jul 24, 2018
Apr 5, 2020
Jun 8, 2015
Jun 11, 2015
Apr 5, 2020
Jul 25, 2018
Oct 30, 2019
Jul 24, 2018
Jul 6, 2016

Repository files navigation

New Relic Exporter

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

Building and running

Running in a container

cp newrelic_exporter.yml.example newrelic_exporter.yml
docker run mrf/newrelic-exporter

From source

git clone https://github.com/mrf/newrelic_exporter.git --branch release
cd newrelic_exporter
make
cp newrelic_exporter.yml.example newrelic_exporter.yml
./newrelic_exporter

Flags

Name Description
config Config file path. Defaults to newrelic_exporter.yml in current directory.

Available Configuration Values

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)
api.apps-list-cache-time Length of time to cache list of available applications
api.metric-names-cache-time Length of time to cache names of metrics (not values)
api.service Define section of API to limit requests to (applications, mobile, etc)
api.include-apps List of applications to query (optional)
api.include-metric-filters List of metric groups to filter by to reduce number of API calls (required)
api.include-values List of values to filter by to reduce number of API calls (optional)
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.
debug.proxy-address Proxy settings for debugging

About

NewRelic exporter for Prometheus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.4%
  • Dockerfile 1.3%
  • Makefile 0.3%