Exports new relic browser metrics data as prometheus metrics.
Expose the following metric:
- Percentage of pageviews with javascript errors.
You will need API_KEY and browser APP_ID from new relic account.
To run:
docker run -p 9595:9595 -e "API_KEY=****" -e "APP_ID=****" caninjas/newrelic_browser_exporter
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.