TM should not need to overwrite monitoring snapshot data with CRConfig snapshot data #6376
Labels
improvement
The functionality exists but it could be improved in some way.
low difficulty
the estimated level of effort to resolve this issue is low
low impact
affects only a small portion of a CDN, and cannot itself break one
tech debt
rework due to choosing easy/limited solution
Traffic Monitor
related to Traffic Monitor
This Improvement request (usability, performance, tech debt, etc.) affects these Traffic Control components:
Current behavior:
trafficcontrol/traffic_monitor/towrap/towrap.go
Lines 679 to 756 in 9516de3
TM first requests the monitoring config snapshot then requests the CRConfig snapshot in order to create its internal
TrafficMonitorConfigMap
representation. It currently overwrites the Traffic Monitor data in the monitoring snapshot with data from the CRConfig snapshot, most likely due to the monitoring config missing Traffic Monitor IPv4 and IPv6 addresses. It will also fall back to using CRConfig delivery service data if not present in the monitoring snapshot (although this should no longer be an issue as of #5184). Since the monitoring config and CRConfig are now snapshotted together, this is entirely unnecessary.New behavior:
ip
andip6
fields in thetrafficMonitors
array of the monitoring config snapshot instead of leaving them blank:The text was updated successfully, but these errors were encountered: