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 oTel grpc instrumentation #515

Merged
merged 6 commits into from
Nov 12, 2024
Merged

add oTel grpc instrumentation #515

merged 6 commits into from
Nov 12, 2024

Conversation

py4chen
Copy link
Contributor

@py4chen py4chen commented Nov 7, 2024

PR introduces otelgrpc.NewServerHandler to grpc server.

Follow-ups: add metrics for grpc-http gateway, and panics.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@py4chen py4chen changed the title add oTel instrumentation add oTel grpc instrumentation Nov 7, 2024
@py4chen py4chen marked this pull request as ready for review November 7, 2024 22:03
)

otel.SetMeterProvider(meterProvider)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Trace provider can be added here in the future.

@py4chen py4chen mentioned this pull request Nov 7, 2024
Squashed commits:
[78bf4af] add license
[e09efc5] update comments
[5af04b2] add tests
[e75673b] add grpc inst.
[98101d2] update
@py4chen py4chen marked this pull request as draft November 8, 2024 16:11
@py4chen py4chen marked this pull request as ready for review November 8, 2024 19:06
@py4chen py4chen requested review from maditya, hkadakia and adavis10006 and removed request for adavis10006, maditya and hkadakia November 8, 2024 19:13
config/config.go Outdated Show resolved Hide resolved
@py4chen py4chen merged commit 09e624f into main Nov 12, 2024
5 checks passed
@py4chen py4chen deleted the pchen06/add-otel branch November 12, 2024 12:40
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.

2 participants