From 042a99aeafa9fdf632c2f35c9575511d48cc02f7 Mon Sep 17 00:00:00 2001 From: Aaron Abbott Date: Tue, 5 Jan 2021 14:24:53 -0500 Subject: [PATCH] docs: fix readme MetricProvider -> MeterProvider (#1791) --- packages/opentelemetry-exporter-collector/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opentelemetry-exporter-collector/README.md b/packages/opentelemetry-exporter-collector/README.md index 1d0cf969d9..00432b0571 100644 --- a/packages/opentelemetry-exporter-collector/README.md +++ b/packages/opentelemetry-exporter-collector/README.md @@ -47,7 +47,7 @@ provider.register(); The CollectorMetricExporter in Web expects the endpoint to end in `/v1/metrics`. ```js -import { MetricProvider } from '@opentelemetry/metrics'; +import { MeterProvider } from '@opentelemetry/metrics'; import { CollectorMetricExporter } from '@opentelemetry/exporter-collector'; const collectorOptions = { url: '', // url is optional and can be omitted - default is http://localhost:55681/v1/metrics