Skip to content

Integrate sentry to a Rocket App with the Sentry Rust SDK

Notifications You must be signed in to change notification settings

security-union/rust-sentry-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentry Rust Integration

Usage

To install the latest self-hosted sentry version, execute the install-sentry-latest.sh script.

It will create a sentry-client folder with the downloaded files there and install sentry locally for you.

Create a user when it prompts to so you are able to login locally on the app.

Sentry run

make run-sentry

Sentry stop

make down-sentry

To run the Rocket server, execute the following steps:

  1. copy the .env.example to an .env file
  2. run the sentry app and go to localhost:9000
  3. Go to your project (Create one if necessary) > settings > Client Keys
  4. Copy the DSN key and set the SENTRY_DSN variable on the .env file with it
  5. cargo run!

Have fun! 🚀

About

Integrate sentry to a Rocket App with the Sentry Rust SDK

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published