{"repo":"ujamii/prometheus-sentry-exporter","free":true,"listed":false,"github":"https://github.com/ujamii/prometheus-sentry-exporter","clone":"git clone https://github.com/ujamii/prometheus-sentry-exporter.git","description":"Exports sentry project metrics for prometheus.","language":"PHP","stars":40,"topics":["prometheus","prometheus-exporter","sentry","sentry-onpremise","openmetrics"],"license":"MIT","category":"analytics","readme_excerpt":"Exporter for sentry data in prometheus format This package uses the Sentry web api to query for some statistics and outputs them in OpenMetrics format to be scraped by prometheus. You can also fire it up as a docker container. Usage Using this exporter with Composer or Docker, you will need the hostname of your sentry installation and an auth token, which you can create via https:// /api/ if you're working with the Sentry self hosted . If you're working with Sentry cloud , you will need to create the token via https://sentry.io/settings/account/api/auth-tokens/ . with Composer Installation Usage in your custom file with Docker The image is based on php:8.1-apache and thus exposes data on port 80 by default. Assuming you fire this up with -p 80:80 on localhost, you can see the metrics on http://localhost/metrics. Configuration is done with 3 env variables: SENTRY HOST , AUTH TOKEN , USE THROTTLING and HTTP PROTO . The first 2 are mandatory, HTTP PROTO is optional and set to https by default. If you're working with the Sentry Cloud, your SENTRY HOST variable must be \"sentry.io\" When you set USE THROTTLING to true/TRUE or 1 , the exporter will throttle the API requests to prevent a rate limit. This is useful if you have a lot of projects and/or a lot of issues. Docker discontinues support for the free docker hub registry for orgs. The image is now available on GitHub Container Registry Output The script will generate something like: License and Contribution MIT As this is OpenSo","default_branch":null,"files":null,"tree":[],"storefront":"/r/ujamii","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ujamii/prometheus-sentry-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}