Comments (5)
The port setting you're changing affects where collector listens for OTLP. You did not provide any indication that it's not working for traces submitted externally. The internal errors are coming up because Jaeger uses OTEL SDK internally and sends the traces back to itself, at the default port 4317. You need to pas another env var that is recognized by the SDK to indicate the new location of the OTLP endpoint.
from jaeger.
I did further tests as you suggested with:
services:
jaeger:
image: jaegertracing/all-in-one:1.54.0
environment:
COLLECTOR_OTLP_GRPC_HOST_PORT: :14317
LOG_LEVEL: debug
ports:
- 14317:14317
- 16686:16686
telemetry-gen:
depends_on:
- jaeger
image: ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen:latest
command:
- traces
- --otlp-insecure
- --otlp-endpoint=jaeger:14317
- --duration=30s
- --workers=4
- --rate=4
The Web ui is accessible and the traces generated by telemetrygen
are visible.
What's left if the error message generated by the collector.
You need to pas another env var that is recognized by the SDK to indicate the new location of the OTLP endpoint.
Indeed setting the variable OTEL_EXPORTER_OTLP_ENDPOINT
or OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
to http://localhost:14317
fix the error message.
But I would have expected those value to be set when I pass COLLECTOR_OTLP_GRPC_HOST_PORT
or --collector.otlp.grpc.host-port
from jaeger.
But I would have expected those value to be set ...
I don't know, I can see pros and cons. Curious why you need to change the port in the first place - since you running Jaeger it its own container, you can map its internal port to anything else externally, while the internal span exports would still be sent to the default port and continue to work.
from jaeger.
Closing as I don't think it's worth the added complexity
from jaeger.
Curious why you need to change the port in the first place
I was trying to troubleshoot why the traces I was generating was displayed on Jaeger
Closing as I don't think it's worth the added complexity
I understand, if it cannot be done automatically, can the step setting `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT` to the correct value
be documented on the troubleshoot section ?
from jaeger.
Related Issues (20)
- [Feature]: Enable IAM based auth to ES for AWS clients HOT 2
- [jaeger-v2] Deployment options HOT 7
- [Bug]: Cassandra second node is stuck on CrashLoopBackOff HOT 2
- [jaeger-v2] Rethink storage configuration to align with OTEL
- [jaeger-v2] Do away with storage.ArchiveFactory HOT 1
- [Bug]: Unstable Jaeger Deployment with Cassandra ; Cassandra STS is failing HOT 3
- Jaeger's LFX Mentorship - Term 02 - 2024 June - August HOT 11
- [jaeger-v2] Storage backend integration tests HOT 10
- [Bug]: internal.span.format field error in zipkin receiver
- [jaeger-v2] Build jaeger-remote-storage for gRPC integration test HOT 5
- [Feature]: Possible impact of changing Cassandra table compaction strategy HOT 1
- [Bug]: Does Jaeger-all-in-one does not support OpenSearch 2.11? HOT 4
- [Bug]: Operation based sampling strategies are not being returned for ratelimiting service strategies HOT 6
- Create GitHub Action to block PRs from ${fork}/main branch HOT 2
- Jaeger Service Name Missing in Jaeger-Services-XXXXXX index HOT 1
- #coop-mode for jaeger HOT 2
- [Bug]: CVE-2021-22570 (upgrade google.golang.org/protobuf to 3.15.0+) HOT 2
- [Bug]: The results filtered through the tag in the `findtrace` page did not match expectations HOT 2
- Fix breaking changes in upgrading OTEL Collector HOT 2
- [Refactor]: Remove the use of channels to signal healthcheck status HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jaeger.