diff --git a/README.md b/README.md index a567d3b..57193c1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This exporter package assumes your application is [already instrumented](https://github.com/open-telemetry/opentelemetry-js/blob/master/getting-started/README.md) with the OpenTelemetry SDK. Once you are ready to export OpenTelemetry data, you can add this exporter to your application: ```zsh -npm i --save @azure/opentelemetry-exporter +npm i --save @azure/monitor-opentelemetry-exporter ``` ### Distributed Tracing @@ -18,7 +18,7 @@ npm i --save @azure/opentelemetry-exporter Add the exporter to your existing OpenTelemetry tracer provider (`NodeTracerProvider` / `BasicTracerProvider`) ```js -const { AzureMonitorTraceExporter } = require('@azure/opentelemetry-exporter'); +const { AzureMonitorTraceExporter } = require('@azure/monitor-opentelemetry-exporter'); const { NodeTracerProvider } = require('@opentelemetry/node'); const { BatchSpanProcessor } = require('@opentelemetry/tracing'); diff --git a/examples/basic-tracer-node/index.js b/examples/basic-tracer-node/index.js index 4a84ad1..028deff 100644 --- a/examples/basic-tracer-node/index.js +++ b/examples/basic-tracer-node/index.js @@ -2,7 +2,7 @@ const opentelemetry = require('@opentelemetry/api'); const { BasicTracerProvider, SimpleSpanProcessor } = require('@opentelemetry/tracing'); -const { AzureMonitorTraceExporter } = require('@azure/opentelemetry-exporter'); +const { AzureMonitorTraceExporter } = require('@azure/monitor-opentelemetry-exporter'); const provider = new BasicTracerProvider(); diff --git a/examples/basic-tracer-node/package.json b/examples/basic-tracer-node/package.json index 43f42a2..ba1c33f 100644 --- a/examples/basic-tracer-node/package.json +++ b/examples/basic-tracer-node/package.json @@ -30,7 +30,7 @@ "cross-env": "^6.0.0" }, "dependencies": { - "@azure/opentelemetry-exporter": "^1.0.0-preview.1", + "@azure/monitor-opentelemetry-exporter": "^1.0.0-preview.1", "@opentelemetry/api": "^0.7.0", "@opentelemetry/tracing": "^0.7.0" }, diff --git a/examples/grpc/package.json b/examples/grpc/package.json index f37af6e..f6cac47 100644 --- a/examples/grpc/package.json +++ b/examples/grpc/package.json @@ -32,7 +32,7 @@ "cross-env": "^6.0.0" }, "dependencies": { - "@azure/opentelemetry-exporter": "^1.0.0-preview.1", + "@azure/monitor-opentelemetry-exporter": "^1.0.0-preview.1", "@opentelemetry/api": "^0.7.0", "@opentelemetry/core": "^0.7.0", "@opentelemetry/node": "^0.7.0", diff --git a/examples/grpc/tracer.js b/examples/grpc/tracer.js index 5a92481..9ee1f6a 100644 --- a/examples/grpc/tracer.js +++ b/examples/grpc/tracer.js @@ -3,7 +3,7 @@ const opentelemetry = require('@opentelemetry/api'); const { NodeTracerProvider } = require('@opentelemetry/node'); const { BatchSpanProcessor } = require('@opentelemetry/tracing'); -const { AzureMonitorTraceExporter } = require('@azure/opentelemetry-exporter'); +const { AzureMonitorTraceExporter } = require('@azure/monitor-opentelemetry-exporter'); const { ConsoleLogger, LogLevel } = require('@opentelemetry/core'); module.exports = () => { diff --git a/examples/https/package.json b/examples/https/package.json index 1071829..6a00b97 100644 --- a/examples/https/package.json +++ b/examples/https/package.json @@ -33,7 +33,7 @@ "cross-env": "^6.0.0" }, "dependencies": { - "@azure/opentelemetry-exporter": "^1.0.0-preview.1", + "@azure/monitor-opentelemetry-exporter": "^1.0.0-preview.1", "@opentelemetry/api": "^0.7.0", "@opentelemetry/core": "^0.7.0", "@opentelemetry/node": "^0.7.0", diff --git a/examples/https/tracer.js b/examples/https/tracer.js index f3ee8d3..914ee69 100644 --- a/examples/https/tracer.js +++ b/examples/https/tracer.js @@ -3,7 +3,7 @@ const opentelemetry = require('@opentelemetry/api'); const { NodeTracerProvider } = require('@opentelemetry/node'); const { BatchSpanProcessor } = require('@opentelemetry/tracing'); -const { AzureMonitorTraceExporter } = require('@azure/opentelemetry-exporter'); +const { AzureMonitorTraceExporter } = require('@azure/monitor-opentelemetry-exporter'); const { ConsoleLogger, LogLevel } = require('@opentelemetry/core'); module.exports = () => { diff --git a/packages/azure-opentelemetry-exporter/package.json b/packages/azure-opentelemetry-exporter/package.json index 262ede4..abf33c3 100644 --- a/packages/azure-opentelemetry-exporter/package.json +++ b/packages/azure-opentelemetry-exporter/package.json @@ -1,5 +1,5 @@ { - "name": "@azure/opentelemetry-exporter", + "name": "@azure/monitor-opentelemetry-exporter", "version": "1.0.0-preview.1", "description": "Application Insights exporter for the OpenTelemetry JavaScript (Node.js) SDK", "main": "build/src/index.js",