-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Pika hooks #763
Pika hooks #763
Conversation
92fc2e2
to
f9a25d1
Compare
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.
Please ensure you don't add opentelemetry-python-core
as it is not needed anymore, and isn't a part of this repo
...mentation/opentelemetry-instrumentation-pika/src/opentelemetry/instrumentation/pika/utils.py
Outdated
Show resolved
Hide resolved
...mentation/opentelemetry-instrumentation-pika/src/opentelemetry/instrumentation/pika/utils.py
Outdated
Show resolved
Hide resolved
instrumentation/opentelemetry-instrumentation-pika/tests/test_utils.py
Outdated
Show resolved
Hide resolved
Also, Please update the |
...mentation/opentelemetry-instrumentation-pika/src/opentelemetry/instrumentation/pika/utils.py
Outdated
Show resolved
Hide resolved
14c47c2
to
2c9341d
Compare
...mentation/opentelemetry-instrumentation-pika/src/opentelemetry/instrumentation/pika/utils.py
Show resolved
Hide resolved
d3cefff
to
b8e666b
Compare
@@ -63,6 +63,21 @@ Usage | |||
|
|||
PikaInstrumentor.instrument_channel(channel, tracer_provider=tracer_provider) | |||
|
|||
* PikaInstrumentor also supports instrumenting with hooks that will be called when producing or consuming a message. |
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.
Please include these docs as part of the docstrings in __init__.py
only. We want only one source of truth for docs.
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.
done
1bd4ed4
to
37aac19
Compare
Description
Adding consume_hook and produce_hook to Pika instrumentor
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Does This PR Require a Core Repo Change?
Checklist: