-
Notifications
You must be signed in to change notification settings - Fork 346
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
Trace outputs are not reflected in Jaeger [Bug]: #2117
Comments
I have the same issue. It seems the UI somehow is not able to read the data from jaeger backend. I have confirmed that the collector does store data in elastic search. Did you find a solution for this? |
Hi @v-sag , |
Having this problem also with the following ElasticSearch Deployment via OperatorapiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: elasticsearch
namespace: elastic-system
spec:
version: 8.0.0
nodeSets:
- name: default
config:
node.roles:
- master
- data
node.attr.attr_name: attr_value
node.store.allow_mmap: false
podTemplate:
metadata:
labels:
foo: bar
spec:
containers:
- name: elasticsearch
resources:
requests:
memory: 4Gi
cpu: 1
limits:
memory: 4Gi
cpu: 2
count: 3 Jaeger Deployment via Jaeger OperatorapiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
name: jaeger
namespace: elastic-system
spec:
annotations:
sidecar.istio.io/inject: "true"
strategy: production
collector:
options:
es:
use-aliases: true
use-ilm: true
query:
options:
es:
use-aliases: true
use-ilm: true
storage:
type: elasticsearch
options:
es:
version: 7
create-index-templates: false
server-urls: https://elasticsearch-es-http:9200
index-prefix: jaeger_
tls: # <3>
ca: /es/certificates/ca.crt
secretName: jaeger-secret # <4>
volumeMounts: # <5>
- name: certificates
mountPath: /es/certificates/
readOnly: true
volumes:
- name: certificates
secret:
secretName: elasticsearch-es-http-certs-public According to the collector, it is storing traces and spans in the storage backend (ElasticSearch), but the UI just isn't showing any of it. |
It's worth mentioning, I still can't get this to work on ElasticSearch |
Hi, I was having the same issue and I solved it by not using the aliases and applying this workaround. I found the issue by looking at the logs; I could see that Jaeger logs were showing errors that the aliases they were trying against Elastic Search were not present. Then I searched on documentation and found out that when you enable aliases on Jaeger, you have to manage the aliases separately/externally, so Jaeger will not try to create them for you. Let me know if you need my full yaml set-up. |
@v-sag Go for it, your YAML will help. Did you do the requests to the API manually? We'd like to avoid this if we can :( |
Yes, that workaround I mentioned above, has to be applied on the Elastic-Search. I did that through Kibana UI. Here is my Jaeger
|
Ahh, we don't use Kibana for our Elasticsearch as we're just deploying Elasticsearch as part of the storage backend, not Kibana. |
What happened?
I'm doing the Jaeger operator deployment on kubernetes.
In production mode, I stand up jaeger and deploy the hotrod application.
Since there is no service for the agent in DaemonSet mode, I deploy its own service object as follows.
When I start a trace through the Hotrod application, I see that the processes are coming to the jaeger-agent pods.
But I can't see the services via query(jaeger-ui).
Steps to reproduce
Expected behavior
Services should appear on the Jaeger UI screen and trace logs should be dropped.
Relevant log output
Screenshot
Additional context
No response
Jaeger backend version
v1.39.0
SDK
No response
Pipeline
No response
Stogage backend
Elasticsearch
Operating system
Linux
Deployment model
Kubernetes
Deployment configs
No response
The text was updated successfully, but these errors were encountered: