Skip to content

Commit

Permalink
Minor tweaks to the top flows display
Browse files Browse the repository at this point in the history
  • Loading branch information
thebracket committed Jan 31, 2025
1 parent 3c4df53 commit 77f59e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ export class Top10FlowsBytes extends BaseDashlet {
let table = document.createElement("table");
table.classList.add("table", "table-sm", "small");
let thead = document.createElement("thead");
thead.appendChild(theading("Shaper"));
thead.appendChild(theading("Circuit"));
thead.appendChild(theading("Protocol"));
thead.appendChild(theading("DL"));
Expand All @@ -164,7 +163,6 @@ export class Top10FlowsBytes extends BaseDashlet {
data.forEach((row) => {
let tr = document.createElement("tr");
tr.classList.add("small");
tr.appendChild(simpleRow(row.shaper_name));
tr.appendChild(simpleRow(row.circuit_name));
tr.appendChild(simpleRow(row.protocol));
tr.appendChild(simpleRowHtml(scaleNumber(row.bytes_down)));
Expand Down
12 changes: 6 additions & 6 deletions src/rust/lqosd/src/node_manager/local_api/lts/last_24_hours.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ pub struct AsnFlowSizeWeb {
pub circuit_hash: i64,
pub asn: i32,
pub protocol: String,
pub bytes_down: f64,
pub bytes_up: f64,
pub rtt_down: f64,
pub rtt_up: f64,
pub rxmit_down: Option<f64>,
pub rxmit_up: Option<f64>,
pub bytes_down: i64,
pub bytes_up: i64,
pub rtt_down: f32,
pub rtt_up: f32,
pub rxmit_down: f32,
pub rxmit_up: f32,
pub circuit_name: Option<String>,
pub asn_name: Option<String>,
pub shaper_name: Option<String>,
Expand Down

0 comments on commit 77f59e8

Please sign in to comment.