-
Notifications
You must be signed in to change notification settings - Fork 600
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
Update newrelic deployment
command to support New Relic REST API v2
#1461
Conversation
newrelic deployment
to support New Relic REST API v2
newrelic deployment
to support New Relic REST API v2newrelic deployment
command to support New Relic REST API v2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good stuff!!! This one has remained in limbo while different API teams hem and haw. It's great to have the agent itself be flexible and dynamically switch between the old and the new ways of doing things.
Left two requests for change:
- Use consistent capitalization of "API" (or "api") in the config param description
- "whne" typo
The other suggestions can be implemented or waived as you see fit. Great work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job balancing the two API versions and cracking that curl command! Approved as-is, but I have some Changelog requests if you'd like to address them.
5a2c8be
SimpleCov Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm so happy this is fixed! Great work, Tanna!
PR newrelic/newrelic-ruby-agent#1461 added support for deployment recording using a customer's user API key. This update was missing from the document.
PR newrelic/newrelic-ruby-agent#1461 added support for deployment recording using a customer's user API key. This update was missing from the document.
Before contributing, please read our contributing guidelines and code of conduct.
Overview
The older deployment endpoint doesn't support newer license keys. There is an internal ticket for that endpoint to be updated, but in the meantime we have added support for the newer New Relic REST API v2 deployment endpoint. The config option
api_key
must be provided to the agent to use this newer endpoint.closes #715
Submitter Checklist:
Testing
The agent includes a suite of unit and functional tests which should be used to
verify your changes don't break existing functionality. These tests will run with
Github Actions when a pull request is made. More details on running the tests locally can be found
here for our unit tests,
and here for our functional tests.
For most contributions it is strongly recommended to add additional tests which
exercise your changes.
Reviewer Checklist