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

feat(wrpc-transport-derive-*): add otel integration #1807

Conversation

vados-cosmonic
Copy link
Contributor

Feature or Problem

This PR adds OTel integration (#[instrument] annotations, basically) to the implementation code generated by the derive macro.

Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

This commit adds an `otel` feature to the
`wrpc-transport-derive-macro` crate which enables OpenTelemetry on
derived `encode` and `recieve` implementations.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
This commit adds an `otel` feature to the
`wrpc-transport-derive` crate which includes tracing as a dependency
for the downstream macro crate (`wrpc-transport-derive-macro`) to use.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
@vados-cosmonic vados-cosmonic requested review from a team as code owners April 3, 2024 15:00
@vados-cosmonic vados-cosmonic merged commit c232fac into wasmCloud:main Apr 4, 2024
59 checks passed
@vados-cosmonic vados-cosmonic deleted the feat(wrpc-transport-derive)=add-tracing-integration branch April 4, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants