-
Notifications
You must be signed in to change notification settings - Fork 15
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
NETOBSERV-1706: fix error displayed due to max-chunk-age #552
Conversation
When Loki is disabled, do not try to fetch max-chunk-age. More changes alongside: - fetch max-chunk-age as part of the config fetching (ie. just 1 API call instead of 2) -> this simplifies a bit the loading sequence on the frontend - Use mapstructure for decoding loki config (refactor getting limits & max-chunk-age in that way) - Manage unset max-chunk-age more explicitly (undefined instead of NaN) - Add tests
@jotak: This pull request references NETOBSERV-1706 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.17.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #552 +/- ##
==========================================
- Coverage 56.32% 56.21% -0.12%
==========================================
Files 183 183
Lines 9095 9081 -14
Branches 1185 1183 -2
==========================================
- Hits 5123 5105 -18
+ Misses 3606 3605 -1
- Partials 366 371 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jotak The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cc @Amoghrd |
When Loki is disabled, do not try to fetch max-chunk-age. More changes alongside: - fetch max-chunk-age as part of the config fetching (ie. just 1 API call instead of 2) -> this simplifies a bit the loading sequence on the frontend - Use mapstructure for decoding loki config (refactor getting limits & max-chunk-age in that way) - Manage unset max-chunk-age more explicitly (undefined instead of NaN) - Add tests
When Loki is disabled, do not try to fetch max-chunk-age. More changes alongside: - fetch max-chunk-age as part of the config fetching (ie. just 1 API call instead of 2) -> this simplifies a bit the loading sequence on the frontend - Use mapstructure for decoding loki config (refactor getting limits & max-chunk-age in that way) - Manage unset max-chunk-age more explicitly (undefined instead of NaN) - Add tests
Description
When Loki is disabled, do not try to fetch max-chunk-age. More changes alongside:
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.