hotosm / galaxy-api

Backend to fetch data from Underpass
https://galaxy-api.hotosm.org/latest/redoc
GNU Affero General Public License v3.0
14 stars 5 forks source link

Add New relic install and instructions #104

Closed dakotabenjamin closed 2 years ago

dakotabenjamin commented 2 years ago

Tested locally and was able to get data into new relic. We will need to add a wrapper to the server supervisor command as follows:

environment=NEW_RELIC_CONFIG_FILE=$PROJECT_ROOT/newrelic.ini
command=$INSTALL_PATH/newrelic-admin run-program /home/ubuntu/env/bin/uvicorn --fd 0 API.main:app