change package name (#12)
This commit is contained in:
Родитель
041aee52e6
Коммит
b038a854bd
|
@ -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');
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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 = () => {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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 = () => {
|
||||
|
|
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче