This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch 3.8.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit c306c856f8150e95f29b91d563ee928c8d995278
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Wed Oct 30 11:27:04 2024 +0000

    Fix incorrect exporter endpoint configuration property in OpenTelemetry 
extension documentation
---
 docs/modules/ROOT/pages/reference/extensions/opentelemetry.adoc | 4 ++--
 extensions/opentelemetry/runtime/src/main/doc/usage.adoc        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/modules/ROOT/pages/reference/extensions/opentelemetry.adoc 
b/docs/modules/ROOT/pages/reference/extensions/opentelemetry.adoc
index 84982456b6..f43ec12fb5 100644
--- a/docs/modules/ROOT/pages/reference/extensions/opentelemetry.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/opentelemetry.adoc
@@ -56,7 +56,7 @@ In order to send the captured traces to a tracing system, you 
need to configure
 quarkus.application.name=my-camel-application
 
 # OTLP exporter endpoint
-quarkus.opentelemetry.tracer.exporter.otlp.endpoint=http://localhost:4317
+quarkus.otel.exporter.otlp.traces.endpoint=http://localhost:4317
 ----
 
 Refer to the https://quarkus.io/guides/opentelemetry[Quarkus OpenTelemetry 
guide] for a full list of configuration options.
@@ -80,7 +80,7 @@ Additional exporters will be available in the Quarkiverse 
https://github.com/qua
 
 When instrumenting the execution of CDI bean methods from Camel routes, you 
should annotate such methods with 
`io.opentelemetry.extension.annotations.WithSpan`. Methods annotated with 
`@WithSpan` will create a new Span and establish any required relationships 
with the current Trace context.
 
-For example, to instrument a CDI bean from a Camel route, first ensure the 
appropriate methods are annotated with `@WithTrace`.
+For example, to instrument a CDI bean from a Camel route, first ensure the 
appropriate methods are annotated with `@WithSpan`.
 
 [source,java]
 ----
diff --git a/extensions/opentelemetry/runtime/src/main/doc/usage.adoc 
b/extensions/opentelemetry/runtime/src/main/doc/usage.adoc
index 80d03b2ce0..649814bd1f 100644
--- a/extensions/opentelemetry/runtime/src/main/doc/usage.adoc
+++ b/extensions/opentelemetry/runtime/src/main/doc/usage.adoc
@@ -8,7 +8,7 @@ In order to send the captured traces to a tracing system, you 
need to configure
 quarkus.application.name=my-camel-application
 
 # OTLP exporter endpoint
-quarkus.opentelemetry.tracer.exporter.otlp.endpoint=http://localhost:4317
+quarkus.otel.exporter.otlp.traces.endpoint=http://localhost:4317
 ----
 
 Refer to the https://quarkus.io/guides/opentelemetry[Quarkus OpenTelemetry 
guide] for a full list of configuration options.
@@ -30,7 +30,7 @@ Additional exporters will be available in the Quarkiverse 
https://github.com/qua
 
 When instrumenting the execution of CDI bean methods from Camel routes, you 
should annotate such methods with 
`io.opentelemetry.extension.annotations.WithSpan`. Methods annotated with 
`@WithSpan` will create a new Span and establish any required relationships 
with the current Trace context.
 
-For example, to instrument a CDI bean from a Camel route, first ensure the 
appropriate methods are annotated with `@WithTrace`.
+For example, to instrument a CDI bean from a Camel route, first ensure the 
appropriate methods are annotated with `@WithSpan`.
 
 [source,java]
 ----

Reply via email to