Skip to content

Commit 83a09a1

Browse files
committed
Merge branch 'main' of https://github.com/open-telemetry/opentelemetry-java into schema-and-subschemas
2 parents 83ba41b + c8da020 commit 83a09a1

File tree

201 files changed

+2467
-1003
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+2467
-1003
lines changed

.github/config/markdown-link-check-config.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/scripts/markdown-link-check-with-retry.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- uses: gradle/actions/[email protected].1
16+
- uses: gradle/actions/[email protected].2

.github/workflows/reusable-markdown-link-check.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v4
1111

12-
- name: Install markdown-link-check
13-
# TODO(jack-berg): use latest when config file reading bug is fixed: https://github.com/tcort/markdown-link-check/issues/246
14-
run: npm install -g [email protected]
15-
16-
- name: Run markdown-link-check
17-
run: |
18-
find . -type f \
19-
-name '*.md' \
20-
-not -path './CHANGELOG.md' \
21-
| xargs .github/scripts/markdown-link-check-with-retry.sh
12+
- uses: lycheeverse/lychee-action@v2
13+
with:
14+
# remove version after next release of lychee-action
15+
lycheeVersion: latest
16+
# excluding links to pull requests and issues is done for performance
17+
args: >
18+
--include-fragments
19+
--exclude "^https://github.com/open-telemetry/opentelemetry-java/(issue|pull)/\\d+$"
20+
--max-retries 6
21+
.

CHANGELOG.md

Lines changed: 94 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,91 @@
22

33
## Unreleased
44

5+
## Version 1.46.0 (2025-01-10)
6+
7+
### SDK
8+
9+
* Remove unused dependencies, cleanup code after stabilizing Value
10+
([#6948](https://github.com/open-telemetry/opentelemetry-java/pull/6948))
11+
* Explicitly allow null into CompletableResultCode.failExceptionally()
12+
([#6963](https://github.com/open-telemetry/opentelemetry-java/pull/6963))
13+
14+
#### Traces
15+
16+
* Fix span setStatus
17+
([#6990](https://github.com/open-telemetry/opentelemetry-java/pull/6990))
18+
19+
#### Logs
20+
21+
* Add getters/accessors for readable fields in ReadWriteLogRecord.
22+
([#6924](https://github.com/open-telemetry/opentelemetry-java/pull/6924))
23+
24+
#### Exporters
25+
26+
* OTLP: Update to opentelemetry-proto 1.5
27+
([#6999](https://github.com/open-telemetry/opentelemetry-java/pull/6999))
28+
* Bugfix - OTLP: Ensure Serializer runtime exceptions are rethrown as IOException
29+
([#6969](https://github.com/open-telemetry/opentelemetry-java/pull/6969))
30+
* BREAKING - OTLP: Delete experimental OTLP authenticator concept.
31+
See [OTLP authentication docs](https://opentelemetry.io/docs/languages/java/sdk/#authentication)
32+
for supported solutions.
33+
([#6984](https://github.com/open-telemetry/opentelemetry-java/pull/6984))
34+
35+
#### Extensions
36+
37+
* BREAKING - Autoconfigure: Remove support for deprecated otel.experimental.resource.disabled.keys
38+
([#6931](https://github.com/open-telemetry/opentelemetry-java/pull/6931))
39+
40+
## Version 1.45.0 (2024-12-06)
41+
42+
### API
43+
44+
* Add convenience method `setAttribute(Attribute<Long>, int)` to SpanBuilder (matching the existing
45+
convenience method in Span)
46+
([#6884](https://github.com/open-telemetry/opentelemetry-java/pull/6884))
47+
* Extends TextMapGetter with experimental GetAll() method, implement usage in W3CBaggagePropagator
48+
([#6852](https://github.com/open-telemetry/opentelemetry-java/pull/6852))
49+
50+
### SDK
51+
52+
#### Traces
53+
54+
* Add synchronization to SimpleSpanProcessor to ensure thread-safe export of spans
55+
([#6885](https://github.com/open-telemetry/opentelemetry-java/pull/6885))
56+
57+
#### Metrics
58+
59+
* Lazily initialize ReservoirCells
60+
([#6851](https://github.com/open-telemetry/opentelemetry-java/pull/6851))
61+
62+
#### Logs
63+
64+
* Add synchronization to SimpleLogRecordProcessor to ensure thread-safe export of logs
65+
([#6885](https://github.com/open-telemetry/opentelemetry-java/pull/6885))
66+
67+
#### Exporters
68+
69+
* OTLP: Update opentelementry-proto to 1.4
70+
([#6906](https://github.com/open-telemetry/opentelemetry-java/pull/6906))
71+
* OTLP: Rename internal Marshaler#writeJsonToGenerator method to allow jackson runtimeOnly dependency
72+
([#6896](https://github.com/open-telemetry/opentelemetry-java/pull/6896))
73+
* OTLP: Fix repeated string serialization for JSON.
74+
([#6888](https://github.com/open-telemetry/opentelemetry-java/pull/6888))
75+
* OTLP: Fix missing unsafe available check
76+
([#6920](https://github.com/open-telemetry/opentelemetry-java/pull/6920))
77+
78+
#### Extensions
79+
80+
* Declarative config: Don't require empty objects when referencing custom components
81+
([#6891](https://github.com/open-telemetry/opentelemetry-java/pull/6891))
82+
83+
### Tooling
84+
85+
* Add javadoc boilerplate internal comment v2 for experimental classes
86+
([#6886](https://github.com/open-telemetry/opentelemetry-java/pull/6886))
87+
* Update develocity configuration
88+
([#6903](https://github.com/open-telemetry/opentelemetry-java/pull/6903))
89+
590
## Version 1.44.1 (2024-11-10)
691

792
### SDK
@@ -471,7 +556,7 @@
471556
have stopped being published. Jaeger
472557
has [native support for OTLP](https://opentelemetry.io/blog/2022/jaeger-native-otlp/), and users
473558
should export to jaeger
474-
using [OTLP](https://opentelemetry.io/docs/instrumentation/java/exporters/#otlp-dependencies)
559+
using OTLP
475560
instead.
476561

477562
### API
@@ -555,7 +640,7 @@ instead.
555640
and `opentelemetry-exporter-jaeger-thift`. Jaeger
556641
has [native support for OTLP](https://opentelemetry.io/blog/2022/jaeger-native-otlp/), and users
557642
should export to jaeger
558-
using [OTLP](https://opentelemetry.io/docs/instrumentation/java/exporters/#otlp-dependencies)
643+
using OTLP
559644
instead.
560645

561646
### API
@@ -992,7 +1077,7 @@ The log bridge API / SDK are now stable! Some important notes:
9921077
of `otel.logs.exporter` from `none` to `otlp`.
9931078

9941079
NOTE: reminder that
995-
the [Logs Bridge API](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/bridge-api.md)
1080+
the [Logs Bridge API](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/bridge-api.md)
9961081
is _not_ meant for end users. Log appenders use the API to bridge logs from existing log
9971082
frameworks (e.g. JUL, Log4j, SLf4J, Logback) into OpenTelemetry. Users configure the Log SDK to
9981083
dictate how logs are processed and exported.
@@ -1060,7 +1145,7 @@ merged into `opentelemetry-exporter-otlp`, `opentelemetry-sdk-logs-testing` will
10601145
into `opentelemetry-sdk-testing`, `opentelemetry-sdk-extension-autoconfigure` will enable `otlp`
10611146
log exporter by default (i.e. `otel.logs.exporter=otlp`). For more details, see tracking
10621147
issue [#5340](https://github.com/open-telemetry/opentelemetry-java/issues/5340). NOTE: reminder that
1063-
the [Logs Bridge API](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/bridge-api.md)
1148+
the [Logs Bridge API](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/bridge-api.md)
10641149
is _not_ meant for end users. Log appenders use the API to bridge logs from existing log
10651150
frameworks (e.g. JUL, Log4j, SLf4J, Logback) into OpenTelemetry. Users configure the Log SDK to
10661151
dictate how logs are processed and exported.
@@ -1622,8 +1707,8 @@ log API component has been added for emitting events and for writing log appende
16221707
API is not a substitute for traditional log frameworks like Log4j, JUL, SLF4J, or Logback. While the
16231708
event portion of the API is intended for instrumentation authors and end users, the API for emitting
16241709
LogRecords is not.
1625-
See [LoggerProvider](./api/logs/src/main/java/io/opentelemetry/api/logs/LoggerProvider.java)
1626-
and [Logger](./api/logs/src/main/java/io/opentelemetry/api/logs/Logger.java) javadoc for more
1710+
See [LoggerProvider](./api/all/src/main/java/io/opentelemetry/api/logs/LoggerProvider.java)
1711+
and [Logger](./api/all/src/main/java/io/opentelemetry/api/logs/Logger.java) javadoc for more
16271712
details.
16281713

16291714
### General
@@ -1909,7 +1994,7 @@ details.
19091994
stable `opentelemetry-sdk-extension-autoconfigure-spi`.
19101995
* Autoconfigure now supports multiple values for `otel.metrics.exporter`.
19111996
* Autoconfigure now
1912-
supports [general attribute limits](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#attribute-limits),
1997+
supports [general attribute limits](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#attribute-limits),
19131998
applicable to span attributes, span event attributes, span link attributes, and log attributes.
19141999
* Autoconfigure now supports an experimental option to disable the SDK.
19152000
If `otel.experimental.sdk.enabled=true`, `AutoConfiguredOpenTelemetrySdk#getOpenTelemetrySdk()`
@@ -3469,7 +3554,7 @@ See the `opentelemetry-extension-kotlin` module for details.
34693554

34703555
#### Breaking changes
34713556

3472-
- There have been many updates to the semantic conventions constants. The constants are now auto-generated from the YAML specification files, so the names will now be consistent across languages. For more information, see the [YAML Model for Semantic Conventions](https://github.com/open-telemetry/opentelemetry-specification/tree/master/semantic_conventions).
3557+
- There have been many updates to the semantic conventions constants. The constants are now auto-generated from the YAML specification files, so the names will now be consistent across languages. For more information, see the [YAML Model for Semantic Conventions](https://github.com/open-telemetry/semantic-conventions/tree/main/model#yaml-model-for-semantic-conventions).
34733558
- All API classes have been moved into the `io.opentelemetry.api.` prefix to support JPMS users.
34743559
- The API no longer uses the `grpc-context` as the context implementation. It now uses `io.opentelemetry.context.Context`. This is published in the `opentelemetry-context` artifact. Interactions with the context were mostly moved to static methods in the `Span` and `Baggage` interfaces.
34753560
- The Baggage API has been reworked to more closely match the specification. This includes the removal of the `BaggageManager`. Baggage is fully functional within the API, without needing to install an SDK.
@@ -3500,7 +3585,7 @@ See the `opentelemetry-extension-kotlin` module for details.
35003585

35013586
#### Breaking changes
35023587

3503-
- `TraceConfig` configuration option names (environment variables and system properties) were renamed to match the OpenTelemetery Specification. For more information, see [TraceConfig](./QUICKSTART.md#TraceConfig).
3588+
- `TraceConfig` configuration option names (environment variables and system properties) were renamed to match the OpenTelemetery Specification.
35043589
- The Jaeger gRPC exporter was updated to match the OpenTelemetry Specification. The `message` log entry attribute has been renamed to `event` and a new `dropped attributes count` attribute was added. For more information, see the [Overview](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/overview.md).
35053590
- The `SpanData.getHasRemoteParent()` and `SpanData.getHasEnded()` methods were renamed to `hasRemoteParent()` and `hasEnded()`, respectively.
35063591
- The `IdsGenerator` interface has been renamed to `IdGenerator`, and all implementations and relevant factory methods were similarly renamed.

0 commit comments

Comments
 (0)