Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the Duplicated code in OTLP Exporter with config part #2684

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 74 additions & 64 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,291 +1,301 @@
# File generated by dbotconf; DO NOT EDIT.
# File generated by "make dependabot-generate"; DO NOT EDIT.

version: 2
updates:
- package-ecosystem: github-actions
directory: /
labels:
- dependencies
- actions
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /bridge/opencensus
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /bridge/opencensus/test
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /bridge/opentracing
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /example/fib
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /example/jaeger
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /example/namedtracer
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /example/opencensus
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /example/otel-collector
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /example/passthrough
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /example/prometheus
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /example/zipkin
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/jaeger
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/otlp/internal
labels:
- dependencies
- go
- "Skip Changelog"
schedule:
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/otlp/internal/retry
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/otlp/otlpmetric
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/otlp/otlpmetric/otlpmetricgrpc
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/otlp/otlpmetric/otlpmetrichttp
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/otlp/otlptrace
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/otlp/otlptrace/otlptracegrpc
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/otlp/otlptrace/otlptracehttp
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/prometheus
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/stdout/stdoutmetric
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/stdout/stdouttrace
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /exporters/zipkin
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /internal/tools
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /metric
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /schema
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /sdk
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /sdk/export/metric
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /sdk/metric
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
- package-ecosystem: gomod
directory: /trace
labels:
- dependencies
- go
- Skip Changelog
- "Skip Changelog"
schedule:
interval: weekly
day: sunday
interval: weekly
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Code instrumented with the `go.opentelemetry.io/otel/metric` will need to be mod

### Changed

- The metrics API has been significantly changed. (#2587)
- Refactored the duplicated part in OTLP exporter trace and metrics config. (#2684)
Comment on lines +28 to +29
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go in the unreleased section, and only have this PR's change.

- The metrics API has been significantly changed to match the revised OpenTelemetry specification.
High-level changes include:

Expand Down
2 changes: 2 additions & 0 deletions bridge/opencensus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@ replace go.opentelemetry.io/otel/example/fib => ../../example/fib
replace go.opentelemetry.io/otel/schema => ../../schema

replace go.opentelemetry.io/otel/exporters/otlp/internal/retry => ../../exporters/otlp/internal/retry

replace go.opentelemetry.io/otel/exporters/otlp/internal => ../../exporters/otlp/internal
2 changes: 2 additions & 0 deletions bridge/opencensus/test/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,5 @@ replace go.opentelemetry.io/otel/example/fib => ../../../example/fib
replace go.opentelemetry.io/otel/schema => ../../../schema

replace go.opentelemetry.io/otel/exporters/otlp/internal/retry => ../../../exporters/otlp/internal/retry

replace go.opentelemetry.io/otel/exporters/otlp/internal => ../../../exporters/otlp/internal
2 changes: 2 additions & 0 deletions bridge/opentracing/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ replace go.opentelemetry.io/otel/example/fib => ../../example/fib
replace go.opentelemetry.io/otel/schema => ../../schema

replace go.opentelemetry.io/otel/exporters/otlp/internal/retry => ../../exporters/otlp/internal/retry

replace go.opentelemetry.io/otel/exporters/otlp/internal => ../../exporters/otlp/internal
2 changes: 2 additions & 0 deletions example/fib/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ replace go.opentelemetry.io/otel/example/fib => ./
replace go.opentelemetry.io/otel/schema => ../../schema

replace go.opentelemetry.io/otel/exporters/otlp/internal/retry => ../../exporters/otlp/internal/retry

replace go.opentelemetry.io/otel/exporters/otlp/internal => ../../exporters/otlp/internal
Loading