Skip to content

Commit 6537572

Browse files
chinyixiangwanhakim
authored andcommitted
Fix LLM-Tracer traces not found issue (#55)
fixed llm-tracer tracer not found issue Signed-off-by: wwanarif <wan.abdul.hakim.b.wan.arif@intel.com>
1 parent ce8d3a9 commit 6537572

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

studio-backend/app/routers/llmtraces_router.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ async def list_trace_ids(namespace: str):
1717
SELECT DISTINCT tts.TraceId, tts.Start, tts.End
1818
FROM otel.otel_traces_trace_id_ts AS tts
1919
INNER JOIN otel.otel_traces AS ot ON tts.TraceId = ot.TraceId
20-
WHERE ot.ResourceAttributes['k8s.namespace.name'] = '%(namespace)s'
20+
WHERE ot.ResourceAttributes['k8s.namespace.name'] = %(namespace)s
2121
"""
22+
print(f"Query: {query}")
2223
result = client.execute(query, {'namespace': namespace})
2324

2425
if not result:

0 commit comments

Comments
 (0)