1
0
Форкнуть 0
This commit is contained in:
Mark Wolff 2020-04-29 14:28:12 -04:00 коммит произвёл GitHub
Родитель 041aee52e6
Коммит b038a854bd
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
8 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -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",