mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-30 21:20:04 +02:00
Fix bridge/opencensus
NewMetricExporter
deprecation notice (#4470)
* Fix bridge/opencensus NewMetricExporter dep notice * Link to NewMetricProducer * Add PR number to changelog
This commit is contained in:
parent
e528731853
commit
e0a39b8f7d
@ -8,6 +8,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Deprecated
|
||||
|
||||
- The `NewMetricExporter` in `go.opentelemetry.io/otel/bridge/opencensus` was deprecated in `v0.35.0` (#3541).
|
||||
The deprecation notice format for the function has been corrected to trigger Go documentation and build tooling. (#4470)
|
||||
|
||||
### Removed
|
||||
|
||||
- Removed the deprecated `go.opentelemetry.io/otel/exporters/jaeger` package. (#4467)
|
||||
|
@ -70,7 +70,8 @@ type exporter struct {
|
||||
|
||||
// NewMetricExporter returns an OpenCensus exporter that exports to an
|
||||
// OpenTelemetry (push) exporter.
|
||||
// Deprecated: Use NewMetricProducer instead.
|
||||
//
|
||||
// Deprecated: Use [NewMetricProducer] instead.
|
||||
func NewMetricExporter(base metric.Exporter, res *resource.Resource) metricexport.Exporter {
|
||||
return &exporter{base: base, res: res}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user