From 88606ce990aaec910d1d09e54bd70e68b2ba3cff Mon Sep 17 00:00:00 2001 From: chinyixiang <112596208+chinyixiang@users.noreply.github.com> Date: Sun, 27 Apr 2025 22:46:29 +0800 Subject: [PATCH 1/2] Fix LLM-Tracer traces not found issue (#55) fixed llm-tracer tracer not found issue Signed-off-by: wwanarif --- studio-backend/app/routers/llmtraces_router.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/studio-backend/app/routers/llmtraces_router.py b/studio-backend/app/routers/llmtraces_router.py index 7b6565b..348b4cc 100644 --- a/studio-backend/app/routers/llmtraces_router.py +++ b/studio-backend/app/routers/llmtraces_router.py @@ -17,8 +17,9 @@ async def list_trace_ids(namespace: str): SELECT DISTINCT tts.TraceId, tts.Start, tts.End FROM otel.otel_traces_trace_id_ts AS tts INNER JOIN otel.otel_traces AS ot ON tts.TraceId = ot.TraceId - WHERE ot.ResourceAttributes['k8s.namespace.name'] = '%(namespace)s' + WHERE ot.ResourceAttributes['k8s.namespace.name'] = %(namespace)s """ + print(f"Query: {query}") result = client.execute(query, {'namespace': namespace}) if not result: From 1e46004647cef7c557480716f8f6ca9c4dd095a2 Mon Sep 17 00:00:00 2001 From: "Sun, Xuehao" Date: Wed, 7 May 2025 11:43:36 +0800 Subject: [PATCH 2/2] Add exempt-issue-labels configuration to check stale issue and PR workflow (#54) Signed-off-by: Sun, Xuehao --- .github/workflows/daily_check_issue_and_pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/daily_check_issue_and_pr.yml b/.github/workflows/daily_check_issue_and_pr.yml index 4664b25..21e1c1d 100644 --- a/.github/workflows/daily_check_issue_and_pr.yml +++ b/.github/workflows/daily_check_issue_and_pr.yml @@ -26,3 +26,4 @@ jobs: close-pr-message: "This PR was closed because it has been stalled for 7 days with no activity." repo-token: ${{ secrets.ACTION_TOKEN }} start-date: "2025-03-01T00:00:00Z" + exempt-issue-labels: "Backlog"