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
after adding some debug lines in the library, it turns out that the actual error (that unfortunately gets swallowed in post_json) is along the lines of
413 Content Too Large
Error
Payload Too Large
Our unleash installation (at FINN.no) has a large amount of features, and digging through the code, it looks like the rust client tries to upload metrics for every single feature that exists -- even if I've only configured a UserFeatures enum with a single variant -- resulting in over 150KB of data.
Is this intentional and required? Naively I'd have guessed that it only made sens to upload metrics for the features defined in the enum passed to the client builder.
Steps to reproduce the bug
No response
Expected behavior
No response
Logs, error output, etc.
No response
Screenshots
No response
Additional context
No response
Unleash version
3.17
Subscription type
Open source
Hosting type
Self-hosted
SDK information (language and version)
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi!
Testing out this Rust sdk and it works well for getting feature toggle status, but it always fails when submitting metrics, with this in the log:
WARN unleash_api_client::client > poll: error uploading feature metrics
after adding some debug lines in the library, it turns out that the actual error (that unfortunately gets swallowed in
post_json
) is along the lines ofOur unleash installation (at FINN.no) has a large amount of features, and digging through the code, it looks like the rust client tries to upload metrics for every single feature that exists -- even if I've only configured a
UserFeatures
enum with a single variant -- resulting in over 150KB of data.Is this intentional and required? Naively I'd have guessed that it only made sens to upload metrics for the features defined in the enum passed to the client builder.
Steps to reproduce the bug
No response
Expected behavior
No response
Logs, error output, etc.
No response
Screenshots
No response
Additional context
No response
Unleash version
3.17
Subscription type
Open source
Hosting type
Self-hosted
SDK information (language and version)
No response
The text was updated successfully, but these errors were encountered: