Skip to content

Commit

Permalink
Deprecate otelkit (#4093)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Jul 27, 2023
1 parent b98e46d commit ac8ce7b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -32,6 +32,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### Deprecated

- The `go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego` module is deprecated. (#4092)
- The `go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkit` module is deprecated. (#4093)

### Removed

Expand Down
1 change: 0 additions & 1 deletion instrumentation/README.md
Expand Up @@ -46,7 +46,6 @@ The following instrumentation packages are provided for popular Go packages and
| [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) | ||
Expand Down
2 changes: 2 additions & 0 deletions instrumentation/github.com/go-kit/kit/otelkit/doc.go
Expand Up @@ -19,4 +19,6 @@
// For instrumenting the transport layer,
// look at the instrumentation libraries provided by go.opentelemetry.io/contrib.
// Learn more about go-kit's layers at https://gokit.io/faq/#architecture-and-design.
//
// Deprecated: This module is no longer supported.
package otelkit // import "go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkit"
Expand Up @@ -29,7 +29,7 @@ import (
sdktrace "go.opentelemetry.io/otel/sdk/trace"
oteltrace "go.opentelemetry.io/otel/trace"

"go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkit"
"go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkit" //nolint:staticcheck // This is deprecated and will be removed in the next release.
)

var tracer = otel.Tracer("kit-server")
Expand Down
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkit"
"go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkit" //nolint:staticcheck // This is deprecated and will be removed in the next release.
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
Expand Down

0 comments on commit ac8ce7b

Please sign in to comment.