You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
decision_logs.reporting.buffer_size_limit_bytes should probably have default value that suits the smallest containers. I understand that there are use cases where logs are required, but a crash wouldn't help there either.
Describe the ideal solution
I think most people want OPA to rather throw away logs than causing runtime exceptions.
The text was updated successfully, but these errors were encountered:
We should try to do that. 🔍 I'd imagine an infinite loop that queries, queries, queries, while having the decision logger configured to send to a port without a service, should trigger this...?
Optimizing the value for minimal resource allocation sounds a bit risky to me — I would not want OPA to discard decisons if it's using like 10% of the memory I've allocated for the process. In an ideal scenario you'd be able to do something like:
After a discussion on Slack I realised that OPA would end up in a OOM, if its unable to push its decision logs to the control plane.
https://openpolicyagent.slack.com/archives/CBR63TK2A/p1651663584624969. I haven't verified this is the case yet.
What part of OPA would you like to see improved?
decision_logs.reporting.buffer_size_limit_bytes
should probably have default value that suits the smallest containers. I understand that there are use cases where logs are required, but a crash wouldn't help there either.Describe the ideal solution
I think most people want OPA to rather throw away logs than causing runtime exceptions.
The text was updated successfully, but these errors were encountered: