Skip to content

Commit ac8ce7b

Browse files
authored
Deprecate otelkit (#4093)
1 parent b98e46d commit ac8ce7b

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
3232
### Deprecated
3333

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

3637
### Removed
3738

instrumentation/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ The following instrumentation packages are provided for popular Go packages and
4646
| [github.com/bradfitz/gomemcache](./github.com/bradfitz/gomemcache/memcache/otelmemcache) | ||
4747
| [github.com/emicklei/go-restful](./github.com/emicklei/go-restful/otelrestful) | ||
4848
| [github.com/gin-gonic/gin](./github.com/gin-gonic/gin/otelgin) | ||
49-
| [github.com/go-kit/kit](./github.com/go-kit/kit/otelkit) | ||
5049
| [github.com/gocql/gocql](./github.com/gocql/gocql/otelgocql) |||
5150
| [github.com/gorilla/mux](./github.com/gorilla/mux/otelmux) | ||
5251
| [github.com/labstack/echo](./github.com/labstack/echo/otelecho) | ||

instrumentation/github.com/go-kit/kit/otelkit/doc.go

+2
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@
1919
// For instrumenting the transport layer,
2020
// look at the instrumentation libraries provided by go.opentelemetry.io/contrib.
2121
// Learn more about go-kit's layers at https://gokit.io/faq/#architecture-and-design.
22+
//
23+
// Deprecated: This module is no longer supported.
2224
package otelkit // import "go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkit"

instrumentation/github.com/go-kit/kit/otelkit/example/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
sdktrace "go.opentelemetry.io/otel/sdk/trace"
3030
oteltrace "go.opentelemetry.io/otel/trace"
3131

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

3535
var tracer = otel.Tracer("kit-server")

instrumentation/github.com/go-kit/kit/otelkit/test/endpoint_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"github.com/stretchr/testify/assert"
2323
"github.com/stretchr/testify/require"
2424

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

0 commit comments

Comments
 (0)