Skip to content

Commit

Permalink
[monitor] Change package namespace back to @Azure (#12843)
Browse files Browse the repository at this point in the history
Change namespace back to @Azure
  • Loading branch information
xirzec authored Dec 11, 2020
1 parent 9e2f30b commit 12a7806
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions sdk/monitor/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
4 changes: 2 additions & 2 deletions sdk/monitor/opentelemetry-exporter-azure-monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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");

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@microsoft/opentelemetry-exporter-azure-monitor",
"name": "@azure/opentelemetry-exporter-azure-monitor",
"author": "[email protected]",
"sdk-type": "client",
"version": "1.0.0-beta.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -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/).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sdk/monitor/opentelemetry-exporter-azure-monitor/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 12a7806

Please sign in to comment.