You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +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:
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user