Aidbox / Issues

Issue tracker for Aidbox FHIR backend by Health Samurai
7 stars 0 forks source link

Add logging for custom operations timeout #510

Closed pavlushkin closed 2 years ago

pavlushkin commented 2 years ago

Problem I need to solve

I have an Aidbox with a python app and custom operations. These operations are part of API exposed to external clients. Sometimes the operations reach timeout. I would like to know when it happens.

Solution I see

Add log records when a custom operation reaches timeout.

Alternatives I've considered, but they don't work

I explored existing logs generated by Aidbox and found no relevant items.

krevedkokun commented 2 years ago

@pavlushkin, hello. we have added log with :op/timeout ev. please try it and let us know if it works for you

pavlushkin commented 2 years ago

@krevedkokun hello, I used image: "healthsamurai/devbox:edge" and it did not work for me. What image should I try?

krevedkokun commented 2 years ago

@pavlushkin devbox is deprecated, use aidboxone image with dev-license

pavlushkin commented 2 years ago

It works for me, thank you!