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

added TopK to bandwidth_per_src_subnet #306

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

KalmanMeth
Copy link
Collaborator

This PR uses the timebased TopK feature in the standard metrics produced by flp. The relevant metric is flp_bandwidth_per_source_subnet, with Topk=5, showing the 5 subnets with the most traffic in the most recent minute.

@codecov-commenter
Copy link

codecov-commenter commented Sep 13, 2022

Codecov Report

Merging #306 (56f81a0) into main (c4e2f41) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #306      +/-   ##
==========================================
- Coverage   68.98%   68.94%   -0.05%     
==========================================
  Files          82       82              
  Lines        4756     4756              
==========================================
- Hits         3281     3279       -2     
- Misses       1276     1279       +3     
+ Partials      199      198       -1     
Flag Coverage Δ
unittests 68.94% <ø> (-0.05%) ⬇️

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

Impacted Files Coverage Δ
pkg/pipeline/ingest/ingest_collector.go 48.12% <0.00%> (-1.51%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@KalmanMeth KalmanMeth merged commit ef4a155 into netobserv:main Sep 14, 2022
@KalmanMeth KalmanMeth deleted the topk-metric branch January 29, 2023 11:09
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.

3 participants