Skip to content

Commit 72378db

Browse files
authored
Merge branch 'main' into heya/migrate-profiler-to-azure-json
2 parents 47ccc0c + 6b8feb5 commit 72378db

File tree

16 files changed

+104
-39
lines changed

16 files changed

+104
-39
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# CHANGELOG
22

3+
## Version 3.6.1 GA (10/09/2024)
4+
5+
### Bug fixes
6+
7+
* Regression introduced in 3.6.0 where some exception telemetry records were missing a required field causing them to be rejected by the ingestion service
8+
([Azure/azure-sdk-for-java#42241](https://github.com/Azure/azure-sdk-for-java/pull/42241))
9+
310
## Version 3.6.0 GA (10/03/2024)
411

512
### Enhancements

agent/agent-tooling/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies {
2121
implementation(project(":agent:agent-profiler:agent-diagnostics"))
2222
implementation(project(":etw:java"))
2323

24-
implementation("com.azure:azure-monitor-opentelemetry-exporter:1.0.0-beta.29")
24+
implementation("com.azure:azure-monitor-opentelemetry-exporter:1.0.0-beta.30")
2525
compileOnly("io.opentelemetry.javaagent:opentelemetry-javaagent-bootstrap")
2626
compileOnly("io.opentelemetry.javaagent:opentelemetry-javaagent-tooling")
2727
compileOnly("io.opentelemetry.javaagent.instrumentation:opentelemetry-javaagent-servlet-common-bootstrap")

agent/agent-tooling/gradle.lockfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ com.azure:azure-core-http-netty:1.15.4=runtimeClasspath
99
com.azure:azure-core:1.52.0=runtimeClasspath
1010
com.azure:azure-identity:1.13.3=runtimeClasspath
1111
com.azure:azure-json:1.3.0=runtimeClasspath
12-
com.azure:azure-monitor-opentelemetry-exporter:1.0.0-beta.29=runtimeClasspath
12+
com.azure:azure-monitor-opentelemetry-exporter:1.0.0-beta.30=runtimeClasspath
1313
com.azure:azure-sdk-bom:1.2.28=runtimeClasspath
1414
com.azure:azure-storage-blob:12.28.0=runtimeClasspath
1515
com.azure:azure-storage-common:12.27.0=runtimeClasspath

agent/instrumentation/applicationinsights-web-2.3/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ muzzle {
1212
}
1313

1414
val otelInstrumentationAlphaVersion: String by project
15-
val otelVersion: String by project
15+
val otelInstrumentationVersion: String by project
1616

1717
dependencies {
1818
compileOnly("com.microsoft.azure:applicationinsights-web:2.3.0")
1919

20-
testImplementation("io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:$otelVersion")
20+
testImplementation("io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:$otelInstrumentationVersion")
2121

2222
testImplementation("com.microsoft.azure:applicationinsights-web:2.3.0")
2323
testImplementation("javax.servlet:javax.servlet-api:3.0.1")

agent/instrumentation/micrometer-1.0/src/test/java/MicrometerTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
import java.util.concurrent.ExecutorService;
2323
import java.util.concurrent.Executors;
2424
import java.util.stream.Collectors;
25+
import org.junit.jupiter.api.Disabled;
2526
import org.junit.jupiter.api.Test;
2627

2728
class MicrometerTest {
2829

29-
private static final long SLEEP_MILLISECONDS = 1000;
30+
private static final long SLEEP_MILLISECONDS = 6000;
3031

3132
private static final AgentTestingMicrometerDelegate delegate =
3233
new AgentTestingMicrometerDelegate();
@@ -91,6 +92,7 @@ void shouldCaptureGauge() throws InterruptedException {
9192
assertThat(measurement.namespace).isNull();
9293
}
9394

95+
@Disabled
9496
@Test
9597
void shouldCaptureCounter() throws InterruptedException {
9698
// given

agent/runtime-attach/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ plugins {
66
base.archivesName.set("applicationinsights-runtime-attach")
77

88
val otelContribAlphaVersion: String by project
9-
val otelVersion: String by project
109
val agent: Configuration by configurations.creating
1110

1211
dependencies {

buildSrc/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ dependencies {
2828

2929
// When updating, update above in plugins too
3030
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.25.0")
31-
implementation("com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.24")
31+
implementation("com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.25")
3232
implementation("com.github.johnrengelman:shadow:8.1.1")
33-
implementation("com.gradle.enterprise:com.gradle.enterprise.gradle.plugin:3.18.1")
3433

3534
implementation("org.owasp:dependency-check-gradle:10.0.4")
3635

buildSrc/src/main/kotlin/ai.java-conventions.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import com.gradle.enterprise.gradleplugin.testretry.retry
21
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
32
import java.time.Duration
43

@@ -114,13 +113,6 @@ tasks.withType<Test>().configureEach {
114113
// This value is quite big because with lower values (3 mins) we were experiencing large number of false positives
115114
timeout.set(Duration.ofMinutes(15))
116115

117-
retry {
118-
// You can see tests that were retried by this mechanism in the collected test reports and build scans.
119-
if (System.getenv().containsKey("CI")) {
120-
maxRetries.set(5)
121-
}
122-
}
123-
124116
reports {
125117
junitXml.isOutputPerTestCase = true
126118
}

dependencyManagement/build.gradle.kts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@ data class DependencySet(val group: String, val version: String, val modules: Li
1111
val dependencyVersions = hashMapOf<String, String>()
1212
rootProject.extra["versions"] = dependencyVersions
1313

14-
val otelVersion = "1.42.1"
14+
val otelSdkVersion = "1.42.1"
1515
val otelInstrumentationAlphaVersion = "2.8.0-alpha"
1616
val otelInstrumentationVersion = "2.8.0"
1717
val byteBuddyVersion = "1.14.11"
1818

19-
rootProject.extra["otelVersion"] = otelVersion
19+
rootProject.extra["otelSdkVersion"] = otelSdkVersion
2020
rootProject.extra["otelInstrumentationVersion"] = otelInstrumentationVersion
2121
rootProject.extra["otelInstrumentationAlphaVersion"] = otelInstrumentationAlphaVersion
2222

2323
val DEPENDENCY_BOMS = listOf(
24-
"io.opentelemetry:opentelemetry-bom:${otelVersion}",
25-
"io.opentelemetry:opentelemetry-bom-alpha:${otelVersion}-alpha",
24+
"com.fasterxml.jackson:jackson-bom:2.17.2",
25+
"io.opentelemetry:opentelemetry-bom:${otelSdkVersion}",
26+
"io.opentelemetry:opentelemetry-bom-alpha:${otelSdkVersion}-alpha",
2627
"io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:${otelInstrumentationVersion}",
2728
"io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${otelInstrumentationAlphaVersion}",
2829
"com.azure:azure-sdk-bom:1.2.28",

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Project properties
2-
version=3.6.0
2+
version=3.6.1
33

44
org.gradle.parallel=true
55
org.gradle.caching=true

0 commit comments

Comments
 (0)