-
Notifications
You must be signed in to change notification settings - Fork 156
Jaeger query shows error in log #112
Comments
|
This is the relevant error message:
This happens because there's no agent at If you still need assistance, feel free to reopen this issue. |
@jpkrohling do you have that sidecar setup for the agent in our k8s templates? |
We should, but looks like we don't: jaeger-kubernetes/jaeger-production-template.yml Lines 129 to 139 in da22250
I think we only have it in the operator. I'll leave this open, to add the sidecar to this template. |
I don't have agent running along with query. Are you suggesting to setup agent along with query. I do have jaeger-agent setup along with application sending trace to agent which further send trace to collector.
|
Configmap for jaeger to connect to elasticsearch running on separate VM as:
|
Deployed hotrod with sidecar as jaeger-agent
|
Yes, if you want to get the Query traces reported to the collector, or if the error messages are bothering you. If you don't care about the spans generated by the query component, you can just ignore the error messages. |
You can also configure the sampling strategy in the collector for the query service to use 0 probability. |
Is it possible to configure e.g. running |
As long as the agent with specific IP/Port is reachable from the Pod then yes you can configure it. |
Thanks, do you know what the ENV_VAR would be? |
Which ENV_VAR? Can you please clarify and elaborate a bit more? |
You mentioned we could configure it so I presumed there would be an environment variable for query to get query to talk to an agent that is not on local host. |
I don't think there's a way to customize the agent location for query. See jaegertracing/jaeger#1044. |
Hi @jpkrohling can you please confirm if we stil’ Need to add a agent sidecar to query in version 1.12 of jaeger? If so I will add it to the helm chart for jaeger via helm/charts#13693 (comment) |
@naseemkullah: yes, in order to have spans generated at the query component to reach the collector, it needs the agent as sidecar. |
Thank you for confirming @jpkrohling , an optional agent sidecar for query has been added to the jaeger helm chart. |
I am running jaeger with elasticsearch and elasticsearch is running on another VM.
But the jaeger query pod on kubernetes is showing following error in logs:
The text was updated successfully, but these errors were encountered: