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

Move OTel exporter API to autoconfigure distro API #42566

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

jeanbisutti
Copy link
Contributor

@jeanbisutti jeanbisutti commented Oct 24, 2024

This PR:

  • Rename the azure-monitor-opentelemetry-exporter artifact to azure-monitor-opentelemetry-autoconfigure
  • Use the com.azure.monitor.opentelemetry.autoconfigure package for the public API
  • Rename the AzureMonitorExporter class to AzureMonitorAutoconfigure
  • Rename the AzureMonitorExporterOptions class to AzureMonitorAutoconfigureOptions

@jeanbisutti jeanbisutti marked this pull request as draft October 24, 2024 15:49
@github-actions github-actions bot added azure-spring All azure-spring related issues clientcore common common module used by all azure SDKs (e.g. client, Mgmt) EngSys This issue is impacting the engineering system. Event Hubs OpenTelemetry OpenTelemetry instrumentation Service Bus Storage Storage Service (Queues, Blobs, Files) labels Oct 24, 2024
@@ -50,6 +50,7 @@ com.microsoft.sqlserver:mssql-jdbc;10.2.3.jre8
com.microsoft.azure:spring-data-cosmosdb;2.3.0
com.microsoft.azure:azure-functions-maven-plugin;1.30.0
com.microsoft.azure.functions:azure-functions-java-library;2.2.0
com.azure:azure-monitor-opentelemetry-exporter;1.0.0-beta.31
Copy link
Contributor Author

@jeanbisutti jeanbisutti Oct 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Spring CI does not support unreleased non-Spring dependencies. So we temporarily move azure-monitor-opentelemetry-exporter as an external dependency (it is no more part of Azure SDK). Once azure-monitor-opentelemetry-autoconfigure is released, we could remove the external dependency and the azure-monitor-opentelemetry-exporter usage in spring-cloud-azure-starter-monitor.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@saragluna is this true? Spring's hacked together pipeline code doesn't support what the engineering system does? This isn't okay.
@jeanbisutti if this is only a spring dependency only has to exist until com.azure:azure-monitor-opentelemetry-autoconfigure is released then I want an issue filed, assigned to you, to remove this external dependency and update the spring dependency com.azure:azure-monitor-opentelemetry-autoconfigure when it's released.

@jeanbisutti
Copy link
Contributor Author

@jeanbisutti jeanbisutti marked this pull request as ready for review October 24, 2024 16:27
eng/versioning/version_client.txt Outdated Show resolved Hide resolved
eng/versioning/version_client.txt Outdated Show resolved Hide resolved
@@ -50,6 +50,7 @@ com.microsoft.sqlserver:mssql-jdbc;10.2.3.jre8
com.microsoft.azure:spring-data-cosmosdb;2.3.0
com.microsoft.azure:azure-functions-maven-plugin;1.30.0
com.microsoft.azure.functions:azure-functions-java-library;2.2.0
com.azure:azure-monitor-opentelemetry-exporter;1.0.0-beta.31
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@saragluna is this true? Spring's hacked together pipeline code doesn't support what the engineering system does? This isn't okay.
@jeanbisutti if this is only a spring dependency only has to exist until com.azure:azure-monitor-opentelemetry-autoconfigure is released then I want an issue filed, assigned to you, to remove this external dependency and update the spring dependency com.azure:azure-monitor-opentelemetry-autoconfigure when it's released.

@jeanbisutti
Copy link
Contributor Author

@jeanbisutti if this is only a spring dependency only has to exist until com.azure:azure-monitor-opentelemetry-autoconfigure is released then I want an issue filed, assigned to you, to remove this external dependency and update the spring dependency com.azure:azure-monitor-opentelemetry-autoconfigure when it's released.

@JimSuplizio Yes, please assign an issue to me

@jeanbisutti
Copy link
Contributor Author

jeanbisutti commented Oct 24, 2024

@saragluna is this true? Spring's hacked together pipeline code doesn't support what the engineering system does? This isn't okay.
@jeanbisutti if this is only a spring dependency only has to exist until com.azure:azure-monitor-opentelemetry-autoconfigure is released then I want an issue filed, assigned to you, to remove this external dependency and update the spring dependency com.azure:azure-monitor-opentelemetry-autoconfigure when it's released.

@JimSuplizio We have already discussed about this in another place about the java - spring-monitor - tests pipeline. This specific Spring pipeline will probably be removed if spring-cloud-azure-starter-monitor is released with the other Azure Spring Cloud libraries.

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

com.azure:azure-monitor-opentelemetry-autoconfigure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-spring All azure-spring related issues clientcore common common module used by all azure SDKs (e.g. client, Mgmt) EngSys This issue is impacting the engineering system. Event Hubs OpenTelemetry OpenTelemetry instrumentation Service Bus Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants