-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collector: Some Spans are not persisted in ElasticSearch #1674
Comments
hi @MahatmaFatalError, what version of jaeger are you using? There should be an error logged if spans are not stored. Are you generating too much traffic? Maybe the spans are dropped by ES bulk processor you can try to increase these parameters
|
Metrics might also help you to understand if the spans were dropped https://www.jaegertracing.io/docs/1.13/monitoring/. e.g:
Or |
Thanks @pavolloffay for your reply. I am now using all-in-one:1.13.1
That's exactly the point which makes me crazy ;) Since this is a local test environment there is not much traffic. We are talking about 5-15 Spans in a Trace while the trace gets triggered by me manually. Regarding Metrics are looking OK: |
Could you try |
Set it to false. No noticeable impact.
I queried the Then I queried the I compared the payload of an entry of the jaeger-service-* index for both services: Proper service A: {
"_index": "jaeger-service-2019-07-19",
"_type": "service",
"_id": "12daa6bcccaccac",
"_version": 1,
"_score": 1,
"_source": {
"serviceName": "hello-service",
"operationName": "acquiring db connection from pool"
}
} Broken service B: {
"_index": "jaeger-service-2069-02-06",
"_type": "service",
"_id": "580051df358db725",
"_version": 2,
"_score": 1,
"_source": {
"serviceName": "PostgreSQL-log-converter",
"operationName": "Seq Scan"
}
} Please notice the index pattern of the latter one Then I searched the So to sum up my assumptions:
|
Probably time setting in your second service is wrong. For the indices long in future/past we have this issue #841. I am closing this as it is not an issue with Jaeger. |
I am running Jaeger with ElasticSearch backend with docker-compose:
I am sending spans from two different sources (Java Apps with OpenCensus). The trace starts in the first service, and some seconds later the trace gets eventually completed with the spans by the second service.
The symptom is that only spans from the first service gets stored in ElasticSearch and therefore appear in Jaeger-UI. The spans from the second service are missing. Not visible in Jaeger-UI nor Kibana...
Logs for trace d6966bce32be0699e5891fd498be48d6:
The first batch of spans (6cdaab280365113c to 26e68cdaaa61e5b6) get stored properly in ES, however the second batch (53b378e69037eee to ea7822f3c1a9702b) doesn't get stored.
What's interesting here is the fact that each span has the message
span written to the storage by the collector
, however, after the first batch of spans there is a message stating"app/thrift_span_handler.go:82","msg":"Span batch processed by the collector.","ok":true}
which is missing after the second batch.
Interestingly, if I disable ES and use Jaeger solely with the in-memory storage, all spans from both services get stored properly!
The text was updated successfully, but these errors were encountered: