Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cortexlabs/cortex
/ getSentryDSN
Function
getSentryDSN
pkg/lib/telemetry/telemetry.go:74–79 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
72
}
73
74
func
getSentryDSN() string {
75
if
envVar := os.Getenv(
"CORTEX_TELEMETRY_SENTRY_DSN"
); envVar !=
""
{
76
return
envVar
77
}
78
return
_sentryDSN
79
}
80
81
func
Init(telemetryConfig Config) error {
82
if
!telemetryConfig.Enabled {
Callers
1
Init
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected