Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: add sha256 hash to media url span

Hassieb Pakzade5a0cec7d6c9
diff --git a/web/src/pages/api/public/media/index.ts b/web/src/pages/api/public/media/index.ts
index 22b3ed0f8f..ea3d1aa9f1 100644
--- a/web/src/pages/api/public/media/index.ts
+++ b/web/src/pages/api/public/media/index.ts
@@ -56,6 +56,7 @@ export default withMiddlewares({
span.setAttribute("traceId", traceId);
span.setAttribute("observationId", observationId ?? "");
span.setAttribute("field", field);
+ span.setAttribute("sha256Hash", sha256Hash);
while (retries < MAX_RETRIES) {
try {