You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
``
I installed tempo-distributed with Helm in microservices mode just a couple of days ago (memcached, query frontend, ingester, distributor, compactor and querier components). I've also deployed Opentelemetry Operator/Collector and instrumented all of my apps. This part works just great if I use Jaeger as backend for querying my traces.
The issue comes up when I use Tempo as a datasource in Grafana, I'm getting a "Error (invalid TraceQL query: parse error at line 1, col 24: syntax error: unexpected IDENTIFIER). Please check the server logs for more details" message when some of my Tempo pods are restarted (I believe "ingester") or when I stop generating new traces and the old ones are uploaded to S3 after a while (I read somewhere that this could be a potencial issue but I'm not so sure).
Am I doing something wrong or do I need to configure anything else to avoid this error?
Steps to reproduce:
Start the mentioned tempo components and add the query-frontend endpoint as datasource in Grafana
Generate some traces from an app and stop generating.
Verify in Grafana/explore that you're able to see your service, and its traces, by just displaying the "Service Name" dropdown menu.
Don't generate new traces and verify that the first traces are uploaded to S3 (in my case after 30 minutes).
After the traces are uploaded to S3 go back to Grafana, open the Explore page again and display the Service Name dropdown. No service will be listed.
Hit the "Run Query" button, the old traces will appear (in my case, I have only one service... but imagine if you have a thousand, they will all be listed).
Try by typping the Service Name in the "Service Name" dropdown and run the query again. You will get the following error.
I'm using Grafana v10.2.3. This is my tempo-distributed helm
Update: I just realized when entered manually I need to quote the service name in the dropdown menu. For instance: instead of opentelemetry-node-app I need to enter "opentelemetry-node-app". That will allow me to get the traces at least, but the main issue (service not being populated automatically after a while) still remains.
diegocejasprieto
changed the title
Tempo-distributed - "unexpected IDENTIFIER" when querying from Grafana
Tempo-distributed - "Service Name" not listed and "unexpected IDENTIFIER" error when querying from Grafana
Jan 31, 2025
``
I installed tempo-distributed with Helm in microservices mode just a couple of days ago (memcached, query frontend, ingester, distributor, compactor and querier components). I've also deployed Opentelemetry Operator/Collector and instrumented all of my apps. This part works just great if I use Jaeger as backend for querying my traces.
The issue comes up when I use Tempo as a datasource in Grafana, I'm getting a "Error (invalid TraceQL query: parse error at line 1, col 24: syntax error: unexpected IDENTIFIER). Please check the server logs for more details" message when some of my Tempo pods are restarted (I believe "ingester") or when I stop generating new traces and the old ones are uploaded to S3 after a while (I read somewhere that this could be a potencial issue but I'm not so sure).
Am I doing something wrong or do I need to configure anything else to avoid this error?
Steps to reproduce:
I'm using Grafana v10.2.3. This is my tempo-distributed helm
The text was updated successfully, but these errors were encountered: