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

NETOBSERV-1265 Overview / Topology fully drop metrics doesn't show #373

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

jpinsonneau
Copy link
Contributor

@jpinsonneau jpinsonneau commented Aug 23, 2023

  • Overview will show "No results found" on the entire page only if every metrics buckets are empty, else it will show per graph results.
  • Topology will fallback on dropped metrics if metrics are empty, only for that particular case. Everything then appears red.

image
image
image
image
image

@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Merging #373 (8b7c6cd) into main (eafaa3b) will decrease coverage by 0.56%.
Report is 3 commits behind head on main.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##             main     #373      +/-   ##
==========================================
- Coverage   57.83%   57.27%   -0.56%     
==========================================
  Files         166      167       +1     
  Lines        7679     7752      +73     
  Branches      918      921       +3     
==========================================
- Hits         4441     4440       -1     
- Misses       2971     3042      +71     
- Partials      267      270       +3     
Flag Coverage Δ
uitests 58.13% <25.00%> (-0.04%) ⬇️
unittests 54.91% <ø> (-1.96%) ⬇️

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

Files Changed Coverage Δ
...c/components/netflow-topology/netflow-topology.tsx 66.66% <0.00%> (-2.09%) ⬇️
...c/components/netflow-overview/netflow-overview.tsx 65.26% <33.33%> (-1.76%) ⬇️

... and 1 file with indirect coverage changes

@jpinsonneau jpinsonneau added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Aug 23, 2023
@github-actions
Copy link

New image:
quay.io/netobserv/network-observability-console-plugin:de948fa

It will expire after two weeks.

To deploy this build, run from the operator repo, assuming the operator is running:

USER=netobserv VERSION=de948fa make set-plugin-image

Copy link
Contributor

@msherif1234 msherif1234 left a comment

Choose a reason for hiding this comment

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

changes /LGTM just have one question

_.isEmpty(metrics) &&
_.isEmpty(droppedMetrics) &&
_.isEmpty(dnsLatencyMetrics) &&
_.isEmpty(dnsRCodeMetrics)
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to also add || !totalMetric to this condition ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I made totalMetrics optionnal here and manage these by graph as it depends of the kebab options of each graph.

Copy link
Contributor

Choose a reason for hiding this comment

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

kebab options ?!? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

I will review kebab pieces at lunch time :)
/LGTM

@jpinsonneau
Copy link
Contributor Author

/approve

@openshift-ci
Copy link

openshift-ci bot commented Aug 24, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jpinsonneau

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit d0d7fc5 into netobserv:main Aug 24, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm ok-to-test To set manually when a PR is safe to test. Triggers image build on PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants