From 3ca0b8af771d21dbae8747d9da284148d7aa2bcc Mon Sep 17 00:00:00 2001 From: mirackara Date: Tue, 19 Mar 2024 09:01:02 -0500 Subject: [PATCH] Updated host to collector --- v3/internal/utilization/addresses.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v3/internal/utilization/addresses.go b/v3/internal/utilization/addresses.go index 791b52726..aa2e7268d 100644 --- a/v3/internal/utilization/addresses.go +++ b/v3/internal/utilization/addresses.go @@ -47,8 +47,8 @@ func nonlocalIPAddressesByInterface() (map[string][]string, error) { // * The UDP connection interface is more likely to contain unique external IPs. func utilizationIPs() ([]string, error) { // Port choice designed to match - // https://source.datanerd.us/java-agent/java_agent/blob/master/newrelic-agent/src/main/java/com/newrelic/agent/config/Hostname.java#L110 - conn, err := net.Dial("udp", "newrelic.com:10002") + // https://github.com/newrelic/newrelic-java-agent/blob/main/newrelic-agent/src/main/java/com/newrelic/agent/config/Hostname.java#L120 + conn, err := net.Dial("udp", "collector.newrelic.com:10002") if err != nil { return nil, err }