Skip to content

Understanding the Performance metrics better #239

Discussion options

You must be logged in to vote

@deshmukhrajvardhan Thank you for your patience! Here's what I was able to dig up from a cursory look around the OPA REST API sources, hunting for metrics-related stuff:

  1. timer_server_handler_ns is a holistic measurement; it tells you how long everything took to process on the API endpoint you hit. So, it may wrap up some/most/all of the other parameters mentioned on that page, depending on the situation. It's meant to mimic common web framework endpoint timing metrics, so that you can understand the overall latency of a request/response on the server.
  2. So, there's 2x separate things going on:
    • timer_rego_module_compile_ns should only come up when a new policy is created/updated with a PUT…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@deshmukhrajvardhan
Comment options

Answer selected by deshmukhrajvardhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants