-
Notifications
You must be signed in to change notification settings - Fork 1k
Support latest Azure SDK shim #15068
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
straight copy from 1.36
| // LibraryTelemetryOptions was introduced in azure-core 1.53 | ||
| return hasClassesNamed("com.azure.core.util.LibraryTelemetryOptions") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this class is straight copy from 1.36 except for this method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
straight copy from 1.36
| .hasAttributes(Attributes.empty()), | ||
| span -> | ||
| span.hasKind(SpanKind.CLIENT) | ||
| .hasName("GET") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small change from 1.36
| LibraryTelemetryOptions options = new LibraryTelemetryOptions("test-lib"); | ||
| options.setLibraryVersion("test-version"); | ||
| options.setResourceProviderNamespace("otel.tests"); | ||
| return azProvider.createTracer(options, new TracingOptions()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LibraryTelemetryOptions is new in 1.53
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
straight copy from 1.36
|
🔧 The result from spotlessApply was committed to the PR branch. |
Resolves #15049