Skip to content

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

Open
jshessen wants to merge 2 commits intosunfounder:mainfrom
jshessen:fix/influx-select-star-and-virtual-prefix-config
Open

Reduce history wildcard payloads and add runtime virtual-interface prefix filtering#4
jshessen wants to merge 2 commits intosunfounder: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.

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.

1 participant