Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Azure Monitor Exporter artifact #19063

Merged
merged 3 commits into from
Feb 9, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

/sdk/loganalytics/microsoft-azure-loganalytics/ @divya-jay @geneh @alongafni

/sdk/monitor/azure-opentelemetry-exporter-azuremonitor @trask @joshfree @srnagar
/sdk/monitor/azure-monitor-opentelemetry-exporter @trask @joshfree @srnagar

# PRLabel: %Schema Registry
/sdk/schemaregistry/ @arerlend @sjkwak
Expand Down
4 changes: 2 additions & 2 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ omitted_paths:
- profiles/*
- loganalytics/data-plane/samples/*
- sdk/*/azure-*/samples/*
- sdk/*/azure-opentelemetry-exporter-azuremonitor/*/samples/*
- sdk/*/azure-monitor-opentelemetry-exporter/*/samples/*
- sdk/applicationinsights/microsoft-azure-applicationinsights-query/samples/*
- sdk/spring/azure-spring-boot-samples/*
- sdk/loganalytics/microsoft-azure-loganalytics/samples/*
Expand Down Expand Up @@ -144,7 +144,7 @@ known_content_issues:
- ['sdk/keyvault/README.md', '#3113']
- ['sdk/keyvault/azure-security-keyvault-administration/README.md', '#3113']
- ['sdk/loganalytics/microsoft-azure-loganalytics/README.md', '#3113']
- ['sdk/monitor/azure-opentelemetry-exporter-azuremonitor/swagger/README.md', '#3113' ]
- ['sdk/monitor/azure-monitor-opentelemetry-exporter/swagger/README.md', '#3113' ]
- ['sdk/parents/azure-client-sdk-parent/README.md', '#3113']
- ['sdk/search/azure-search-documents/swagger/README.md', '#3113']
- ['sdk/search/azure-search-documents/src/test/README.md', '#3113']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ the main ServiceBusClientBuilder. -->
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder"/>
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporter"/>
files="com.azure.monitor.opentelemetry.exporter.AzureMonitorExporter"/>

<!-- Suppress external dependency Checkstyle on serialization packages -->
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
Expand Down Expand Up @@ -388,7 +388,7 @@ the main ServiceBusClientBuilder. -->
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files=".*[/\\]implementation[/\\].*"/>

<!-- Suppress the check on code-gen classes -->
<suppress checks="[a-zA-Z0-9]*" files="com.azure.opentelemetry.exporter.azuremonitor.implementation.*"/>
<suppress checks="[a-zA-Z0-9]*" files="com.azure.monitor.opentelemetry.exporter.implementation.*"/>
<suppress checks="Indentation" files="com.azure.security.keyvault.administration.implementation.RoleAssignmentsImpl"/>
<suppress checks="Indentation" files="com.azure.security.keyvault.administration.implementation.RoleDefinitionsImpl"/>
<suppress checks="Indentation" files="com.azure.ai.metricsadvisor.implementation.AzureCognitiveServiceMetricsAdvisorRestAPIOpenAPIV2Impl"/>
Expand Down
6 changes: 3 additions & 3 deletions eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-opentelemetry-exporter-azuremonitor</artifactId>
<version>1.0.0-beta.3</version> <!-- {x-version-update;com.azure:azure-opentelemetry-exporter-azuremonitor;current} -->
<artifactId>azure-monitor-opentelemetry-exporter</artifactId>
<version>1.0.0-beta.3</version> <!-- {x-version-update;com.azure:azure-monitor-opentelemetry-exporter;current} -->
</dependency>

<dependency>
Expand Down Expand Up @@ -555,7 +555,7 @@
<bannedDependencies>
<includes>
<!-- Track 2 library with a non-standard groupId -->
<include>com.azure:azure-opentelemetry-exporter-azuremonitor:[1.0.0-beta.3]</include> <!-- {x-include-update;com.azure:azure-opentelemetry-exporter-azuremonitor;current} -->
<include>com.azure:azure-monitor-opentelemetry-exporter:[1.0.0-beta.3]</include> <!-- {x-include-update;com.azure:azure-monitor-opentelemetry-exporter;current} -->
</includes>
</bannedDependencies>
</rules>
Expand Down
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ com.azure:azure-messaging-eventhubs-checkpointstore-blob;1.4.0;1.5.0-beta.1
com.azure:azure-messaging-servicebus;7.0.1;7.1.0-beta.1
com.azure:azure-messaging-servicebus-track1-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-messaging-servicebus-track2-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-opentelemetry-exporter-azuremonitor;1.0.0-beta.2;1.0.0-beta.3
com.azure:azure-monitor-opentelemetry-exporter;1.0.0-beta.2;1.0.0-beta.3
com.azure:azure-quantum-jobs;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-search-documents;11.1.3;11.2.0-beta.4
com.azure:azure-search-perf;1.0.0-beta.1;1.0.0-beta.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.3 (2021-02-09)

### Breaking changes
- Renamed artifact to `azure-monitor-opentelemetry-exporter`.

### Dependency Updates
- Updated versions of `opentelemetry-api` and `opentelemetry-sdk` to `0.14.1` version.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ For more information, please read [introduction to Application Insights][applica

### Include the Package

[//]: # ({x-version-update-start;com.azure:azure-opentelemetry-exporter-azuremonitor;current})
[//]: # ({x-version-update-start;com.azure:azure-monitor-opentelemetry-exporter;current})
```xml
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-opentelemetry-exporter-azuremonitor</artifactId>
<artifactId>azure-monitor-opentelemetry-exporter</artifactId>
<version>1.0.0-beta.2</version>
</dependency>
```
Expand All @@ -38,7 +38,7 @@ search for your resource. On the overview page of your resource, you will find t
right corner.

### Creating exporter for Azure Monitor
<!-- embedme ./src/samples/java/com/microsoft/opentelemetry/exporter/azuremonitor/ReadmeSamples.java#L26-L28 -->
<!-- embedme ./src/samples/java/com/azure/monitor/opentelemetry/exporter/ReadmeSamples.java#L26-L28 -->
```java
AzureMonitorExporter azureMonitorExporter = new AzureMonitorExporterBuilder()
.connectionString("{connection-string}")
Expand All @@ -50,7 +50,7 @@ AzureMonitorExporter azureMonitorExporter = new AzureMonitorExporterBuilder()
The following example shows how to export a collection of available [Spans][span_data] to Azure Monitor through the
`AzureMonitorExporter`

<!-- embedme ./src/samples/java/com/microsoft/opentelemetry/exporter/azuremonitor/ReadmeSamples.java#L35-L40 -->
<!-- embedme ./src/samples/java/com/azure/monitor/opentelemetry/exporter/ReadmeSamples.java#L35-L40 -->
```java
AzureMonitorExporter azureMonitorExporter = new AzureMonitorExporterBuilder()
.connectionString("{connection-string}")
Expand Down Expand Up @@ -137,4 +137,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[sampler_ref]: https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/sdk.md#sampling
[trace_concept]: https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/overview.md#trace

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%monitor%2Fazure-opentelemetry-exporter-azuremonitor%2FREADME.png)
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%monitor%2Fazure-monitor-opentelemetry-exporter%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
</parent>

<groupId>com.azure</groupId>
<artifactId>azure-opentelemetry-exporter-azuremonitor</artifactId>
<version>1.0.0-beta.3</version> <!-- {x-version-update;com.azure:azure-opentelemetry-exporter-azuremonitor;current} -->
<artifactId>azure-monitor-opentelemetry-exporter</artifactId>
<version>1.0.0-beta.3</version> <!-- {x-version-update;com.azure:azure-monitor-opentelemetry-exporter;current} -->

<name>Microsoft Azure SDK for OpenTelemetry Azure Monitor Exporter</name>
<description>This package contains Microsoft Azure SDK for OpenTelemetry Azure Monitor Exporter.</description>
Expand Down Expand Up @@ -161,7 +161,7 @@
<version>3.0.0-M3</version> <!-- {x-version-update;org.apache.maven.plugins:maven-surefire-plugin;external_dependency} -->
<configuration>
<argLine>
--add-opens com.azure.opentelemetry.exporter.azuremonitor/com.azure.opentelemetry.exporter.azuremonitor=ALL-UNNAMED
--add-opens com.azure.monitor.opentelemetry.exporter/com.azure.monitor.opentelemetry.exporter=ALL-UNNAMED
</argLine>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor;
package com.azure.monitor.opentelemetry.exporter;

import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
import com.azure.core.util.tracing.Tracer;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.ContextTagKeys;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.MonitorBase;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.RemoteDependencyData;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.RequestData;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.TelemetryEventData;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.TelemetryExceptionData;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.TelemetryExceptionDetails;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.TelemetryItem;
import com.azure.monitor.opentelemetry.exporter.implementation.models.TelemetryEventData;
import com.azure.monitor.opentelemetry.exporter.implementation.models.TelemetryExceptionData;
import com.azure.monitor.opentelemetry.exporter.implementation.models.TelemetryExceptionDetails;
import com.azure.monitor.opentelemetry.exporter.implementation.models.TelemetryItem;
import com.azure.monitor.opentelemetry.exporter.implementation.models.ContextTagKeys;
import com.azure.monitor.opentelemetry.exporter.implementation.models.MonitorBase;
import com.azure.monitor.opentelemetry.exporter.implementation.models.RemoteDependencyData;
import com.azure.monitor.opentelemetry.exporter.implementation.models.RequestData;
import io.opentelemetry.api.common.AttributeKey;
import io.opentelemetry.api.common.Attributes;
import io.opentelemetry.api.trace.Span;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor;
package com.azure.monitor.opentelemetry.exporter;

import com.azure.opentelemetry.exporter.azuremonitor.implementation.ApplicationInsightsClientImpl;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.ApplicationInsightsClientImplBuilder;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.NdJsonSerializer;
import com.azure.monitor.opentelemetry.exporter.implementation.ApplicationInsightsClientImpl;
import com.azure.monitor.opentelemetry.exporter.implementation.ApplicationInsightsClientImplBuilder;
import com.azure.monitor.opentelemetry.exporter.implementation.NdJsonSerializer;
import com.azure.core.http.HttpClient;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.policy.HttpLogDetailLevel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor;
package com.azure.monitor.opentelemetry.exporter;

import com.azure.core.util.ServiceVersion;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor;
package com.azure.monitor.opentelemetry.exporter;

import com.azure.opentelemetry.exporter.azuremonitor.implementation.ApplicationInsightsClientImpl;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.ExportResult;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.TelemetryItem;
import com.azure.monitor.opentelemetry.exporter.implementation.ApplicationInsightsClientImpl;
import com.azure.monitor.opentelemetry.exporter.implementation.models.TelemetryItem;
import com.azure.monitor.opentelemetry.exporter.implementation.models.ExportResult;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
import com.azure.core.annotation.ServiceMethod;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor;
package com.azure.monitor.opentelemetry.exporter;

import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.ExportResult;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.TelemetryItem;
import com.azure.monitor.opentelemetry.exporter.implementation.models.ExportResult;
import com.azure.monitor.opentelemetry.exporter.implementation.models.TelemetryItem;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
import com.azure.core.annotation.ServiceMethod;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.opentelemetry.exporter.azuremonitor.implementation;
package com.azure.monitor.opentelemetry.exporter.implementation;

import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.ExpectedResponses;
Expand All @@ -24,9 +24,9 @@
import com.azure.core.util.FluxUtil;
import com.azure.core.util.serializer.JacksonAdapter;
import com.azure.core.util.serializer.SerializerAdapter;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.ExportResult;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.ExportResultException;
import com.azure.opentelemetry.exporter.azuremonitor.implementation.models.TelemetryItem;
import com.azure.monitor.opentelemetry.exporter.implementation.models.ExportResult;
import com.azure.monitor.opentelemetry.exporter.implementation.models.ExportResultException;
import com.azure.monitor.opentelemetry.exporter.implementation.models.TelemetryItem;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation;
package com.azure.monitor.opentelemetry.exporter.implementation;

import com.azure.core.annotation.ServiceClientBuilder;
import com.azure.core.http.HttpClient;
Expand Down Expand Up @@ -30,7 +30,7 @@ public final class ApplicationInsightsClientImplBuilder {
private static final String SDK_VERSION = "version";

private final Map<String, String> properties =
CoreUtils.getProperties("azure-opentelemetry-exporter-azuremonitor.properties");
CoreUtils.getProperties("azure-monitor-opentelemetry-exporter.properties");

public ApplicationInsightsClientImplBuilder() {
this.pipelinePolicies = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation;
package com.azure.monitor.opentelemetry.exporter.implementation;

import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.SerializerProvider;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.exception.HttpResponseException;
import com.azure.core.http.HttpResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.opentelemetry.exporter.azuremonitor.implementation.models;
package com.azure.monitor.opentelemetry.exporter.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Loading