What changes
- The DSN host
- The server you send events to
urgentry works with the Sentry SDKs you already use. Start with the package for your language, point the DSN at your urgentry instance, and make sure the first event lands before you touch anything broader.
Each card shows the install step and the smallest init snippet you need to prove the event path. Replace the DSN, run it, and check the issue detail in urgentry.
Package: sentry-sdk
pip install sentry-sdk
import sentry_sdk
sentry_sdk.init(
dsn="http://your-key@localhost:8080/1",
traces_sample_rate=1.0,
)
# Capture an error
try:
1 / 0
except ZeroDivisionError:
sentry_sdk.capture_exception()
Package: @sentry/node
npm install @sentry/node
const Sentry = require("@sentry/node");
Sentry.init({
dsn: "http://your-key@localhost:8080/1",
tracesSampleRate: 1.0,
});
Sentry.captureException(new Error("Hello from urgentry!"));
Package: sentry-go
go get github.com/getsentry/sentry-go
import "github.com/getsentry/sentry-go"
sentry.Init(sentry.ClientOptions{
Dsn: "http://your-key@localhost:8080/1",
TracesSampleRate: 1.0,
})
defer sentry.Flush(2 * time.Second)
sentry.CaptureMessage("Hello from urgentry!")
Package: sentry-ruby
gem install sentry-ruby
require "sentry-ruby"
Sentry.init do |config|
config.dsn = "http://your-key@localhost:8080/1"
config.traces_sample_rate = 1.0
end
Sentry.capture_message("Hello from urgentry!")
Package: io.sentry:sentry
implementation 'io.sentry:sentry:7.0.0'
import io.sentry.Sentry;
Sentry.init(options -> {
options.setDsn("http://your-key@localhost:8080/1");
options.setTracesSampleRate(1.0);
});
Sentry.captureMessage("Hello from urgentry!");
Package: sentry/sentry
composer require sentry/sentry
\Sentry\init([
'dsn' => 'http://your-key@localhost:8080/1',
'traces_sample_rate' => 1.0,
]);
\Sentry\captureMessage('Hello from urgentry!');
Package: Sentry
dotnet add package Sentry
using Sentry;
SentrySdk.Init(o => {
o.Dsn = "http://your-key@localhost:8080/1";
o.TracesSampleRate = 1.0;
});
SentrySdk.CaptureMessage("Hello from urgentry!");
Package: sentry
cargo add sentry
let _guard = sentry::init((
"http://your-key@localhost:8080/1",
sentry::ClientOptions {
traces_sample_rate: 1.0,
..Default::default()
},
));
sentry::capture_message("Hello from urgentry!", sentry::Level::Info);
Once the snippet works, move back to the migration guide, benchmark story, or self-hosted operator path that applies to your rollout.