Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pearofducks/trackjs-prometheus-proxy
- Owner: pearofducks
- License: mit
- Created: 2020-02-12T17:54:36.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T18:02:12.000Z (almost 5 years ago)
- Last Synced: 2024-10-31T19:12:07.443Z (about 2 months ago)
- Topics: prometheus-metrics, trackjs
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`.