From b25a36e3dab983044a6c52b52869b693899a7071 Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Fri, 9 Sep 2022 14:04:08 +0000 Subject: [PATCH] update to latest version of MetricProducer proposal --- specification/compatibility/opencensus.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/specification/compatibility/opencensus.md b/specification/compatibility/opencensus.md index f035549dd43..fa9831c7da3 100644 --- a/specification/compatibility/opencensus.md +++ b/specification/compatibility/opencensus.md @@ -192,11 +192,6 @@ implements the OpenTelemetry MetricProducer interface. When Produce() is invoked, the shim collects metrics from the OpenCensus global state, converts the metrics to an OpenTelemetry metrics batch, and returns. -To construct a shim, the caller MUST be able to provide the following: - -* A resource (optional) to attach to metrics batches. If not provided, the -default resource is used. - ### Requirements * This component MUST be an optional dependency. @@ -226,7 +221,7 @@ the shim. ### Usage The shim can be passed as an option to an OpenTelemetry -[MetricReader](../metrics/sdk.md#metricreader) when configuring the +[MeterProvider](../metrics/sdk.md#meterprovider) when configuring the OpenTelemetry SDK. This enables the bridge to work with both push and pull metric exporters.