🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
feat(onboarding): track tracing api key creation click (#15254)
annabellscha182acb417b02
diff --git a/web/src/features/posthog-analytics/usePostHogClientCapture.ts b/web/src/features/posthog-analytics/usePostHogClientCapture.tsindex cf5672cd2a..a619a8d4da 100644--- a/web/src/features/posthog-analytics/usePostHogClientCapture.ts+++ b/web/src/features/posthog-analytics/usePostHogClientCapture.ts@@ -243,6 +243,7 @@ export const events = {onboarding: ["code_example_tab_switch","tracing_check_active",+ "tracing_api_key_create_clicked","tracing_agent_prompt_copy_clicked","tracing_manual_docs_link_clicked",],diff --git a/web/src/features/setup/components/TracesSetupOnboardingCard.tsx b/web/src/features/setup/components/TracesSetupOnboardingCard.tsxindex f197d59a91..0209424f15 100644--- a/web/src/features/setup/components/TracesSetupOnboardingCard.tsx+++ b/web/src/features/setup/components/TracesSetupOnboardingCard.tsx@@ -80,6 +80,8 @@ export function TracesSetupOnboardingCard({});const createApiKey = async () => {+ capture("onboarding:tracing_api_key_create_clicked");+try {await mutCreateApiKey.mutateAsync({ projectId });} catch (error) {