This service powers the results for uptime monitoring in Sentry.
(The Dockerfile.localdev file is likely not what you want--it's only used for running linux-specific local tests.)
We have lots of tests that run quickly and will therefore provide you with a quick development loop. For more holistic testing, you can run the uptime-checker on your machine.
- Protobuffers and CMake
brew install protobuf
brew install cmake
- Prepare your local development environment by following the guide here
- (For now), ensure the following settings are in your
~/.sentry/sentry.conf.py
file:
SENTRY_FEATURES['organizations:insights-uptime'] = True
SENTRY_EVENTSTREAM = "sentry.eventstream.kafka.KafkaEventStream"
SENTRY_USE_UPTIME = True
- Ensure Sentry is started with
ingest
andworkers
flags:
sentry devserver --workers --ingest
- The Makefile defines a few targets:
run
andrun-verbose
run the server (with additional logging), andtest
for running all tests.