Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

feat: amqplib (RabbitMQ) instrumentation #80

Merged
merged 32 commits into from
Mar 15, 2021
Merged

Conversation

blumamir
Copy link
Contributor

No description provided.

packages/instrumentation-amqplib/src/utils.ts Outdated Show resolved Hide resolved
const msgPayload = 'payload from test';
const queueName = 'queue-name-from-unittest';

describe('amqplib instrumentation promise model', function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to add another test that confirms instrumentation.disable() works well

  1. create publish.
  2. disable instrumentation
  3. create publish
  4. confirm only 1 span created

@blumamir
Copy link
Contributor Author

@blumamir blumamir merged commit e3bd5ea into master Mar 15, 2021
@blumamir blumamir deleted the instrumentation-amqplib branch March 15, 2021 14:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants