-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 validation of span limits to its own function. #1705
Milestone
Comments
ijsong
added a commit
to ijsong/opentelemetry-go
that referenced
this issue
Mar 18, 2021
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, replcae `WithSDK` with `WithSDKOptions`. Resolves open-telemetry#1636, open-telemetry#1705.
ijsong
added a commit
to ijsong/opentelemetry-go
that referenced
this issue
Mar 18, 2021
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.
ijsong
added a commit
to ijsong/opentelemetry-go
that referenced
this issue
Mar 18, 2021
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.
MrAlias
pushed a commit
that referenced
this issue
Mar 18, 2021
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 #1636, #1705.
resolved in #1693 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
opentelemetry-go/sdk/trace/provider.go
Lines 183 to 197 in 345f264
Originally posted by @MrAlias in #1693 (comment)
The text was updated successfully, but these errors were encountered: