Open adambondarzewski opened 6 days ago
Hi, the appCrash_total
metric will only be increased if ShinyProxy is aware of the crash. In this case, ShinyProxy shows the following screen:
and also logs this message:
Proxy unreachable/crashed, stopping it now, failed request: GET ...
Can you confirm whether you see this behavior?
Thanks for the response! Indeed I don't see this screen. Just greying the app and error message in the app container logs.
I've double checked and I can confirm that I don't see the "This app has crashed..." screen nor any indication in shinyproxy logs. Last log is something like
2024-11-13T11:27:42.608Z INFO 9 --- [ProxyService-15] e.o.containerproxy.service.ProxyService : [user=adam.bondarzewski@company.com proxyId=35bd385c-7b08-4921-bafe-13759239adef specId=myapp] Proxy activated
Could you please advice how to make shinyproxy aware of the crashes? I'm using a setup with docker (one container per user, without preinitialization). The container is still up after the crash. I just see error message in the app container logs.
I've configured Shinyproxy actuator endpoint, to get Usage Statistics following the official readme.
Then I've checked
localhost:9090/actuator/prometheus
and I've noticed thatappCrash_total
counter continues to show0.0
even though I delibaretely crashed the app several times to check the setup. The crashes resulted in greying the app and stopping the app container. In the same time, other statistics likeabsolute_users_logged_in
orstartFailed_total
are correct:Am I missing something obvious?
My
application.yaml
: