Skip to content

Commit

Permalink
Remove examples (#5930)
Browse files Browse the repository at this point in the history
Fixes #5801

Remove all examples under go.opentelemetry.io/otel/example as they are
moved to Contrib repository.
  • Loading branch information
pellared authored Oct 31, 2024
1 parent 2a50fab commit 06ee6f2
Show file tree
Hide file tree
Showing 25 changed files with 4 additions and 116 deletions.
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,3 @@ go.work
go.work.sum

gen/

/example/dice/dice
/example/namedtracer/namedtracer
/example/otel-collector/otel-collector
/example/opencensus/opencensus
/example/passthrough/passthrough
/example/prometheus/prometheus
/example/zipkin/zipkin
2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ linters-settings:
- "**/metric/**/*.go"
- "**/bridge/*.go"
- "**/bridge/**/*.go"
- "**/example/*.go"
- "**/example/**/*.go"
- "**/trace/*.go"
- "**/trace/**/*.go"
- "**/log/*.go"
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Support scope attributes and make them as identifying for `Logger` in `go.opentelemetry.io/otel` and `go.opentelemetry.io/otel/sdk/log`. (#5925)
- Make schema URL and scope attributes as identifying for `Tracer` in `go.opentelemetry.io/otel/bridge/opentracing`. (#5931)

### Removed

- Remove all examples under `go.opentelemetry.io/otel/example` as they are moved to [Contrib repository](https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/examples). (#5930)

<!-- Released section -->
<!-- Don't change this section unless doing release -->

Expand Down
4 changes: 0 additions & 4 deletions example/dice/go.mod

This file was deleted.

Empty file removed example/dice/go.sum
Empty file.
10 changes: 0 additions & 10 deletions example/dice/main.go

This file was deleted.

4 changes: 0 additions & 4 deletions example/namedtracer/go.mod

This file was deleted.

Empty file removed example/namedtracer/go.sum
Empty file.
10 changes: 0 additions & 10 deletions example/namedtracer/main.go

This file was deleted.

4 changes: 0 additions & 4 deletions example/opencensus/go.mod

This file was deleted.

Empty file removed example/opencensus/go.sum
Empty file.
10 changes: 0 additions & 10 deletions example/opencensus/main.go

This file was deleted.

4 changes: 0 additions & 4 deletions example/otel-collector/go.mod

This file was deleted.

1 change: 0 additions & 1 deletion example/otel-collector/go.sum

This file was deleted.

10 changes: 0 additions & 10 deletions example/otel-collector/main.go

This file was deleted.

4 changes: 0 additions & 4 deletions example/passthrough/go.mod

This file was deleted.

Empty file removed example/passthrough/go.sum
Empty file.
10 changes: 0 additions & 10 deletions example/passthrough/main.go

This file was deleted.

4 changes: 0 additions & 4 deletions example/prometheus/go.mod

This file was deleted.

Empty file removed example/prometheus/go.sum
Empty file.
10 changes: 0 additions & 10 deletions example/prometheus/main.go

This file was deleted.

4 changes: 0 additions & 4 deletions example/zipkin/go.mod

This file was deleted.

Empty file removed example/zipkin/go.sum
Empty file.
10 changes: 0 additions & 10 deletions example/zipkin/main.go

This file was deleted.

7 changes: 0 additions & 7 deletions versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ module-sets:
- go.opentelemetry.io/otel/bridge/opencensus/test
- go.opentelemetry.io/otel/bridge/opentracing
- go.opentelemetry.io/otel/bridge/opentracing/test
- go.opentelemetry.io/otel/example/dice
- go.opentelemetry.io/otel/example/namedtracer
- go.opentelemetry.io/otel/example/opencensus
- go.opentelemetry.io/otel/example/otel-collector
- go.opentelemetry.io/otel/example/passthrough
- go.opentelemetry.io/otel/example/zipkin
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
- go.opentelemetry.io/otel/exporters/otlp/otlptrace
Expand All @@ -31,7 +25,6 @@ module-sets:
experimental-metrics:
version: v0.53.0
modules:
- go.opentelemetry.io/otel/example/prometheus
- go.opentelemetry.io/otel/exporters/prometheus
experimental-logs:
version: v0.7.0
Expand Down

0 comments on commit 06ee6f2

Please sign in to comment.