newrelic_exporter

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2022 License: BSD-2-Clause Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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 -p 9126:9126 -v $PWD/newrelic_exporter.yml:/app/newrelic_exporter.yml devopscora/newrelic-exporter
From source
git clone https://github.com/corabank/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.use-only-summary Use only summary metrics, default false
api.include-metric-filters List of metric groups to filter by to reduce number of API calls (optional). ["WebTransactionTotalTime", "Errors/all"]
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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址