Evaluating total time taken by OPA server to return authz decision #357
Unanswered
dushyant7917
asked this question in
Wasm
Replies: 1 comment 5 replies
-
Hi @dushyant7917, I think that Are you comparing a wasm policy against a Rego one? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Below is the metrics section from the response returned by OPA server when evaluating a policy bundle.
How to find out time taken by the OPA server to get the decision/output.
Do we need to add the values for following keys?
-- timer_wasm_pool_acquire_ns
-- timer_wasm_pool_release_ns
-- timer_wasm_vm_eval_call_ns
-- timer_wasm_vm_eval_ns
-- timer_wasm_vm_eval_prepare_input_ns
-- timer_rego_external_resolve_ns
-- timer_rego_input_parse_ns
-- timer_rego_query_eval_ns
-- timer_rego_query_eval_ns
So, for evaluation using WASM total time taken by server is
9200 + 9200 + 80200 + 149200 + 11900
ns and for evaluation using Rego total time taken is466600 + 65900 + 594200 + 784800
ns?Beta Was this translation helpful? Give feedback.
All reactions