newrelic / newrelic-client-go

New Relic Client for the Go programming language
https://newrelic.github.io/observability-as-code
Apache License 2.0
74 stars 93 forks source link

fix(infra): Discard the infra test api call to prevent timeout issues #1145

Closed Nandu-pns closed 4 months ago

Nandu-pns commented 4 months ago

JIRA - https://new-relic.atlassian.net/browse/NR-270753

This PR aims to address the below timeout issue for few customers as it appears CLI is performing few test calls to verify if the New Relic endpoints are reachable and this infra-alert.service is being invoked during this specific call.

FATAL Get "https://login.newrelic.com/login?return_to=https%3A%2F%2Finfrastructure-alert.service.newrelic.com%2Fv2": dial tcp 18.188.220.94:443: i/o timeout