CodeForPhilly / chime

COVID-19 Hospital Impact Model for Epidemics
https://codeforphilly.github.io/chime/
MIT License
205 stars 151 forks source link

["Observability"] Implement APM, Template Example and Create Enhancement for other to contribute. #566

Open MooseQuest opened 4 years ago

MooseQuest commented 4 years ago

Application Performance Management allows us to instrument the app to understand what is happening on the inside and not just via stdout.

This is to implement APM for a function in CHIME and then produce reference documentation to how to implement. The last part is to produce an issue (enhancement) that allows you to place this anywhere in the project, or reusable in any extension.

To mark this resolved, we must:

fxdgear commented 4 years ago

Reference Docs can be found here: https://www.elastic.co/guide/en/apm/get-started/current/overview.html

Reference for Python APM agent can be found here: https://www.elastic.co/guide/en/apm/agent/python/current/index.html

Once we get a finalized implementation of the APM server you can configure the deployment of your applications POD with a few ENV vars referenced here