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

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new e4466fb7885 chore(doc): local testing collector server
e4466fb7885 is described below

commit e4466fb78857f1275a14abcb4c66730aee06e108
Author: Pasquale Congiusti <pasquale.congiu...@gmail.com>
AuthorDate: Tue Nov 19 11:41:40 2024 +0100

    chore(doc): local testing collector server
---
 .../camel-opentelemetry/src/main/docs/opentelemetry.adoc      | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/components/camel-opentelemetry/src/main/docs/opentelemetry.adoc 
b/components/camel-opentelemetry/src/main/docs/opentelemetry.adoc
index a8551882f14..885d551cb7c 100644
--- a/components/camel-opentelemetry/src/main/docs/opentelemetry.adoc
+++ b/components/camel-opentelemetry/src/main/docs/opentelemetry.adoc
@@ -111,6 +111,17 @@ public SpanExporter logTraces() {
 
 Multiple `SpanExporters` can be used at the same time.
 
+[[OpenTelemetry-Collector]]
+== Testing OpenTelemetry collector
+
+If you need a quick way to verify the configuration of OpenTelemetry traces, 
you can start a local collector by running a Docker service:
+
+```bash
+docker run -p 4318:4318 otel/opentelemetry-collector-contrib:0.113.0
+```
+
+This service will expose the port `4318` to `localhost` which is the default 
setting expected by the agent. You can change this configuration accordingly.
+
 [[OpenTelemetry-JavaAgent]]
 == Java Agent
 

Reply via email to