Skip to content

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

fix(sessions): Mask metadata from telemetry (#19205)

Ben Bachem7f5551b2583e
diff --git a/web/src/features/sessions/ModernSessionHeader.tsx b/web/src/features/sessions/ModernSessionHeader.tsx
index 46eb08c143..0b891ac026 100644
--- a/web/src/features/sessions/ModernSessionHeader.tsx
+++ b/web/src/features/sessions/ModernSessionHeader.tsx
@@ -133,7 +133,7 @@ const MetadataJsonPathPill = ({
display: ReturnType<typeof getConfiguredMetadataDisplay>;
onRemove: (path: string) => void;
}) => (
- <span className="group flex max-w-full min-w-0 items-center">
+ <span className="ph-no-capture group flex max-w-full min-w-0 items-center">
<BadgeShell font="mono" data-session-header-pill="true">
<span
className="text-muted-foreground max-w-64 shrink-0 truncate"
@@ -201,7 +201,7 @@ const MetadataJsonPathEditorContent = ({
return (
<PopoverContent
align="end"
- className="w-96"
+ className="ph-no-capture w-96"
aria-label="Add metadata JSONPath"
>
<form className="flex flex-col gap-3" onSubmit={handleSubmit}>
@@ -516,7 +516,7 @@ export function ModernSessionHeader({
</PopoverTrigger>
<PopoverContent
align="end"
- className="w-80 p-0"
+ className="ph-no-capture w-80 p-0"
aria-label="All session details"
>
<div className="relative border-b p-2">