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

Move google.golang.org/grpc instrumentation from go.opentelemetry.io/otel #156

Closed
wants to merge 11 commits into from

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Jul 28, 2020

  • Includes a package rename: go.opentelemetry.io/contrib/google.golang.org/grpc
  • Moves examples to actual example test.
  • Packages it as its own module.

Part of https://github.com/open-telemetry/opentelemetry-go/issues/976

@MrAlias MrAlias added the area: instrumentation Related to an instrumentation package label Jul 28, 2020
@MrAlias MrAlias self-assigned this Jul 28, 2020
@MrAlias MrAlias marked this pull request as draft July 28, 2020 02:12
@MrAlias
Copy link
Contributor Author

MrAlias commented Jul 28, 2020

Need to cut a release of go.opentelemetry.io/otel before I can fix the dependencies of the example here.

@MrAlias MrAlias added the blocked: opentelemetry-go Waiting on changes to or a release of the opentelemetry-go project label Jul 28, 2020
@MrAlias
Copy link
Contributor Author

MrAlias commented Jul 28, 2020

Reattempt after the upcoming release of go.opentelemetry.io/otel

@MrAlias MrAlias closed this Jul 28, 2020
@MrAlias MrAlias deleted the grpc-instrumentation branch August 4, 2020 17:53
plantfansam referenced this pull request in plantfansam/opentelemetry-go-contrib Mar 18, 2022
* WIP

* Finish http middleware implementation

This is currently done as httptrace.NewHandler(). This should maybe
be moved to a different package or renamed, but atm this name
seemed the least objectionable to me.

There are a few TODOs sprinkled in the code for questions I didn't
know the answers to.

There is an example provided, which when copied to a main func
locally work against the jaeger all in one.

Real tests need to be added.

* Address feedback

* Tie in propagation, update attributes, more options, revise example, etc.

Dropped the httpConfig type because it seemed redundant an unecessary
abstraction.

* WithRouteTag

* address out of band feedback

* move to othttp package

* Add a very basic test.

I ended up needing to export the Traceparentheader const so that
it was accessible to this test.

* Add file header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: instrumentation Related to an instrumentation package blocked: opentelemetry-go Waiting on changes to or a release of the opentelemetry-go project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant