solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy
https://docs.solo.io/
Apache License 2.0
4.05k stars 431 forks source link

parse error during transformation can silently fail #5945

Open bcollard opened 2 years ago

bcollard commented 2 years ago

Gloo Edge Version

1.9.x

Kubernetes Version

No response

Describe the bug

Given a transformation without ignoreErrorOnParse when the payload cannot be parsed (xml instead of json) then Envoy silently fails and return some 400 error.

Users would like to see parsing errors in the logs and ideally some metric (type counter) to set up alerts.

Steps to reproduce the bug

see above. A reproducible setup will be provided later.

Expected Behavior

logs and/or metrics

Additional Context

No response

github-actions[bot] commented 1 month ago

This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.