Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: explain counter_server_query_cache_hit and its effect #4389

Closed
anderseknert opened this issue Feb 28, 2022 · 1 comment · Fixed by #4946
Closed

docs: explain counter_server_query_cache_hit and its effect #4389

anderseknert opened this issue Feb 28, 2022 · 1 comment · Fixed by #4946

Comments

@anderseknert
Copy link
Member

The REST API docs on performance metrics makes no mention of the counter_server_query_cache_hit attributed returned in the response (with the metrics=true query parameter set), nor its effects on the other attributes returned, such as timer_rego_query_compile_ns and timer_rego_query_parse_ns dissapearing from the responses (since they are... well, cached ;))

Since the question of query caching (or even if OPA does decision caching) comes up every now and then, it would be good to have some docs to point to.

@stale
Copy link

stale bot commented Mar 31, 2022

This issue has been automatically marked as inactive because it has not had any activity in the last 30 days.

@stale stale bot added the inactive label Mar 31, 2022
ashutosh-narkar added a commit to ashutosh-narkar/opa that referenced this issue Jul 29, 2022
Fixes: open-policy-agent#4389

Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
srenatus pushed a commit that referenced this issue Jul 29, 2022
Fixes: #4389

Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment