Skip to content

Commit 2fec7dc

Browse files
committed
chore: remove stale and broken otel samples
Signed-off-by: Michael Gasch <[email protected]>
1 parent 748c791 commit 2fec7dc

File tree

11 files changed

+81
-595
lines changed

11 files changed

+81
-595
lines changed

samples/http/go.mod

Lines changed: 25 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5,67 +5,48 @@ go 1.23.0
55
toolchain go1.23.8
66

77
require (
8-
contrib.go.opencensus.io/exporter/prometheus v0.1.0
9-
github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.5.0
10-
github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.5.0
11-
github.com/cloudevents/sdk-go/observability/opentelemetry/v2 v2.5.0
8+
github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.15.2
129
github.com/cloudevents/sdk-go/v2 v2.16.0
13-
github.com/gin-gonic/gin v1.9.1
10+
github.com/gin-gonic/gin v1.10.0
1411
github.com/google/uuid v1.6.0
15-
github.com/gorilla/mux v1.7.3
12+
github.com/gorilla/mux v1.8.1
1613
github.com/kelseyhightower/envconfig v1.4.0
17-
github.com/rs/zerolog v1.29.0
14+
github.com/rs/zerolog v1.34.0
1815
go.opencensus.io v0.24.0
19-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0
20-
go.opentelemetry.io/otel v1.35.0
21-
go.opentelemetry.io/otel/exporters/jaeger v1.0.0
22-
go.opentelemetry.io/otel/sdk v1.35.0
23-
go.opentelemetry.io/otel/trace v1.35.0
2416
google.golang.org/protobuf v1.36.6
2517
)
2618

2719
require (
28-
github.com/beorn7/perks v1.0.1 // indirect
29-
github.com/bytedance/sonic v1.9.1 // indirect
30-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
31-
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
32-
github.com/felixge/httpsnoop v1.0.4 // indirect
33-
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
34-
github.com/gin-contrib/sse v0.1.0 // indirect
35-
github.com/go-logr/logr v1.4.2 // indirect
36-
github.com/go-logr/stdr v1.2.2 // indirect
20+
github.com/bytedance/sonic v1.13.2 // indirect
21+
github.com/bytedance/sonic/loader v0.2.4 // indirect
22+
github.com/cloudwego/base64x v0.1.5 // indirect
23+
github.com/gabriel-vasile/mimetype v1.4.9 // indirect
24+
github.com/gin-contrib/sse v1.1.0 // indirect
3725
github.com/go-playground/locales v0.14.1 // indirect
3826
github.com/go-playground/universal-translator v0.18.1 // indirect
39-
github.com/go-playground/validator/v10 v10.14.0 // indirect
40-
github.com/goccy/go-json v0.10.2 // indirect
27+
github.com/go-playground/validator/v10 v10.26.0 // indirect
28+
github.com/goccy/go-json v0.10.5 // indirect
4129
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
42-
github.com/golang/protobuf v1.5.4 // indirect
4330
github.com/json-iterator/go v1.1.12 // indirect
44-
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
45-
github.com/leodido/go-urn v1.2.4 // indirect
46-
github.com/mattn/go-colorable v0.1.12 // indirect
47-
github.com/mattn/go-isatty v0.0.19 // indirect
48-
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
31+
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
32+
github.com/kr/pretty v0.3.1 // indirect
33+
github.com/leodido/go-urn v1.4.0 // indirect
34+
github.com/mattn/go-colorable v0.1.14 // indirect
35+
github.com/mattn/go-isatty v0.0.20 // indirect
4936
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5037
github.com/modern-go/reflect2 v1.0.2 // indirect
51-
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
52-
github.com/prometheus/client_golang v1.11.1 // indirect
53-
github.com/prometheus/client_model v0.2.0 // indirect
54-
github.com/prometheus/common v0.26.0 // indirect
55-
github.com/prometheus/procfs v0.6.0 // indirect
38+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
39+
github.com/rogpeppe/go-internal v1.13.1 // indirect
5640
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
57-
github.com/ugorji/go/codec v1.2.11 // indirect
58-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
59-
go.opentelemetry.io/otel/metric v1.35.0 // indirect
41+
github.com/ugorji/go/codec v1.2.12 // indirect
6042
go.uber.org/multierr v1.11.0 // indirect
6143
go.uber.org/zap v1.27.0 // indirect
62-
golang.org/x/arch v0.3.0 // indirect
63-
golang.org/x/crypto v0.35.0 // indirect
64-
golang.org/x/net v0.36.0 // indirect
65-
golang.org/x/sys v0.30.0 // indirect
66-
golang.org/x/text v0.22.0 // indirect
67-
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
68-
google.golang.org/grpc v1.56.3 // indirect
44+
golang.org/x/arch v0.16.0 // indirect
45+
golang.org/x/crypto v0.37.0 // indirect
46+
golang.org/x/net v0.39.0 // indirect
47+
golang.org/x/sys v0.32.0 // indirect
48+
golang.org/x/text v0.24.0 // indirect
49+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
6950
gopkg.in/yaml.v3 v3.0.1 // indirect
7051
)
7152

samples/http/go.sum

Lines changed: 56 additions & 192 deletions
Large diffs are not rendered by default.

samples/http/metrics/main.go

Lines changed: 0 additions & 123 deletions
This file was deleted.

samples/http/otel-sender-receiver/README.md

Lines changed: 0 additions & 54 deletions
This file was deleted.

samples/http/otel-sender-receiver/client/client.go

Lines changed: 0 additions & 43 deletions
This file was deleted.

samples/http/otel-sender-receiver/docker-compose.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

samples/http/otel-sender-receiver/instrumentation/sdkUtils.go

Lines changed: 0 additions & 52 deletions
This file was deleted.
-77.3 KB
Binary file not shown.
-84.1 KB
Binary file not shown.
-78.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)