Skip to content

SpikeeLabs/sentry-dynamic-sampling-controller

Repository files navigation

Sentry Dynamic Sampling Controller

Tests Status codecov

This project aims to provide dynamic sampling without relying on Sentry Dynamic Sampling.

It work by installing the library sentry-dynamic-sampling-lib on each project that use sentry. This lib hooks into the sentry callback to change the sampling rate. To get the rate the lib calls this service.

Docs : here

How to deploy : here

Install

# install deps
poetry install

# pre-commit
poetry run pre-commit install --install-hook
poetry run pre-commit install --install-hooks --hook-type commit-msg

Run

poetry shell

python manage.py migrate

# add user
python manage.py createsuperuser

# load all permission group
python manage.py loadpermissions

# run server
# admin @ http://localhost:8000/admin/
python manage.py runserver

Develop

# build docs
sphinx-build -b html docs public

About

This project aims to provide dynamic sampling without relying on Sentry Dynamic Sampling.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •