# New Relic Exporter

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

## Building and running

    make
    ./newrelic_exporter <flags>

### 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.
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.

# 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

### 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.
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.

Update docs to include docker
Update docs to include docker
