Chore/netflow parser 090 #2852
No reviewers
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar!2852
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2852/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from GitHub pull request.
Original GitHub pull request: #2702
Original author: @mikemiles-dev
Original URL: https://github.com/carverauto/serviceradar/pull/2702
Original created: 2026-02-05T01:56:57Z
Original updated: 2026-02-05T04:20:03Z
Original head: mikemiles-dev/serviceradar:chore/netflow_parser_090
Original base: staging
Original merged: 2026-02-05T04:20:03Z by @mfreeman451
IMPORTANT: Please sign the Developer Certificate of Origin
Thank you for your contribution to ServiceRadar. Please note, when contributing, the developer must include
a DCO sign-off statement indicating the DCO acceptance in one commit message. Here
is an example DCO Signed-off-by line in a commit message:
Describe your changes
Issue ticket number and link
Code checklist before requesting a review
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/2702#issuecomment-3850645124
Original created: 2026-02-05T01:57:18Z
Review Summary by Qodo
Add pending flows caching support and upgrade netflow parser to 0.9.0
✨ EnhancementWalkthroughs
Description
Diagram
File Changes
1. rust/netflow-collector/src/config.rs
⚙️ Configuration changes+37/-02. rust/netflow-collector/src/converter.rs
✨ Enhancement+316/-2983. rust/netflow-collector/src/listener.rs
✨ Enhancement+71/-51View more (9)
4. rust/netflow-collector/src/main.rs
✨ Enhancement+13/-05. rust/netflow-collector/src/metrics.rs
✨ Enhancement+30/-06. rust/netflow-collector/src/publisher.rs
🧪 Tests+1/-17. rust/netflow-collector/Cargo.toml
Dependencies+1/-18. rust/netflow-collector/quick-test.sh
⚙️ Configuration changes+1/-19. rust/netflow-collector/TESTING.md
📝 Documentation+3/-310. packaging/netflow-collector/config/netflow-collector.json
⚙️ Configuration changes+5/-011. rust/netflow-collector/netflow-collector-test.json
⚙️ Configuration changes+5/-012. rust/netflow-collector/netflow-collector.json
⚙️ Configuration changes+5/-0Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/2702#issuecomment-3850656948
Original created: 2026-02-05T02:02:10Z
Code Review by Qodo
🐞 Bugs (2)📘 Rule violations (2)📎 Requirement gaps (0)1. Non-ASCII checkmarks in TESTING.md
📘 Rule violation✓ Correctness✅
2. Pending flows lack TTL🐞 Bug⛯ ReliabilitySuggestion Impact:
Introduced a pending flow TTL field in config with a default (300s), added validation bounds for ttl and other pending-flow limits, and updated the listener to set PendingFlowsConfig.ttl to Some(Duration::from_secs(ttl_secs)) rather than None.code diff:
✅
3. pending_flows lacks upper bounds📘 Rule violation⛨ SecuritySuggestion Impact:
Updated pending_flows validation to enforce maximum allowed values (not just >0) for max_pending_flows, max_entries_per_template, and max_entry_size_bytes; also introduced and bounded a new ttl_secs pending flow setting.code diff:
✅
4. Optimistic MissingTemplate log🐞 Bug✧ QualitySuggestion Impact:
Updated the pending-enabled MissingTemplate debug log wording to be non-guaranteeing ("data queued if capacity allows") rather than claiming buffering for replay will occur.code diff: