-
Notifications
You must be signed in to change notification settings - Fork 199
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
Update to latest otel #2257
Update to latest otel #2257
Conversation
Is this open-telemetry/opentelemetry-java#4381 fixed in 1.14? Just curious so that I can work on that. |
It's not fixed yet, but I think you can start working on using upstream micrometer instrumentation, and we can mitigate that issue in our distro if needed by setting the logging level for |
4f05bc7
to
575421c
Compare
575421c
to
29c638e
Compare
...gent/instrumentation/applicationinsightsweb/ApplicationInsightsWebInstrumentationModule.java
Show resolved
Hide resolved
...gent/instrumentation/applicationinsightsweb/ApplicationInsightsWebInstrumentationModule.java
Show resolved
Hide resolved
...telemetry/javaagent/instrumentation/applicationinsightsweb/ThreadContextInstrumentation.java
Show resolved
Hide resolved
cce493a
to
9ab9a3a
Compare
9ab9a3a
to
8b328dc
Compare
- '**/build/libs/*.jar' | ||
- '**/build/libs/*-sources.jar' | ||
- '**/build/libs/*-javadoc.jar' | ||
- '**/build/libs/*.pom' | ||
exclude: | ||
- 'buildSrc/**/*' | ||
- '~/.m2/repository/com/microsoft/azure/applicationinsights-agent/*/*.jar' | ||
- '~/.m2/repository/com/microsoft/azure/applicationinsights-agent/*/*-sources.jar' | ||
- '~/.m2/repository/com/microsoft/azure/applicationinsights-agent/*/*-javadoc.jar' | ||
- '~/.m2/repository/com/microsoft/azure/applicationinsights-agent/*/*.pom' |
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.
@heyams I'm still debugging smoke test failure, but can you take a look at the changes I needed to make to pipelines b/c sources/javadocs/pom are no longer built under build/libs, but rather only built using publishToMavenLocal
under ~/.m2
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.
looking
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.
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.
release pipeline needs to to be updated too. jarPath is different with this change.
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.
jar is still built to same place, just the source/javadoc/pom file no longer get build there
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.
looks good to me on the yml.. I will update later once you merge if needed.
- '**/build/libs/*.jar' | ||
- '**/build/libs/*-sources.jar' | ||
- '**/build/libs/*-javadoc.jar' | ||
- '**/build/libs/*.pom' | ||
exclude: | ||
- 'buildSrc/**/*' | ||
- 'agent/agent/build/libs/*.jar' |
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.
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 is fine without including pom, sources, and javadoc.. that's for maven publish.
- '**/build/libs/*.jar' | ||
- '**/build/libs/*-sources.jar' | ||
- '**/build/libs/*-javadoc.jar' | ||
- '**/build/libs/*.pom' | ||
exclude: | ||
- 'buildSrc/**/*' | ||
- 'agent/agent/build/libs/*.jar' |
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.
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 is fine without including pom, sources, and javadoc..
@@ -16,13 +16,11 @@ build: | |||
- !!buildcommand | |||
name: 'Assemble ApplicationInsights-Java JARs' | |||
command: '.scripts/gradle.cmd' | |||
arguments: 'assemble copyLibsToGlobalArtifactsFolder -DisRelease=true -Pai.etw.native.build=release' | |||
arguments: 'publishToMavenLocal -DisRelease=true -Pai.etw.native.build=release' |
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.
why do you want to use 'publishToMavenLocal' for builds? can we keep the old one? what is the reason of this change?
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.
publishToMavenLocal is the standard way to build javadoc/sources/pom, what we were doing previously was non-standard
5c26f4e
to
199de7c
Compare
copyBitsToAzureBlob.ps1 will fail due to source, and pom path change. |
copyBitsToAzureBlob.ps1 is used in the release pipeline. |
Includes fix for problematic jdbc wrapper