:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(llma): use trace id as download filename prefix (#58223)
posthog[bot]2948d4148770
diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 4d1d3fb12aa1..2b2cc939afac 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -4831,9 +4831,9 @@ snapshots:scenes-app-llm-analytics-trace--full-specific-event--light:hash: v1.k794b7964.091349ce43e67634397bb14f27d495e8eace97da75ccb895c35b07b4ab0e4ba3.EsXWoyHn-YhjRPI0edQ4iNYdd-3zAc6qEX_ELrbFP2Ascenes-app-llm-analytics-trace--without-content--dark:- hash: v1.k794b7964.fdab68f349191a5095900ed7e3ffa4c8fa3a786482a617337a629bebaaee92b6.g5xeCqMR8d1pHUuRT2SYN1T6CovRjDb8LKYqXyUVe0c+ hash: v1.k794b7964.a4fcca370e0b5a56d84ce5742a4016542e00c3a15c3434019f530c0e40a81a5f.evNzpI1deZnFCSnumwB3f1UGl6-CK1NCjHzTwO4AROYscenes-app-llm-analytics-trace--without-content--light:- hash: v1.k794b7964.495b6cccc74ac2bec907e2e5ee62f646e5d36257109eb5bdc5d83da80e7fd0f1.36d6IOibUsaHrkSg_grFp5xRX7nlTFdsI539IpuWguw+ hash: v1.k794b7964.84b6bc01b092a12e9ff0cb600a1a899a56a4705d58a78829852c0c968ec80551.Gu63TUkSVGfSxFXk-V7gvSaH8sqgQ2s7f_SiV8Xgi2gscenes-app-marketing-analytics-cell-actions--campaign-cell-action-globally-mapped--dark:hash: v1.k794b7964.7147c68772e5e9189ef68a958bf99bc092587ba54c7bec4bab5fccb643a4d62e.70iNFuRajWeaXHiGt81MEy_Yh9u_E8qIjzuoGIx9YFkscenes-app-marketing-analytics-cell-actions--campaign-cell-action-globally-mapped--light:diff --git a/products/llm_analytics/frontend/traceExportUtils.ts b/products/llm_analytics/frontend/traceExportUtils.tsindex 43dc978ff7f5..2964fe6f554d 100644--- a/products/llm_analytics/frontend/traceExportUtils.ts+++ b/products/llm_analytics/frontend/traceExportUtils.ts@@ -168,7 +168,7 @@ export async function exportTraceToClipboard(trace: LLMTrace, tree: EnrichedTrac}export function exportTraceToFile(trace: LLMTrace, tree: EnrichedTraceTreeNode[]): void {- const filename = `${slugify(trace.traceName || trace.id || 'trace')}.trace.json`+ const filename = `${slugify(trace.id || 'trace')}.trace.json`const file = new File([buildTraceJSONString(trace, tree)], filename, { type: 'application/json' })downloadFile(file)}