Skip to content
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

Truncate DiscoveryConfig.Status ErrorMessage #52347

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcoandredinis
Copy link
Contributor

Some fetchers might generate a lot of errors which are aggregated and sent to the DiscoveryConfig.Status.ErrorMessage.

This might cause gRPC clients to fail when listing DiscoveryConfigs with a grpc: received message larger than max (xyz vs. 4194304) error.

Allowing 100KB for the error message should give the user enough context on what's causing the errors.

Some fetchers might generate a lot of errors which are aggregated and
sent to the `DiscoveryConfig.Status.ErrorMessage`.

This might cause gRPC clients to fail when listing DiscoveryConfigs with
a `grpc: received message larger than max (xyz vs. 4194304)` error.

Allowing 100KB for the error message should give the user enough context
on what's causing the errors.
@marcoandredinis marcoandredinis force-pushed the marco/discoveryconfig_status_truncate_errormessage branch from f614dc2 to fbecdf2 Compare February 20, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant