https://github.com/whyeasy/sentry-exporter
Prometheus exporter to receive Sentry data.
https://github.com/whyeasy/sentry-exporter
Last synced: 12 months ago
JSON representation
Prometheus exporter to receive Sentry data.
- Host: GitHub
- URL: https://github.com/whyeasy/sentry-exporter
- Owner: Whyeasy
- License: apache-2.0
- Created: 2021-07-15T09:14:19.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-15T10:54:07.000Z (almost 5 years ago)
- Last Synced: 2025-03-29T09:28:45.824Z (over 1 year ago)
- Language: Go
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README



# Sentry exporter
A Prometheus exporter for Sentry issues and events.
Currently this exporter retrieves the following metrics:
- Total amount of issues per project per environment
- Total amount of events per issue per project per environment
## Requirements
- Provide a Sentry API key; `--sentryAPIKey=` or as env variable `SENTRY_API_KEY`.
- Provide your Sentry organization; `--sentryOrg=` or as env variable `SENTRY_ORG`.
### Optional
Change listening port of the exporter; `--listenAddress ` or as env variable `LISTEN_ADDRESS`. Default = `8080`
Change listening path of the exporter; `--listenPath ` or as env variable `LISTEN_PATH`. Default = `/metrics`
Change the interval of retrieving data in the background; `--interval ` or as env variable `INTERVAL`. Default is `60`
Change the log format; `--logFormat=` or as env variable `LOG_FORMAT`. Default = `logfmt`.
Change the log level; `--logLevel=` or as env variable `LOG_LEVEL`. Default = `info`.
Change Sentry URI; `--sentryURI=` or as env variable `SENTRY_URI`. Default = `https://sentry.io/api/0/`