Skip to content

Commit

Permalink
Remove the deprecated internal exporters/otlp* packages (#4469)
Browse files Browse the repository at this point in the history
* Remove the deprecated otlpmetric/internal pkg

* Remove the deprecated otlp/internal pkg

* Remove the deprecated otlptrace/internal pkg

* Remove the deprecated otlptrace/internal/envconfig pkg

* Remove the deprecated otlptrace/internal/otlpconfig pkg

* Remove the deprecated otlptrace/internal/otlptracetest pkg

* Remove the deprecated otlptrace/internal/retry pkg

* Add changelog entry

* Remove dependabot entries

* Remove versions.yaml entry

* Run go mod tidy

* Remove linter override for removed pkgs

* Run crosslink
  • Loading branch information
MrAlias committed Aug 29, 2023
1 parent d702e92 commit e528731
Show file tree
Hide file tree
Showing 70 changed files with 34 additions and 8,106 deletions.
9 changes: 0 additions & 9 deletions .github/dependabot.yml
Expand Up @@ -136,15 +136,6 @@ updates:
schedule:
interval: weekly
day: sunday
- package-ecosystem: gomod
directory: /exporters/otlp/internal/retry
labels:
- dependencies
- go
- Skip Changelog
schedule:
interval: weekly
day: sunday
- package-ecosystem: gomod
directory: /exporters/otlp/otlpmetric
labels:
Expand Down
5 changes: 0 additions & 5 deletions .golangci.yml
Expand Up @@ -76,11 +76,6 @@ linters-settings:
otlp-internal:
files:
- "!**/exporters/otlp/internal/**/*.go"
# TODO: remove the following when otlpmetric/internal is removed.
- "!**/exporters/otlp/otlpmetric/internal/oconf/envconfig.go"
- "!**/exporters/otlp/otlpmetric/internal/oconf/options.go"
- "!**/exporters/otlp/otlpmetric/internal/oconf/options_test.go"
- "!**/exporters/otlp/otlpmetric/internal/otest/client_test.go"
deny:
- pkg: "go.opentelemetry.io/otel/exporters/otlp/internal"
desc: Do not use cross-module internal packages.
Expand Down
5 changes: 3 additions & 2 deletions CHANGELOG.md
Expand Up @@ -10,9 +10,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

### Removed

- Remove the deprecated `go.opentelemetry.io/otel/exporters/jaeger` package. (#4467)
- Remove the deprecated `go.opentelemetry.io/otel/example/jaeger` package. (#4467)
- Removed the deprecated `go.opentelemetry.io/otel/exporters/jaeger` package. (#4467)
- Removed the deprecated `go.opentelemetry.io/otel/example/jaeger` package. (#4467)
- Removed the deprecated `go.opentelemetry.io/otel/sdk/metric/aggregation` package. (#4468)
- Removed the deprecated internal packages in `go.opentelemetry.io/otel/exporters/otlp` and its sub-packages. (#4469)

## [1.17.0/0.40.0/0.0.5] 2023-08-28

Expand Down
37 changes: 0 additions & 37 deletions exporters/otlp/internal/config.go

This file was deleted.

83 changes: 0 additions & 83 deletions exporters/otlp/internal/config_test.go

This file was deleted.

20 changes: 0 additions & 20 deletions exporters/otlp/internal/envconfig/doc.go

This file was deleted.

199 changes: 0 additions & 199 deletions exporters/otlp/internal/envconfig/envconfig.go

This file was deleted.

0 comments on commit e528731

Please sign in to comment.