Skip to content

OPA SDK features #269

Sep 10, 2022 · 3 comments · 7 replies
Discussion options

You must be logged in to vote

I don't think it's possible to get these as a result of calling Decision(). The SDK doesn't expose the same API as the HTTP APIs, which let you set those things; but instead deals with setting up a runtime that is exactly the same as what the HTTP APIs use.

However, it allows setting up plugins for decision logs and status reports -- I suppose some of what you're asking for here could be dealt with in that manner? The decision logs should have information about each and every evaluation, including provenance and metrics.

I don't think anything related to strict-builtin-errors, instrumentation, or explain (traces) is supported, though. Feel free to open an issue if you need a concrete enha…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@humbertoc-silva
Comment options

Answer selected by humbertoc-silva
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@charlieegan3
Comment options

@humbertoc-silva
Comment options

@charlieegan3
Comment options

@anderseknert
Comment options

@humbertoc-silva
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants