lsergio opened a new issue, #6002:
URL: https://github.com/apache/camel-k/issues/6002
### What happened?
Create the following Integration with telemetry configuration:
```apiVersion: camel.apache.org/v1
kind: Integration
metadata:
name: bugtelemetry
spec:
sources:
- name: main.yaml
content: |-
- from:
uri: rest:get:/demo
steps:
- setBody:
constant: "It worked"
traits:
health:
enabled: true
camel:
runtimeVersion: 3.2.3
addons:
telemetry:
auto: false
enabled: true
endpoint:
http://simplest-collector-headless.jaeger.svc.cluster.local:4317
sampler-ratio: "1.0"
serviceName: Demo
```
After it's running, submit some requests to the endpoint and monitor the log:
Eventually we will ser an error exporting the spans:
```
[1] 2024-12-17 16:52:06,352 SEVERE [io.ope.exp.int.grp.OkHttpGrpcExporter]
(OkHttp http://localhost:4317/...) Failed to export spans. The request could
not be executed. Full error message: Failed to connect to
localhost/[0:0:0:0:0:0:0:1]:4317
```
Per the error message, the trait is trying to send tracing data to localhost
and not the configured endpoint.
### Steps to reproduce
_No response_
### Relevant log output
_No response_
### Camel K version
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]