-
Notifications
You must be signed in to change notification settings - Fork 492
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
Migration from github.com/Shopify/sarama
to github.com/IBM/sarama
#4090
Conversation
e7f126d
to
9ba65fc
Compare
I think I've updated all the necessary places. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is unclear we would want to change our package name to match the upstream redirect. If we did end up wanting to do so, it will require a deprecation of the existing package.
@batazor Can the new instrumentation library be located somewhere in https://github.com/IBM/sarama or in a new repository e.g. https://github.com/IBM/otelsarama? |
Signed-off-by: Victor Login <batazor@evrone.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
I created IBM/sarama#2510. |
I would rather change the package name to match upstream redirect as the users already need to change the import paths for the library 😉 |
I agree that if we end up keeping this instrumentation, we should rename the package as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking mainly because of #4090 (comment) but also awaiting feedback under IBM/sarama#2510
I don't think the question of renaming this package should block the update of the dependency. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure it's appropriate to simply change the dependency here. Won't that break anyone still using the prior import paths who updates this instrumentation? Should we deprecate this instrumentation? New instrumentation for the new import path can be created, ideally owned by the sarama maintainers, but anywhere really.
| Instrumentation Package | Metrics | Traces | | ||
|:----------------------------------------------------------------------------------------:|:-------:|:------:| | ||
| [github.com/astaxie/beego](./github.com/astaxie/beego/otelbeego) | ✓ | ✓ | | ||
| [github.com/aws/aws-sdk-go-v2](./github.com/aws/aws-sdk-go-v2/otelaws) | | ✓ | | ||
| [github.com/bradfitz/gomemcache](./github.com/bradfitz/gomemcache/memcache/otelmemcache) | | ✓ | | ||
| [github.com/emicklei/go-restful](./github.com/emicklei/go-restful/otelrestful) | | ✓ | | ||
| [github.com/gin-gonic/gin](./github.com/gin-gonic/gin/otelgin) | | ✓ | | ||
| [github.com/go-kit/kit](./github.com/go-kit/kit/otelkit) | | ✓ | | ||
| [github.com/gocql/gocql](./github.com/gocql/gocql/otelgocql) | ✓ | ✓ | | ||
| [github.com/gorilla/mux](./github.com/gorilla/mux/otelmux) | | ✓ | | ||
| [github.com/labstack/echo](./github.com/labstack/echo/otelecho) | | ✓ | | ||
| [github.com/IBM/sarama](./github.com/Shopify/sarama/otelsarama) | | ✓ | | ||
| [go.mongodb.org/mongo-driver](./go.mongodb.org/mongo-driver/mongo/otelmongo) | | ✓ | | ||
| [google.golang.org/grpc](./google.golang.org/grpc/otelgrpc) | ✓ | ✓ | | ||
| [gopkg.in/macaron.v1](./gopkg.in/macaron.v1/otelmacaron) | | ✓ | | ||
| [host](./host) | ✓ | | | ||
| [net/http](./net/http/otelhttp) | ✓ | ✓ | | ||
| [net/http/httptrace](./net/http/httptrace/otelhttptrace) | | ✓ | | ||
| [runtime](./runtime) | ✓ | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, no.
Good point. |
Closing as there is no consensus to ONLY update the dependency using the new import path. |
Need to change the URL to sarama.
Changelog: https://github.com/IBM/sarama/releases/tag/v1.40.0