Skip to content

Commit

Permalink
docs: fix readme MetricProvider -> MeterProvider (#1791)
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass authored Jan 5, 2021
1 parent 6b5d347 commit 042a99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/opentelemetry-exporter-collector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: '<opentelemetry-collector-url>', // url is optional and can be omitted - default is http://localhost:55681/v1/metrics
Expand Down

0 comments on commit 042a99a

Please sign in to comment.