bcgov / common-object-management-service

A microservice for managing access control to S3 Objects
https://bcgov.github.io/common-object-management-service/
Apache License 2.0
6 stars 9 forks source link

Support application performance management (APM) #153

Open pbolduc opened 1 year ago

pbolduc commented 1 year ago

Is your feature request related to a problem? Please describe.

When running COMS in OpenShift, there is no easy way to monitor the heath of a COMS deployment.

See

TimCsaky commented 11 months ago

Update: The hosted COMS service uses a GitHub actions based pipeline with OpenShift deployment templates (managed by Helm). These are included in the COMS repo. (see .github and charts directories) The app containers do have configured liveness/readiness checks by calling the root path. We use the bc gov sysdig service to log/alert on those failing. I documented our Sysdig set-up for our hosted API's. But perhaps we do need a dedicated 'health' endpoint. I will raise that with the devs.

We're using the Express/Winston logging middleware that allows for different logging output levels. When we get time we would like to include a fluent-bit container that sends application, access, error logs etc to different outputs. For now we only monitor http errors using Sysdig.