Open rioug opened 6 months ago
I wondered if we can set this up with Ansible?
Even better, it should probably be an .env
variable, which both openfoodnetwork and newrelic could refer to.
All instance be au_prod
(new relic not setup for third party monitoring ) and in_prod
(new relic not setup) have been manually updated and are now reporting in new relic.
Leaving the ticket open till we fix the ansible script
Description
This came up as part of investigating infinite loading bug : https://github.com/openfoodfoundation/openfoodnetwork/issues/11752#issuecomment-2017002049
New Relic provides monitoring for redis, however it's configured with the wrong port. We need to be monitoring redis on port 6380. Redis monitoring is accessible in New Relic via Infrastructure -> Third party services -> Redis
Server to fix :
TODO
Fix ansible script so the correct configuration is used next time we provision a server
Fix
As an ofn-admin, ssh to the server:
cd /etc/newrelic-infra/integrations.d
redis-config.yml
systemctl restart newrelic-infra
Expected Behavior
Relic monitoring reports redis activity :
Actual Behaviour
Relic monitoring shows a flat graph :