Skip to content

Commit 230729f

Browse files
committed
add missing getting started config
1 parent bbfd3f3 commit 230729f

File tree

2 files changed

+29
-11
lines changed

2 files changed

+29
-11
lines changed

content/en/docs/zero-code/java/agent/declarative-configuration.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Java Agent Declarative configuration
33
linkTitle: Declarative configuration
44
weight: 11
5-
cSpell:ignore: genai
5+
cSpell:ignore: Customizer genai Dotel
66
---
77

88
Declarative configuration uses a YAML file instead of environment variables or
@@ -214,7 +214,8 @@ Java agent features that are not yet supported by declarative configuration:
214214
- can be worked around by adding a console span exporter in the configuration
215215
file
216216
- using `GlobalConfigProvider` to access declarative configuration values in
217-
custom code (by casting `GlobalOpenTelemetry.get()` to `ExtendedOpenTelemetry`)
217+
custom code (by casting `GlobalOpenTelemetry.get()` to
218+
`ExtendedOpenTelemetry`)
218219

219220
Contrib features that are not yet supported by declarative configuration:
220221

@@ -234,15 +235,16 @@ not yet support declarative configuration:
234235

235236
Extensions use a new declarative configuration API.
236237

237-
- Extensions that use `AutoConfigurationCustomizerProvider` will need to migrate to
238-
the new `DeclarativeConfigurationCustomizerProvider` API.
239-
Check out how the old
240-
[AgentTracerProviderConfigurer](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/AgentTracerProviderConfigurer.java)
241-
maps to the new
242-
[SpanLoggingCustomizerProvider](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/SpanLoggingCustomizerProvider.java).
243-
- Components, such as span exporters, need to use the `ComponentProvider` API now.
244-
Check out the [Baggage Processor](https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/baggage-processor),
245-
which supports both the old and new APIs, as an example.
238+
- Extensions that use `AutoConfigurationCustomizerProvider` will need to migrate
239+
to the new `DeclarativeConfigurationCustomizerProvider` API. Check out how the
240+
old
241+
[AgentTracerProviderConfigurer](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/AgentTracerProviderConfigurer.java)
242+
maps to the new
243+
[SpanLoggingCustomizerProvider](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/SpanLoggingCustomizerProvider.java).
244+
- Components, such as span exporters, need to use the `ComponentProvider` API
245+
now. Check out the
246+
[Baggage Processor](https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/baggage-processor),
247+
which supports both the old and new APIs, as an example.
246248

247249
[SDK Declarative configuration]:
248250
/docs/languages/sdk-configuration/declarative-configuration

static/refcache.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9451,6 +9451,10 @@
94519451
"StatusCode": 206,
94529452
"LastSeen": "2025-11-07T09:40:23.262183723Z"
94539453
},
9454+
"https://github.com/open-telemetry/opentelemetry-java-contrib/blob/main/inferred-spans": {
9455+
"StatusCode": 206,
9456+
"LastSeen": "2025-11-11T14:16:29.167021447+01:00"
9457+
},
94549458
"https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/aws-resources": {
94559459
"StatusCode": 206,
94569460
"LastSeen": "2025-11-06T09:41:51.540396053Z"
@@ -9463,6 +9467,10 @@
94639467
"StatusCode": 206,
94649468
"LastSeen": "2025-11-09T09:38:36.473183936Z"
94659469
},
9470+
"https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/baggage-processor": {
9471+
"StatusCode": 206,
9472+
"LastSeen": "2025-11-11T14:16:32.261430319+01:00"
9473+
},
94669474
"https://github.com/open-telemetry/opentelemetry-java-contrib/tree/main/gcp-auth-extension": {
94679475
"StatusCode": 206,
94689476
"LastSeen": "2025-11-09T09:38:28.643414316Z"
@@ -9579,6 +9587,14 @@
95799587
"StatusCode": 206,
95809588
"LastSeen": "2025-11-07T09:40:41.745334604Z"
95819589
},
9590+
"https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/AgentTracerProviderConfigurer.java": {
9591+
"StatusCode": 206,
9592+
"LastSeen": "2025-11-11T14:16:30.456287292+01:00"
9593+
},
9594+
"https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/SpanLoggingCustomizerProvider.java": {
9595+
"StatusCode": 206,
9596+
"LastSeen": "2025-11-11T14:16:31.48693374+01:00"
9597+
},
95829598
"https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/release/v2.6.x/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/internal/MapConverter.java": {
95839599
"StatusCode": 206,
95849600
"LastSeen": "2025-11-07T09:45:47.042834807Z"

0 commit comments

Comments
 (0)