ContaAzul / newrelic_insights_exporter

Exports metrics from New Relic Insights for consumption by Prometheus.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

newrelic_insights_exporter

Exports new relic insights metrics data as prometheus metrics.

Metrics are exposed according config file inside src folder and supports json and yaml extension.

Before starting, create a config file. If necessary, use the .example files provided above.

Building and Running

You will need QUERY_KEY and APP_ID from new relic account.

With docker:

To run:

docker run -p 9696:9696 -e "QUERY_KEY=****" -e "APP_ID=****" caninjas/newrelic_insights_exporter

From source:

Clone this repo and go to newrelic_insights_exporter folder:

> git clone git@github.com:ContaAzul/newrelic_insights_exporter.git
> cd newrelic_insights_exporter

Install dependencies with npm install command and run with:

APP_ID='****' QUERY_KEY='****' npm start

Metrics will be exposed in localhost:9696/metrics

About

Exports metrics from New Relic Insights for consumption by Prometheus.

License:Apache License 2.0


Languages

Language:JavaScript 86.3%Language:Shell 9.9%Language:Dockerfile 3.8%