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

Add OpenTelemetry tracing with grpc interceptors #2954

Closed
wants to merge 2 commits into from

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Sep 28, 2021

Type of change

  • New feature

Description

Adds OpenTelemetry tracing by adding interceptors on all gRPC communications.

Related issues

This is tied to https://github.com/hyperledger/fabric-rfcs/blob/main/text/0000-opentelemetry-tracing.md

@atoulme atoulme requested a review from a team as a code owner September 28, 2021 15:39
@atoulme atoulme force-pushed the add_otel branch 7 times, most recently from 3b3244b to ee0ac99 Compare September 28, 2021 21:46
@@ -19,7 +19,7 @@ require (
github.com/frankban/quicktest v1.11.3 // indirect
github.com/fsouza/go-dockerclient v1.7.0
github.com/go-kit/kit v0.9.0
github.com/golang/protobuf v1.3.3
github.com/golang/protobuf v1.5.2
Copy link
Contributor

Choose a reason for hiding this comment

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

We have been stuck at protobuf v1.3 and older grpc due to etcd issues. See background in https://jira.hyperledger.org/browse/FAB-18363 and #2185.

@guoger has been looking at etcd update in #2707 and may be able to fill in the details.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

After trying a few things, it indeed appears performance is worse with the latest and some substantial changes are required to continue. I will wait for @guoger and hopefully #2027 helps.

@atoulme atoulme force-pushed the add_otel branch 3 times, most recently from 4e358d0 to b903cf3 Compare October 8, 2021 00:20
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
@atoulme atoulme force-pushed the add_otel branch 17 times, most recently from aa87322 to b18f2ed Compare October 11, 2021 17:36
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
@ale-linux
Copy link
Contributor

Closing owing to the long inactivity - please re-open and rebase if it's still needed

@ale-linux ale-linux closed this Apr 29, 2022
@atoulme
Copy link
Contributor Author

atoulme commented Jun 22, 2022

I cannot reopen this PR, I will open a new one.

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

3 participants