Commit f38cf00c0615c203f139d8d170504f4362e22a07
1 parent
fd4f23cb
Exists in
master
and in
85 other branches
Log colab error into sentry instance
Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Showing
6 changed files
with
12 additions
and
0 deletions
Show diff stats
config/dev/config.yaml
... | ... | @@ -14,4 +14,5 @@ relay_ip: 189.9.151.44 |
14 | 14 | external_outgoing_mail_relay: 189.9.150.53 |
15 | 15 | alt_ssh_port: 55555 |
16 | 16 | external_outgoing_mail_domain: serpro.gov.br |
17 | +raven_dsn: https://a5e2f92a83774dfc9de66486e0fe970b:1a9229a4e1d2483582144d302fb53115@sentry.tracy.com.br/19 | |
17 | 18 | google_analytics_id: 'UA-64206731-2' | ... | ... |
config/homologa/config.yaml
... | ... | @@ -15,4 +15,5 @@ relay_hostname: relay.homologa.softwarepublico.gov.br |
15 | 15 | relay_ip: 189.9.151.66 |
16 | 16 | external_outgoing_mail_relay: 189.9.150.53 |
17 | 17 | external_outgoing_mail_domain: serpro.gov.br |
18 | +raven_dsn: https://a5e2f92a83774dfc9de66486e0fe970b:1a9229a4e1d2483582144d302fb53115@sentry.tracy.com.br/19 | |
18 | 19 | google_analytics_id: 'UA-64206731-3' | ... | ... |
config/local/config.yaml
config/prod/config.yaml
... | ... | @@ -15,4 +15,5 @@ relay_hostname: relay.softwarepublico.gov.br |
15 | 15 | relay_ip: 189.9.151.68 |
16 | 16 | external_outgoing_mail_relay: 189.9.150.53 |
17 | 17 | external_outgoing_mail_domain: serpro.gov.br |
18 | +raven_dsn: https://4418146896924efe9b73d557f803f047:8a59f39b5f584ff589ecf3dd47faaead@sentry.tracy.com.br/13 | |
18 | 19 | google_analytics_id: 'UA-64206731-1' | ... | ... |
cookbooks/colab/recipes/default.rb
... | ... | @@ -113,6 +113,12 @@ template '/etc/colab/settings.d/02-logging.yaml' do |
113 | 113 | notifies :restart, 'service[colab]' |
114 | 114 | end |
115 | 115 | |
116 | +template '/etc/colab/settings.d/03-sentry.yaml' do | |
117 | + owner 'root' | |
118 | + group 'colab' | |
119 | + mode 0640 | |
120 | + notifies :restart, 'service[colab]' | |
121 | +end | |
116 | 122 | |
117 | 123 | directory '/var/lib/colab-assets/spb/' do |
118 | 124 | owner 'root' | ... | ... |