Deploy an error reporting server, for example a Sentry instance to get exceptions from applications.
We can easily test that with Auth Grove and the Notifications Center, adding report logic to app/Exceptions/Handler.php, in the report method.
Deploy an error reporting server, for example a Sentry instance to get exceptions from applications.
We can easily test that with Auth Grove and the Notifications Center, adding report logic to app/Exceptions/Handler.php, in the report method.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Sandlayth | T678 Deploy nasqueron/notifications docker image on Dwellers | |||
Resolved | dereckson | T684 Install an error reporting server | |||
Wontfix | dereckson | T685 Decouple redis from forum container on Dwellers | |||
Wontfix | dereckson | T686 Decouple PostgreSQL from forum container on Dwellers |
$ docker run -d --name sentry-redis redis 5c771e0df253dbcbe5623b86d38fddaddec11731f07fa30916bf7ba7b4f17a2d $ docker stats sentry-redis CONTAINER CPU % MEM USAGE/LIMIT MEM % NET I/O sentry-redis 0.17% 8.511 MB/3.403 GB 0.25% 648 B/648 B
Live on https://sentry.nasqueron.org.
Container properties
DNS
sentry.nasqueron.org CNAME www3.nasqueron.org
nginx
server { listen 80; listen [::]:80; server_name sentry.nasqueron.org; include letsencrypt; include ssl_params; ssl_certificate /data/letsencrypt/etc/live/sentry.nasqueron.org/fullchain.pem; ssl_certificate_key /data/letsencrypt/etc/live/sentry.nasqueron.org/privkey.pem; include proxy_params_ssl; location / { proxy_pass http://localhost:26080/; } }
SSL certificate
$ letsencrypt certonly --server https://acme-v01.api.letsencrypt.org/directory -a webroot --webroot-path=/www -d sentry.nasqueron.org - Congratulations! Your certificate and chain have been saved at /etc/letsencrypt/live/sentry.nasqueron.org/fullchain.pem. Your cert will expire on 2016-05-30. To obtain a new version of the certificate in the future, simply run Let's Encrypt again. [...]
Container creation scripts
Stats
$ docker stats nuern sentry sentry-celery-beat sentry-celery-worker1 sentry-redis CONTAINER CPU % MEM USAGE/LIMIT MEM % NET I/O nuern 0.00% 33.69 MB/3.403 GB 0.99% 1.051 MB/893.8 kB sentry 0.01% 230.6 MB/3.403 GB 6.78% 464.7 kB/7.447 MB sentry-celery-beat 0.00% 66.04 MB/3.403 GB 1.94% 188.5 kB/698.9 kB sentry-celery-worker1 0.72% 127.4 MB/3.403 GB 3.74% 1.487 MB/3.352 MB sentry-redis 0.27% 5.456 MB/3.403 GB 0.16% 4.15 MB/1.505 MB