Skip to content

Commit

Permalink
docs: fix readme MetricProvider -> MeterProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass committed Jan 5, 2021
1 parent 6b5d347 commit 79c9e9b
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 79c9e9b

Please sign in to comment.