Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated api /alerts_channels being used #1258

Open
vamshi05 opened this issue Dec 2, 2024 · 1 comment
Open

Deprecated api /alerts_channels being used #1258

vamshi05 opened this issue Dec 2, 2024 · 1 comment

Comments

@vamshi05
Copy link

vamshi05 commented Dec 2, 2024

Description

Looks like /alerts_channels endpoint is supposed to be deprecated already as per https://api.newrelic.com/docs/#/Deprecation%20Notice%20-%20Alerts%20Channels but it seems to be used in this repository

nextURL := a.config.Region().RestURL("/alerts_channels.json")

nextURL := a.config.Region().RestURL("/alerts_channels.json")

Go Version

Provide the output of go version here please

Current behavior

Error: GET https://api.newrelic.com/v2/alerts_channels.json giving up after 4 attempt(s)

Expected behavior

No errors

Steps To Reproduce

Steps to reproduce the behavior:
1.

curl -X 'GET'
'https://api.newrelic.com/v2/alerts_channels.json'
-H 'accept: application/json'
-H "Api-Key: <>"

@vamshi05
Copy link
Author

vamshi05 commented Dec 3, 2024

This issue has been surfaced during the New Relic Incident https://status.newrelic.com/incidents/9rlvqrkzt4br and seems to be resolved.
I'd still like to take suggestions on whether the above issue should be addressed or not.

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

No branches or pull requests

1 participant