Skip to content

Commit acd7d4d

Browse files
authored
Merge branch 'open-telemetry:main' into main
2 parents c3c62e9 + 250021c commit acd7d4d

File tree

16 files changed

+124
-34
lines changed

16 files changed

+124
-34
lines changed

.github/workflows/benchmark-tags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Benchmark SDK
1414
runs-on: oracle-bare-metal-64cpu-512gb-x86-64
1515
container:
16-
image: ubuntu:24.04@sha256:cd1dba651b3080c3686ecf4e3c4220f026b521fb76978881737d24f200828b2b
16+
image: ubuntu:24.04@sha256:d1e2e92c075e5ca139d51a140fff46f84315c0fdce203eab2807c7e495eff4f9
1717
timeout-minutes: 20 # since there is only a single bare metal runner across all repos
1818
strategy:
1919
fail-fast: false

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Benchmark SDK
1616
runs-on: oracle-bare-metal-64cpu-512gb-x86-64
1717
container:
18-
image: ubuntu:24.04@sha256:cd1dba651b3080c3686ecf4e3c4220f026b521fb76978881737d24f200828b2b
18+
image: ubuntu:24.04@sha256:d1e2e92c075e5ca139d51a140fff46f84315c0fdce203eab2807c7e495eff4f9
1919
timeout-minutes: 20 # since there is only a single bare metal runner across all repos
2020
steps:
2121
- name: Install Git

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
uses: gradle/actions/setup-gradle@f29f5a9d7b09a7c6b29859002d29d24e1674c884 # v5.0.1
4646

4747
- name: Initialize CodeQL
48-
uses: github/codeql-action/init@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
48+
uses: github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
4949
with:
5050
languages: ${{ matrix.language }}
5151
# using "linked" helps to keep up with the latest Kotlin support
@@ -62,6 +62,6 @@ jobs:
6262
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
6363

6464
- name: Perform CodeQL analysis
65-
uses: github/codeql-action/analyze@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
65+
uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
6666
with:
6767
category: "/language:${{matrix.language}}"

.github/workflows/ossf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343
# Upload the results to GitHub's code scanning dashboard (optional).
4444
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
4545
- name: "Upload to code-scanning"
46-
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
46+
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
4747
with:
4848
sarif_file: results.sarif

api/all/src/main/java/io/opentelemetry/api/logs/LogRecordBuilder.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,14 @@ default LogRecordBuilder setEventName(String eventName) {
210210
return this;
211211
}
212212

213+
/**
214+
* Set {@code exception.type}, {@code exception.message}, and {@code exception.stacktrace}
215+
* attributes based on the {@code throwable}.
216+
*/
217+
default LogRecordBuilder setException(Throwable throwable) {
218+
return this;
219+
}
220+
213221
/** Emit the log record. */
214222
void emit();
215223
}

api/incubator/src/main/java/io/opentelemetry/api/incubator/logs/ExtendedLogRecordBuilder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ default ExtendedLogRecordBuilder setAllAttributes(ExtendedAttributes attributes)
133133
*/
134134
<T> ExtendedLogRecordBuilder setAttribute(ExtendedAttributeKey<T> key, T value);
135135

136-
/** Set standard {@code exception.*} attributes based on the {@code throwable}. */
136+
/** {@inheritDoc} */
137+
@Override
137138
ExtendedLogRecordBuilder setException(Throwable throwable);
138139
}

api/testing-internal/src/main/java/io/opentelemetry/api/testing/internal/AbstractDefaultLoggerTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ void buildAndEmit() {
6363
.setBody(Value.of("body"))
6464
.setAttribute(AttributeKey.stringKey("key1"), "value1")
6565
.setAllAttributes(Attributes.builder().put("key2", "value2").build())
66+
.setException(new RuntimeException("error"))
6667
.emit())
6768
.doesNotThrowAnyException();
6869
}

dependencyManagement/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ val DEPENDENCY_BOMS = listOf(
2626
// (which is EPL licensed) or armeria bom (which is Apache licensed but is getting flagged
2727
// by FOSSA for containing EPL-licensed)
2828

29-
"com.fasterxml.jackson:jackson-bom:2.21.0",
29+
"com.fasterxml.jackson:jackson-bom:2.21.1",
3030
"com.google.guava:guava-bom:33.5.0-jre",
3131
"com.google.protobuf:protobuf-bom:4.33.5",
3232
"com.squareup.okhttp3:okhttp-bom:$okhttpVersion",
@@ -69,7 +69,7 @@ val DEPENDENCIES = listOf(
6969
"io.prometheus:prometheus-metrics-exposition-formats-no-protobuf:${prometheusServerVersion}",
7070
"javax.annotation:javax.annotation-api:1.3.2",
7171
"com.github.stefanbirkner:system-rules:1.19.0",
72-
"com.google.api.grpc:proto-google-common-protos:2.65.1",
72+
"com.google.api.grpc:proto-google-common-protos:2.66.0",
7373
"com.google.code.findbugs:jsr305:3.0.2",
7474
"com.google.guava:guava-beta-checker:1.0",
7575
"com.sun.net.httpserver:http:20070405",
@@ -81,7 +81,7 @@ val DEPENDENCIES = listOf(
8181
"io.github.netmikey.logunit:logunit-jul:2.0.0",
8282
"io.jaegertracing:jaeger-client:1.8.1",
8383
"io.opentelemetry.contrib:opentelemetry-aws-xray-propagator:1.54.0-alpha",
84-
"io.opentelemetry.semconv:opentelemetry-semconv-incubating:1.39.0-alpha",
84+
"io.opentelemetry.semconv:opentelemetry-semconv-incubating:1.40.0-alpha",
8585
"io.opentelemetry.proto:opentelemetry-proto:1.9.0-alpha",
8686
"io.opentracing:opentracing-api:0.33.0",
8787
"io.opentracing:opentracing-noop:0.33.0",

docs/apidiffs/current_vs_latest/opentelemetry-api.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
Comparing source compatibility of opentelemetry-api-1.60.0-SNAPSHOT.jar against opentelemetry-api-1.59.0.jar
2+
*** MODIFIED INTERFACE: PUBLIC ABSTRACT io.opentelemetry.api.logs.LogRecordBuilder (not serializable)
3+
=== CLASS FILE FORMAT VERSION: 52.0 <- 52.0
4+
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.api.logs.LogRecordBuilder setException(java.lang.Throwable)
25
*** MODIFIED INTERFACE: PUBLIC ABSTRACT io.opentelemetry.api.trace.TraceFlags (not serializable)
36
=== CLASS FILE FORMAT VERSION: 52.0 <- 52.0
47
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.api.trace.TraceFlagsBuilder builder()
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
Comparing source compatibility of opentelemetry-sdk-testing-1.60.0-SNAPSHOT.jar against opentelemetry-sdk-testing-1.59.0.jar
2-
No changes.
2+
*** MODIFIED CLASS: PUBLIC FINAL io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert (not serializable)
3+
=== CLASS FILE FORMAT VERSION: 52.0 <- 52.0
4+
+++ NEW METHOD: PUBLIC(+) io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert hasException(java.lang.Throwable)

0 commit comments

Comments
 (0)