Ashutosh Narkar
Ashutosh Narkar
We did a POC that implements a ring buffer based decision logger. Below are some end-to-end latency results. The tests use a very simple policy. The code is on [this](https://github.com/ashutosh-narkar/opa/tree/poc-ring-buffer)...
We wanted to make the release so went with the rule AST changes first 🙂 Package changes would be next.
This seems like the correct behavior. Maybe could add an example in the [test coverage ](https://www.openpolicyagent.org/docs/latest/policy-testing/#coverage) docs. @johanfylling wdyt?
@adammw if you'd like to update the docs feel free to submit a PR. Thanks!
We'll continue the discussion in https://github.com/open-policy-agent/opa/issues/6753. We can keep this open for tracking purposes.
The Prometheus metrics OPA provides are for the http handler. For the `opa-envoy` plugin the metrics should be in the decision log as Stephan mentioned. Have you looked into the...
@LionOnTheChase if you would like to contribute this feature, we'd be happy to guide you.
@LionOnTheChase thanks for the insight. > the amount of decision logs being generated are consuming high disk usage Decision logs are not persisted to disk. They are in-memory. You can...
Sure go for it @MattSilvaa!
> Should I create an issue there ? I think so. Closing this issue. Feel free to report your findings later. Thanks.