VEuPathDB / lib-jaxrs-container-core

Core library for VEuPathDB JaxRS container services
Apache License 2.0
0 stars 0 forks source link

Update the PrometheusFilter to better account for handling unmatched requests #27

Open dmgaldi opened 1 year ago

dmgaldi commented 1 year ago

Overview

Recently, unmatched requests were causing a null-pointer exception which was accounted for with a hot-fix here.

This is caused by the request filter not running for certain types of requests including 404 errors, though the response filter seems to run regardless. It may be worth taking some time to understand this interaction and update the code accordingly.