-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Handle translation of OC span.kind attribute for client/server #1636
Conversation
Signed-off-by: Gary Brown <gary@brownuk.com>
Codecov Report
@@ Coverage Diff @@
## master #1636 +/- ##
==========================================
- Coverage 91.90% 91.89% -0.01%
==========================================
Files 254 254
Lines 17309 17313 +4
==========================================
+ Hits 15907 15909 +2
- Misses 1006 1007 +1
- Partials 396 397 +1
Continue to review full report at Codecov.
|
Test failures seem unrelated - e.g. probabilistic sampler processor. |
@bogdandrutu @objectiser Seems like this merge has broken the main branch: https://github.com/open-telemetry/opentelemetry-collector/commits/master |
Did this branch pass the CI build? master is now broken. |
Reverted in #1775 since this broke the master build. |
This patch removes `ApplyConfig` method and `Config` struct from `go.opentelemetry.io/otel/sdk/trace` package. To ensure valid config for TracerProvider, it adds `ensureValidTracerProviderConfig` private function. Jaeger and Zipkin have been used the `Config` directly across package boundaries. Since `Config` is removed, they can't use it. This change, thus, replaces `WithSDK` with `WithSDKOptions`. Resolves open-telemetry#1636, open-telemetry#1705.
This is a minor fix of a typo in the dependencies documentation.`@io_opentelemetry_cpp/api:with_abseil` is not a valid Bazel target name, it should instead be @io_opentelemetry_cpp//api:with_abseil.
Signed-off-by: Gary Brown gary@brownuk.com
Description:
Currently OpenCensus seems to allow span kind to be reported via a field (only
client
andserver
values) or an attribute (onlyconsumer
andproducer
values).This PR extends support for handling
client
andserver
values via the attribute. This additional flexibility will enable Envoy (using the current C++ opencensus client with no span kind field support) to report the span kind value.Link to tracking Issue:
Fixes #1608
Testing:
Unit test.
Documentation: