Log HTTP errors in InfluxDB instead of Sentry #1232
Replies: 3 comments
-
hello, do I need to setup an influxdb cloud account to solve this issue? or am I looking for answers in the wrong area? |
Beta Was this translation helpful? Give feedback.
-
Hello! |
Beta Was this translation helpful? Give feedback.
-
Connection to the monitoring influxdb is possible. In staging and production it's exposed on 10.0.0.3:8086 see (docker-compose and github action), but of course, this is a private network. If you want to test locally you should use docker to launch an influxdb locally and expose it. |
Beta Was this translation helpful? Give feedback.
-
Currently, all HTTP errors (4XX, 5XX) - mostly when calling Open Food Facts (Product Opener) API - are logged in Sentry.
This type of error occurs frequently, and Sentry is not the best tool to keep track of this kind of error.
Instead of logging it in Sentry, log it in in Influx DB (probably in monitoring infuxDB).
Beta Was this translation helpful? Give feedback.
All reactions