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

RabbitMQ consumer duration is reported incorrectly #3753

Closed
1 of 4 tasks
viswaramamoorthy opened this issue Oct 30, 2019 · 6 comments
Closed
1 of 4 tasks

RabbitMQ consumer duration is reported incorrectly #3753

viswaramamoorthy opened this issue Oct 30, 2019 · 6 comments
Assignees
Labels
agent Language agent related. bug Something isn't working and you are sure it's a bug! plugin Plugin for agent or collector. Be used to extend the capabilities of default implementor.
Milestone

Comments

@viswaramamoorthy
Copy link
Contributor

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Question

  • What do you want to know?

Bug

  • Which version of SkyWalking, OS and JRE?
    SkyWalking v6.4.0
    OS: Ubuntu
    JRE: OpenJDK 8.0

  • Which company or project?
    N/A

  • What happen?
    If possible, provide a way for reproducing the error. e.g. demo application, component version.

RabbitMQ consumer duration is reported incorrectly due to instrumenting com.rabbitmq.client.impl.ConsumerDispatcher.handleDelivery method in class org.apache.skywalking.apm.plugin.rabbitmq.define.RabbitMQConsumerInstrumentation. Because ConsumerDispatcher.handleDelivery spins up a thread to deliver the message to registered consumer class. Instead all implementations of com.rabbitmq.client.Consumer could be instrumented to get accurate consumer duration times


Requirement or improvement

  • Please describe about your requirements or improvement suggestions.
@wu-sheng wu-sheng added agent Language agent related. bug Something isn't working and you are sure it's a bug! plugin Plugin for agent or collector. Be used to extend the capabilities of default implementor. labels Oct 31, 2019
@wu-sheng
Copy link
Member

@ascrutae please confirm.

@viswaramamoorthy do you intend to submit a pull request to fix this?

@viswaramamoorthy
Copy link
Contributor Author

will send a PR

@wu-sheng
Copy link
Member

Read the things happen at #3583, I will recommend you to move the RabbitMQ test case into the main repo. The latest document for new test framework is not ready, but the new one is very similar the to old one, check the old test repo and document

@wu-sheng
Copy link
Member

FYI @dmsolr

@viswaramamoorthy
Copy link
Contributor Author

@wu-sheng
I have raised PR #3761
Note that I have included migrating legacy RabbitMQ tests as well.

@wu-sheng
Copy link
Member

wu-sheng commented Nov 1, 2019

@viswaramamoorthy The PR is under review, please follow the comments there.

@wu-sheng wu-sheng added this to the 6.6.0 milestone Nov 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent Language agent related. bug Something isn't working and you are sure it's a bug! plugin Plugin for agent or collector. Be used to extend the capabilities of default implementor.
Projects
None yet
Development

No branches or pull requests

3 participants