Filtering traces by pod name in Tempo /api/search endpoint?

Hi everyone,

I’m using Grafana Tempo and currently querying the search API like this:

GET /api/search?tags=service.name

I would like to know if it’s possible to filter traces by pod name (for example, using a tag like k8s.pod.name).

Is there a way to include this filter in the /api/search query, or do I need to use a different endpoint or query parameter?

Thanks in advance for your help!

you can pass a url encoded traceql query with q=<query> query param filter your results, see API docs

also checkout Traces Drilldown if you want an easy to use UI for Tempo.