zrhoffman commented on code in PR #7302:
URL: https://github.com/apache/trafficcontrol/pull/7302#discussion_r1089320017


##########
traffic_monitor/cache/astats.go:
##########
@@ -116,8 +117,23 @@ func astatsParse(cacheName string, rdr io.Reader, pollCTX 
interface{}) (Statisti
                astats.Ats["system.proc.loadavg"] = astats.System.ProcLoadavg
                astats.Ats["system.proc.net.dev"] = astats.System.ProcNetDev
 
+               via := ctx.HTTPHeader.Get("Via")

Review Comment:
   I see, the `Via` header is added to the `rfc` package. The next step is to 
use it everywhere where `"Via"` is currently used in #7302.



##########
traffic_monitor/todata/todata.go:
##########
@@ -342,6 +346,48 @@ func getServerTypes(mc tc.TrafficMonitorConfigMap) 
(map[tc.CacheName]tc.CacheTyp
        return serverTypes, nil
 }
 
+// getServerPartners gets the cache parners that have the same anycast VIP

Review Comment:
   This comment should either explain what an anycast VIP is or rephrase it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to