-
Notifications
You must be signed in to change notification settings - Fork 226
fix: Do not pollute the OpenTelemetry::Instrumentation namespace
#1511
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
fix: Do not pollute the OpenTelemetry::Instrumentation namespace
#1511
Conversation
|
|
4193881 to
2d23532
Compare
OpenTelemetry::Instrumentation namespaceOpenTelemetry::Instrumentation namespace
|
Hi @paracycle, thank you for opening this PR! Great catch. This will put Dalli in line with the other gems that have a Would you mind merging |
The `dalli` instrumentation is defining a `Utils` module under the `OpenTelemetry::Instrumentation`. The `Utils` module should be an internal concern of the instrumentation library, and thus, the module should've been under the `OpenTelemetry::Instrumentation::Dalli` namespace.
2d23532 to
97a6fc1
Compare
Thanks for reviewing
Just rebased my commit on |
|
The test failures seem unrelated to this PR, so I'm going to merge anyway. Thank you! I'll get a release started. |
…pen-telemetry#1511) Do not pollute the `OpenTelemetry::Instrumentation` namespace The `dalli` instrumentation is defining a `Utils` module under the `OpenTelemetry::Instrumentation`. The `Utils` module should be an internal concern of the instrumentation library, and thus, the module should've been under the `OpenTelemetry::Instrumentation::Dalli` namespace.
…pen-telemetry#1511) Do not pollute the `OpenTelemetry::Instrumentation` namespace The `dalli` instrumentation is defining a `Utils` module under the `OpenTelemetry::Instrumentation`. The `Utils` module should be an internal concern of the instrumentation library, and thus, the module should've been under the `OpenTelemetry::Instrumentation::Dalli` namespace.
The
dalliinstrumentation is defining aUtilsmodule under theOpenTelemetry::Instrumentation. TheUtilsmodule should be an internal concern of the instrumentation library, and thus, the module should've been under theOpenTelemetry::Instrumentation::Dallinamespace.Also, the file was already under the
lib/opentelemetry/instrumentation/dallifolder, so theOpenTelemetry::Instrumentation::Dallinamespace is more appropriate.