ContaAzul / newrelic_browser_exporter

Exports New Relic Browser applications metrics data as Prometheus metrics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

newrelic_browser_exporter

Exports new relic browser metrics data as prometheus metrics.

Expose the following metric:

  • Percentage of pageviews with javascript errors.

Building and Running

You will need API_KEY and browser APP_ID from new relic account.

With docker:

To run:

docker run -p 9595:9595 -e "API_KEY=****" -e "APP_ID=****" caninjas/newrelic_browser_exporter

From source:

Clone this repo and go to newrelic_browser_exporter folder:

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

Install dependencies with npm install command and run with:

APP_ID='****' API_KEY='****' npm start

Metrics will be exposed in localhost:9595/metrics

Would you like to help? See contributing.

About

Exports New Relic Browser applications metrics data as Prometheus metrics.

License:Apache License 2.0


Languages

Language:JavaScript 92.6%Language:Shell 5.4%Language:Dockerfile 2.1%