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

Move Metrics Explorer date span, range into redux metrics-slice #1105

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

pjfitzgibbons
Copy link
Contributor

Description

In order to simplify refactor of MetricsGrid, moving all date-range parsing out of props-passing and into redux MetricsSlice.

Issues Resolved

References #1095 (not resolve)

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

Merging #1105 (51418cb) into main (34068f1) will increase coverage by 0.27%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1105      +/-   ##
==========================================
+ Coverage   44.09%   44.37%   +0.27%     
==========================================
  Files         325      327       +2     
  Lines       19378    19896     +518     
  Branches     4617     4743     +126     
==========================================
+ Hits         8545     8829     +284     
- Misses      10788    11021     +233     
- Partials       45       46       +1     
Flag Coverage Δ
dashboards-observability 44.36% <ø> (+0.26%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 14 files with indirect coverage changes

@YANG-DB YANG-DB merged commit f981407 into main Oct 10, 2023
12 of 13 checks passed
start: 'now-1d',
end: 'now',
span: 1,
resolution: 'h',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this set anywhere before as the default?

Comment on lines +736 to +739
fromTime="now-1d"
key="Y4muP4QBiaYaSxpXk7r8"
onEditClick={[MockFunction]}
onRefresh={true}
onRefresh={0}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this expected - default from 30m to 1d? Also why is onRefresh turning into false here, is that expected?

mengweieric pushed a commit to mengweieric/dashboards-observability that referenced this pull request Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants