-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Surface decision log errors via status API #5637
Comments
Currently errors encountered during decision log uploads are logged. This change now includes these errors as part of status updates which can be useful for the control plane to determine if OPA is having any issues while processing, uploading logs etc. Fixes: open-policy-agent#5637 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
Currently errors encountered during decision log uploads are logged. This change now includes these errors as part of status updates which can be useful for the control plane to determine if OPA is having any issues while processing, uploading logs etc. Fixes: open-policy-agent#5637 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
Currently errors encountered during decision log uploads are logged. This change now includes these errors as part of status updates which can be useful for the control plane to determine if OPA is having any issues while processing, uploading logs etc. Fixes: open-policy-agent#5637 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
Currently errors encountered during decision log uploads are logged. This change now includes these errors as part of status updates which can be useful for the control plane to determine if OPA is having any issues while processing, uploading logs etc. Fixes: open-policy-agent#5637 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
Currently errors encountered during decision log uploads are logged. This change now includes these errors as part of status updates which can be useful for the control plane to determine if OPA is having any issues while processing, uploading logs etc. Fixes: #5637 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
In #5732 we updated the decision log plugin to surface errors via the Status API. There are some other events like encoder errors and log drops due to buffer size limits for eg. are logged but there is no metric or status entry from them. We should capture those as well. |
Also we seem to be adding the global metric registry under the decision log status update here. This should not be needed as the status plugin already reports those. |
Previously in open-policy-agent#5732 we updated the decision log plugin to surface errors via the Status API. However in that change certain events like encoder errors and log drops due to buffer size limits had no metrics associated with them. This change adds more metrics for these events so that they can be surfaced via the Status API. Fixes: open-policy-agent#5637 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
Previously in #5732 we updated the decision log plugin to surface errors via the Status API. However in that change certain events like encoder errors and log drops due to buffer size limits had no metrics associated with them. This change adds more metrics for these events so that they can be surfaced via the Status API. Fixes: #5637 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
What is the underlying problem you're trying to solve?
Currently while processing decision logs, any errors that are encountered are logged. But these errors are not included in status updates which can be useful for the control plane to determine if OPA is having any issues while processing, uploading logs etc.
Describe a "Good Enough" solution
Include decision log plugin errors in status updates.
The text was updated successfully, but these errors were encountered: