MCPcopy
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
74func getSentryDSN() string {
75 if envVar := os.Getenv("CORTEX_TELEMETRY_SENTRY_DSN"); envVar != "" {
76 return envVar
77 }
78 return _sentryDSN
79}
80
81func Init(telemetryConfig Config) error {
82 if !telemetryConfig.Enabled {

Callers 1

InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected