Skip to content

Conversation

@peppescg
Copy link
Collaborator

@peppescg peppescg commented Jul 1, 2025

In order having a bit of color on user journey, and performance, considering that we don't have an available telemetry service, we can use Sentry traces (dashboard here ), creating a span Sentry.startSpan().

trackEvent
trackEvent(eventName, data) is used for generic user events like clicks and actions. It creates a span with op: 'user.event' and automatically adds analytics metadata like analytics.source: 'tracking', analytics.type: 'event',.
We can use analytics.source is 'tracking' filter in traces for filtering only internal tracking.

trackPageView
trackPageView(pageName, data) is used for page navigation tracking. It creates a span with op: 'page_view' and adds metadata.

Screenshot 2025-07-01 at 14 50 26

Set toolhive-studio headers

Screenshot 2025-07-09 at 12 39 18

@peppescg peppescg self-assigned this Jul 1, 2025
@peppescg peppescg linked an issue Jul 1, 2025 that may be closed by this pull request
@peppescg peppescg removed a link to an issue Jul 1, 2025
@peppescg
Copy link
Collaborator Author

peppescg commented Jul 1, 2025

Related to:
#359
#360
#462

@peppescg peppescg force-pushed the issues/359 branch 2 times, most recently from 9ddce6a to a25725f Compare July 8, 2025 07:47
@peppescg peppescg linked an issue Jul 9, 2025 that may be closed by this pull request
@peppescg peppescg merged commit 9a56230 into main Jul 9, 2025
12 checks passed
@peppescg peppescg deleted the issues/359 branch July 9, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task] Collect telemetry

3 participants