File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ services:
64
64
- " 3000:3000"
65
65
- " 3001:3001"
66
66
environment :
67
+ - ENVIRONMENT=development
67
68
- JAEGER_AGENT_HOST=jaeger
68
69
- JAEGER_SAMPLER_TYPE=const
69
70
- JAEGER_SAMPLER_PARAM=1
70
71
- JAEGER_SERVICE_NAME=testserver
71
- - SENTRY_ENVIRONMENT=development
72
72
- SENTRY_RELEASE=HEAD
73
73
- PACE_LIVETEST_INTERVAL=10s
74
74
- LOG_FORMAT=console
Original file line number Diff line number Diff line change 9
9
10
10
## Environment based configuration
11
11
12
+ * ` ENVIRONMENT `
13
+ * Default environment of sentry reported in the dashboard
12
14
* ` SENTRY_DSN `
13
15
* URL of the sentry DSN
14
- * ` SENTRY_ENVIRONMENT `
15
- * Environment of sentry reported in the dashboard
16
16
* ` SENTRY_RELEASE `
17
17
* Name of the release e.g. git commit or similar
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ func newClient(tags map[string]string) *Client {
376
376
log .Warnf ("DSN environment was set to %q but failed: %v" , dsn , err )
377
377
}
378
378
client .SetRelease (os .Getenv ("SENTRY_RELEASE" ))
379
- client .SetEnvironment (os .Getenv ("SENTRY_ENVIRONMENT " ))
379
+ client .SetEnvironment (os .Getenv ("ENVIRONMENT " ))
380
380
return client
381
381
}
382
382
You can’t perform that action at this time.
0 commit comments