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

fix: Updated amqplib instrumentation to properly parse host/port from connect #2461

Merged
merged 3 commits into from
Aug 14, 2024

Conversation

bizob2828
Copy link
Member

Description

This PR does further instrumentation of connect and assigns the host/port from the connection to the model/channel to be used later to assign the host/port on the relevant spans. I also fixed the connect record to properly record server.address and server.port and added assertions to the versioned tests.

How to Test

npm run versioned:internal amqplib

Related Issues

Closes #2459

lib/instrumentation/amqplib/amqplib.js Outdated Show resolved Hide resolved
lib/instrumentation/amqplib/utils.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Update the assigning of server.address to amqplib spans when using https connections
2 participants