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
Policies that invoke http.send are often bottlenecked on I/O. It would be useful to report the amount of time spent on http.send or other built-in functions that perform similar operations. There are a few options for solving this:
Annotate built-in functions to indicate they should be reported specially
Allow built-in functions to inject metrics into the evaluation context
Separately there's a decision about whether this should be on by default (or if the caller should have to opt-in).
The text was updated successfully, but these errors were encountered:
Previously the built-in functions had no way to record metrics for
performance monitoring or other purposes. With this change, built-in
functions can manipulate the evaluation metrics. Initially, only the
http.send function has been updated to report latency.
Fixesopen-policy-agent#2034
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
Previously the built-in functions had no way to record metrics for
performance monitoring or other purposes. With this change, built-in
functions can manipulate the evaluation metrics. Initially, only the
http.send function has been updated to report latency.
Fixes#2034
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
Policies that invoke
http.send
are often bottlenecked on I/O. It would be useful to report the amount of time spent onhttp.send
or other built-in functions that perform similar operations. There are a few options for solving this:Separately there's a decision about whether this should be on by default (or if the caller should have to opt-in).
The text was updated successfully, but these errors were encountered: