Go

Install go get github.com/getsentry/sentry-go

sentry-go reports to Blipit with the DSN swapped. Flush before the process exits so the last events are not lost.

1Install

sh
go get github.com/getsentry/sentry-go

2Initialise in main

go
import (
    "time"
    "github.com/getsentry/sentry-go"
)

func main() {
    err := sentry.Init(sentry.ClientOptions{
        Dsn:              "https://<public key>@in.blipit.io/<project id>",
        Environment:      "production",
        Release:          "myapp@1.4.2",
        TracesSampleRate: 0.2,
    })
    if err != nil {
        log.Fatalf("blipit: %s", err)
    }
    defer sentry.Flush(2 * time.Second)
    sentry.CaptureMessage("Hello from Go")
}

3Check it works

Open Issues in app.blipit.io. The first event appears within a few seconds, grouped into an issue, and the people in charge get an email.

Stuck? Email support@blipit.io. Keys and the exact DSN for each project are under API keys in app.blipit.io.