Spike: Filter out some network error logs
AgnesToulet opened this issue · 0 comments
AgnesToulet commented
What would you like to be added:
Some network 404 errors are expected but they are logged by the image renderer as any error and it may be hard to know which ones are expected and which ones are not. We should add a way to filter out the expected ones like:
logger=plugin.grafana-image-renderer t=2024-02-08T11:37:34.065515151-03:00 level=error msg="Browser console error" msg="Failed to load resource: the server responded with a status of 404 (Not Found)" url=http://localhost:3000/api/recording-rules/writer