Skip to content

Reduce history wildcard payloads and add runtime virtual-interface prefix filtering#4

Closed
jshessen wants to merge 2 commits into
sunfounder:mainfrom
jshessen:fix/influx-select-star-and-virtual-prefix-config
Closed

Reduce history wildcard payloads and add runtime virtual-interface prefix filtering#4
jshessen wants to merge 2 commits into
sunfounder:mainfrom
jshessen:fix/influx-select-star-and-virtual-prefix-config

Conversation

@jshessen

Copy link
Copy Markdown

Depends On

Related

Problem

Wildcard history queries can return legacy transient keys, inflating payload size and latency on Docker hosts.

Change

  • DataLogger: add configurable virtual_interface_prefixes and apply exclusions when collecting ip_* and mac_*
  • Database: resolve stable field keys and replace broad wildcard key expansion with filtered field selection
  • PMDashboard: add POST /api/v1.0/set-virtual-interface-prefixes and propagate updates to logger/database
  • PMDashboard: apply configured filtering in network interface listing endpoint

Verification

  • python3 -m py_compile pm_dashboard/data_logger.py pm_dashboard/database.py pm_dashboard/pm_dashboard.py
  • Workspace diagnostics report no new errors in changed pm_dashboard files

Impact

Reduces history query response size/latency and keeps virtual interface filtering configurable at runtime.

@cavonlee

Copy link
Copy Markdown
Contributor

Thanks for the contribution! We've moved active development to the v2 branch — please retarget this PR against v2 instead of main. The related pm_auto#2 dependency has also been closed, so that would need to be resolved first. Feel free to reopen once rebased on v2.

@cavonlee cavonlee closed this Jun 15, 2026
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.

2 participants