Skip to content

Commit

Permalink
Deprecate otlpmetric (#4693)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Nov 6, 2023
1 parent 3560dc5 commit 0f5179f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -31,6 +31,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Deprecate `go.opentelemetry.io/otel/trace.NewNoopTracerProvider`.
Use the added `NewTracerProvider` function in `go.opentelemetry.io/otel/trace/noop` instead. (#4620)
- Deprecate `go.opentelemetry.io/otel/example/view` package in favor of `go.opentelemetry.io/otel/example/prometheus`. (#4649)
- Deprecate `go.opentelemetry.io/otel/exporters/otlp/otlpmetric`. (#4693)

### Changed

Expand Down
3 changes: 3 additions & 0 deletions exporters/otlp/otlpmetric/doc.go
Expand Up @@ -17,4 +17,7 @@
// the transformed data to OTLP receivers. The Exporter is configurable to use
// different Clients, each using a distinct transport protocol to communicate
// to an OTLP receiving endpoint.
//
// Deprecated: Use [go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc]
// or [go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp] instead.
package otlpmetric // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric"
1 change: 1 addition & 0 deletions exporters/otlp/otlpmetric/go.mod
@@ -1,3 +1,4 @@
// Deprecated: use go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc or go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp instead.
module go.opentelemetry.io/otel/exporters/otlp/otlpmetric

go 1.20
Expand Down

0 comments on commit 0f5179f

Please sign in to comment.