Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pearofducks/trackjs-prometheus-proxy

a webapp to download error-rates from TrackJS and serve them as Prometheus metrics
https://github.com/pearofducks/trackjs-prometheus-proxy

prometheus-metrics trackjs

Last synced: 3 days ago
JSON representation

a webapp to download error-rates from TrackJS and serve them as Prometheus metrics

Awesome Lists containing this project

README

        

# TrackJS to Prometheus proxy

a webapp to download error-rates from TrackJS and serve them as Prometheus metrics

## setup

You'll need to provide your `CUSTOMER_ID` and `AUTHORIZATION` either as environment variables, or in a `.env` file.

Example .env file:

```
CUSTOMER_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AUTHORIZATION=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```

then add any applications you want to proxy to the array in `applications.js`.

## dev

You can start a development environment with `npm run dev`.

## prod

You can start an instance without and debug logging with `npm start`.