diff --git a/rush.json b/rush.json index 00e6eebf6045..e3a0d142121c 100644 --- a/rush.json +++ b/rush.json @@ -433,7 +433,7 @@ "versionPolicyName": "client" }, { - "packageName": "@microsoft/opentelemetry-exporter-azure-monitor", + "packageName": "@azure/opentelemetry-exporter-azure-monitor", "projectFolder": "sdk/monitor/opentelemetry-exporter-azure-monitor", "versionPolicyName": "client" }, diff --git a/sdk/monitor/ci.yml b/sdk/monitor/ci.yml index 59e546df0f14..30019f75a11c 100644 --- a/sdk/monitor/ci.yml +++ b/sdk/monitor/ci.yml @@ -28,5 +28,5 @@ extends: ServiceDirectory: monitor RunUnitTests: true Artifacts: - - name: microsoft-opentelemetry-exporter-azure-monitor - safeName: microsoftopentelemetryexporterazuremonitor + - name: azure-opentelemetry-exporter-azure-monitor + safeName: azureopentelemetryexporterazuremonitor diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/CHANGELOG.md b/sdk/monitor/opentelemetry-exporter-azure-monitor/CHANGELOG.md index 3d22f6be242f..a6a89d242e3f 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/CHANGELOG.md +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/CHANGELOG.md @@ -2,7 +2,7 @@ ## 1.0.0-beta.1 (Unreleased) -- Rename package to `@microsoft/opentelemetry-exporter-azure-monitor` +- Rename package to `@azure/opentelemetry-exporter-azure-monitor` - [BREAKING] Deprecate all configuration options except for `connectionString` - [BREAKING] Removed support for `TelemetryProcessor` diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/README.md b/sdk/monitor/opentelemetry-exporter-azure-monitor/README.md index d7c05ad54bbd..4a397a35bd06 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/README.md +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/README.md @@ -8,7 +8,7 @@ This exporter package assumes your application is [already instrumented](https:/ ### Install the package -`npm install @microsoft/opentelemetry-exporter-azure-monitor` +`npm install @azure/opentelemetry-exporter-azure-monitor` ### Prerequisites @@ -21,7 +21,7 @@ If you are using this package in a Node.js application, then use Node.js 8.x or Add the exporter to your existing OpenTelemetry tracer provider (`NodeTracerProvider` / `BasicTracerProvider`) ```js -const { AzureMonitorTraceExporter } = require("@microsoft/opentelemetry-exporter-azure-monitor"); +const { AzureMonitorTraceExporter } = require("@azure/opentelemetry-exporter-azure-monitor"); const { NodeTracerProvider } = require("@opentelemetry/node"); const { BatchSpanProcessor } = require("@opentelemetry/tracing"); diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json b/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json index 8acc66231359..884dd6849ba2 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json @@ -1,5 +1,5 @@ { - "name": "@microsoft/opentelemetry-exporter-azure-monitor", + "name": "@azure/opentelemetry-exporter-azure-monitor", "author": "appinsightssdk@microsoft.com", "sdk-type": "client", "version": "1.0.0-beta.1", diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/review/opentelemetry-exporter-azure-monitor.api.md b/sdk/monitor/opentelemetry-exporter-azure-monitor/review/opentelemetry-exporter-azure-monitor.api.md index 35face69df5f..7490c791e7cf 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/review/opentelemetry-exporter-azure-monitor.api.md +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/review/opentelemetry-exporter-azure-monitor.api.md @@ -1,4 +1,4 @@ -## API Report File for "@microsoft/opentelemetry-exporter-azure-monitor" +## API Report File for "@azure/opentelemetry-exporter-azure-monitor" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/README.md b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/README.md index ffec69608b0a..aaed34f4339a 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/README.md +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/README.md @@ -2,7 +2,7 @@ Code cloned from [azure-sdk-for-js/storage-blob/samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples). -## `@microsoft/opentelemetry-exporter-azure-monitor` +## `@azure/opentelemetry-exporter-azure-monitor` All changes required to enable exporting trace data to Azure Monitor were made in `tracing.ts` / `tracing.js`. diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/javascript/package.json b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/javascript/package.json index 4b554da41ea2..a6bc930d3770 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/javascript/package.json +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/javascript/package.json @@ -28,7 +28,7 @@ "@azure/abort-controller": "latest", "@azure/identity": "latest", "@azure/storage-blob": "latest", - "@microsoft/opentelemetry-exporter-azure-monitor": "latest", + "@azure/opentelemetry-exporter-azure-monitor": "latest", "@opentelemetry/node": "latest", "dotenv": "^8.2.0" }, diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/javascript/tracing.js b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/javascript/tracing.js index 895e31cf7993..f2298ce69de5 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/javascript/tracing.js +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/javascript/tracing.js @@ -1,4 +1,4 @@ -import { AzureMonitorTraceExporter } from "@microsoft/opentelemetry-exporter-azure-monitor"; +import { AzureMonitorTraceExporter } from "@azure/opentelemetry-exporter-azure-monitor"; import { NodeTracerProvider } from "@opentelemetry/node"; import { BatchSpanProcessor } from "@opentelemetry/tracing"; import * as azureSdkTracing from "@azure/core-tracing"; diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/typescript/package.json b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/typescript/package.json index b36b6eac9614..1bc937ce71a2 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/typescript/package.json +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/typescript/package.json @@ -30,7 +30,7 @@ "sideEffects": false, "dependencies": { "@azure/storage-blob": "latest", - "@microsoft/opentelemetry-exporter-azure-monitor": "latest", + "@azure/opentelemetry-exporter-azure-monitor": "latest", "@opentelemetry/plugins-node-core": "latest", "@opentelemetry/node": "latest", "dotenv": "^8.2.0" diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/typescript/src/tracing.ts b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/typescript/src/tracing.ts index 7f6af870f416..a50a9626f2e9 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/typescript/src/tracing.ts +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/@azure/storage-blob/typescript/src/tracing.ts @@ -1,4 +1,4 @@ -import { AzureMonitorTraceExporter } from "@microsoft/opentelemetry-exporter-azure-monitor"; +import { AzureMonitorTraceExporter } from "@azure/opentelemetry-exporter-azure-monitor"; import { NodeTracerProvider } from "@opentelemetry/node"; import { BatchSpanProcessor } from "@opentelemetry/tracing"; import * as azureSdkTracing from "@azure/core-tracing"; diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/basic-tracer-node/index.js b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/basic-tracer-node/index.js index 4d7d8cf45407..e610261541fe 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/basic-tracer-node/index.js +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/basic-tracer-node/index.js @@ -5,7 +5,7 @@ require("dotenv").config(); const opentelemetry = require("@opentelemetry/api"); const { BasicTracerProvider, SimpleSpanProcessor } = require("@opentelemetry/tracing"); -const { AzureMonitorTraceExporter } = require("@microsoft/opentelemetry-exporter-azure-monitor"); +const { AzureMonitorTraceExporter } = require("@azure/opentelemetry-exporter-azure-monitor"); const provider = new BasicTracerProvider(); diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/basic-tracer-node/package.json b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/basic-tracer-node/package.json index 72340d6d3087..20dd0ee3c4e2 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/basic-tracer-node/package.json +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/basic-tracer-node/package.json @@ -27,7 +27,7 @@ "url": "https://github.com/open-telemetry/opentelemetry-js/issues" }, "dependencies": { - "@microsoft/opentelemetry-exporter-azure-monitor": "latest", + "@azure/opentelemetry-exporter-azure-monitor": "latest", "@opentelemetry/api": "latest", "@opentelemetry/tracing": "latest", "dotenv": "^8.2.0" diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/grpc/package.json b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/grpc/package.json index ce28d9fa8dc0..6aea60f2e8e7 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/grpc/package.json +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/grpc/package.json @@ -29,7 +29,7 @@ "url": "https://github.com/open-telemetry/opentelemetry-js/issues" }, "dependencies": { - "@microsoft/opentelemetry-exporter-azure-monitor": "latest", + "@azure/opentelemetry-exporter-azure-monitor": "latest", "@opentelemetry/api": "latest", "@opentelemetry/core": "latest", "@opentelemetry/node": "latest", diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/grpc/tracer.js b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/grpc/tracer.js index ab26e25c195c..d253617a90e7 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/grpc/tracer.js +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/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("@microsoft/opentelemetry-exporter-azure-monitor"); +const { AzureMonitorTraceExporter } = require("@azure/opentelemetry-exporter-azure-monitor"); const { ConsoleLogger, LogLevel } = require("@opentelemetry/core"); module.exports = () => { diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/https/package.json b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/https/package.json index a771c8c108e8..c8c6e36faaf3 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/https/package.json +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/https/package.json @@ -33,7 +33,7 @@ "cross-env": "^7.0.2" }, "dependencies": { - "@microsoft/opentelemetry-exporter-azure-monitor": "latest", + "@azure/opentelemetry-exporter-azure-monitor": "latest", "@opentelemetry/api": "latest", "@opentelemetry/core": "latest", "@opentelemetry/node": "latest", diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/https/tracer.js b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/https/tracer.js index 0af4d45fd512..343a59a79fad 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/https/tracer.js +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/samples/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("@microsoft/opentelemetry-exporter-azure-monitor"); +const { AzureMonitorTraceExporter } = require("@azure/opentelemetry-exporter-azure-monitor"); const { ConsoleLogger, LogLevel } = require("@opentelemetry/core"); module.exports = () => { diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/src/generated/applicationInsightsClientContext.ts b/sdk/monitor/opentelemetry-exporter-azure-monitor/src/generated/applicationInsightsClientContext.ts index 9f98e2f86e0b..f502c2cf98f9 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/src/generated/applicationInsightsClientContext.ts +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/src/generated/applicationInsightsClientContext.ts @@ -9,7 +9,7 @@ import * as coreHttp from "@azure/core-http"; import { ApplicationInsightsClientOptionalParams } from "./models"; -const packageName = "@microsoft/opentelemetry-exporter-azure-monitor"; +const packageName = "@azure/opentelemetry-exporter-azure-monitor"; const packageVersion = "1.0.0"; export class ApplicationInsightsClientContext extends coreHttp.ServiceClient { diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/swagger/README.md b/sdk/monitor/opentelemetry-exporter-azure-monitor/swagger/README.md index 945ee68f8c2b..dec94f1e10ba 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/swagger/README.md +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/swagger/README.md @@ -14,7 +14,7 @@ autorest --typescript --v3 ## Configuration ```yaml -package-name: "@microsoft/opentelemetry-exporter-azure-monitor" +package-name: "@azure/opentelemetry-exporter-azure-monitor" title: ApplicationInsightsClient description: Application Insights Client generate-metadata: false diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/tests.yml b/sdk/monitor/opentelemetry-exporter-azure-monitor/tests.yml index 7341c8bae8ac..411093d62cff 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/tests.yml +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/tests.yml @@ -4,7 +4,7 @@ extends: template: ../../../eng/pipelines/templates/jobs/archetype-sdk-integration.yml parameters: TimeoutInMinutes: 15 - PackageName: "@microsoft/opentelemetry-exporter-azure-monitor" + PackageName: "@azure/opentelemetry-exporter-azure-monitor" ResourceServiceDirectory: monitor TestSamples: false PostIntegrationSteps: monitor-additional-steps