All Projects → saady → sentry-prometheus

saady / sentry-prometheus

Licence: other
Export hosted sentry statsd metrics to prometheus

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to sentry-prometheus

rhythm
Time-based job scheduler for Apache Mesos
Stars: ✭ 30 (+36.36%)
Mutual labels:  sentry
sentry-ruby-api
Ruby wrapper for getsentry/Sentry REST API
Stars: ✭ 19 (-13.64%)
Mutual labels:  sentry
django-template
The ultimate Django template: production ready Django 3.2 with Docker, HTTPS and CI/CD using Github actions ‎️‍🔥
Stars: ✭ 20 (-9.09%)
Mutual labels:  sentry
sentry-mattermost
Sends Sentry notifications to Mattermost Open Source Chat
Stars: ✭ 30 (+36.36%)
Mutual labels:  sentry
graphite-client
Windows (.NET) library and tools for feeding data into Graphite and statsD.
Stars: ✭ 85 (+286.36%)
Mutual labels:  statsd
dropwizard-raven
Dropwizard integration for error logging to Sentry.
Stars: ✭ 20 (-9.09%)
Mutual labels:  sentry
incubator-sentry
Mirror of Apache Sentry
Stars: ✭ 35 (+59.09%)
Mutual labels:  sentry
typescript-nuxtjs-boilerplate
🍱 Nuxt.js with TypeScript and Run with docker and docker-compose 🐶🦄🔥 visit: https://typescript-nuxtjs-boilerplate.netlify.com/example
Stars: ✭ 51 (+131.82%)
Mutual labels:  sentry
thvu-blog
My digital home on the internet.
Stars: ✭ 51 (+131.82%)
Mutual labels:  sentry
redux-sentry
Middleware that logs all your store and actions on exception to Sentry with raven-js
Stars: ✭ 13 (-40.91%)
Mutual labels:  sentry
grafana-stack
Tiny docker images for graphite, grafana and statsdly
Stars: ✭ 28 (+27.27%)
Mutual labels:  statsd
rust-statsd
Statsd client implemented in Rust
Stars: ✭ 50 (+127.27%)
Mutual labels:  statsd
zend-sentry
A Zend Framework 3 module that lets you log to the Sentry.io service.
Stars: ✭ 34 (+54.55%)
Mutual labels:  sentry
glouton
Monitoring agent for servers, containers, and applications 🔬
Stars: ✭ 19 (-13.64%)
Mutual labels:  statsd
sentry-fastlane-plugin
Official fastlane plugin for Sentry
Stars: ✭ 100 (+354.55%)
Mutual labels:  sentry
monitored
A utility for monitoring services 🔍
Stars: ✭ 37 (+68.18%)
Mutual labels:  statsd
paStash
pastaʃ'ʃ = Spaghetti I/O Event Data Processing, Interpolation, Correlation and beyond 🍝
Stars: ✭ 89 (+304.55%)
Mutual labels:  statsd
gin-statsd
A Gin middleware for reporting to statsd daemon
Stars: ✭ 33 (+50%)
Mutual labels:  statsd
Mail
RiiConnect24 Mail Scripts. OSS.
Stars: ✭ 11 (-50%)
Mutual labels:  sentry
sentry-android-gradle-plugin
Gradle plugin for Sentry Android. Upload proguard, debug files, and more.
Stars: ✭ 67 (+204.55%)
Mutual labels:  sentry

Monitor hosted sentry with prometheus

Since sentry does not support prometheus as a monitoring backend, we can send StatsdMetricsBackend metrics to statsd_exporter and configure prometheus to scrape them.

Demo:

sentry metrics

TODO

  • Add grafana dashboard
  • Deploy to kubernetes/minikube

Test

docker-compose build
docker-compose up
  • to view the scraped metrics in prometheus navigate to http://localhost:9090/

  • to view the translated statsd metrics navigate to http://localhost:9102/metrics

Notes:

  • The first time you do docker-compose up, you need to run:

    • docker exec -it <sentry_web_container_id> bash

    • sentry upgrade (we need to create database tables, and create a superuser account).

    • docker-compose stop

    • docker-compose up

  • The statsd metrics backend is configured in sentry.conf.py. Ref: (https://github.com/getsentry/sentry/blob/master/docs/internal-metrics.rst)

# Sentry statsd exporter config
SENTRY_METRICS_BACKEND = 'sentry.metrics.statsd.StatsdMetricsBackend'
SENTRY_METRICS_OPTIONS = {
    'host': os.environ.get('SENTRY_METRICS_HOST'),
    'port': os.environ.get('SENTRY_METRICS_PORT')
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].