outposts: fix outpost's sentry not sending release
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
2520c92b78
commit
47356915b1
|
@ -1,6 +1,7 @@
|
||||||
package ak
|
package ak
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -42,6 +43,7 @@ func doGlobalSetup(outpost api.Outpost, globalConfig api.Config) {
|
||||||
Dsn: dsn,
|
Dsn: dsn,
|
||||||
Environment: globalConfig.ErrorReporting.Environment,
|
Environment: globalConfig.ErrorReporting.Environment,
|
||||||
TracesSampleRate: float64(globalConfig.ErrorReporting.TracesSampleRate),
|
TracesSampleRate: float64(globalConfig.ErrorReporting.TracesSampleRate),
|
||||||
|
Release: fmt.Sprintf("authentik@%s", constants.VERSION),
|
||||||
IgnoreErrors: []string{
|
IgnoreErrors: []string{
|
||||||
http.ErrAbortHandler.Error(),
|
http.ErrAbortHandler.Error(),
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue