hypertrace / javaagent

Hypertrace OpenTelemetry Java agent with payload/body and headers data capture.
Apache License 2.0
33 stars 15 forks source link

chore: ignore null filters and issue warning message #375

Closed tyroneyu closed 1 year ago

tyroneyu commented 1 year ago

Description

If filter initialization fails and returns a null Filter, incoming requests might generate a NPE.

Testing

Please describe the tests that you ran to verify your changes. Please summarize what did you test and what needs to be tested e.g. deployed and tested helm chart locally.

Checklist:

Documentation

Make sure that you have documented corresponding changes in this repository or hypertrace docs repo if required.