Skip to content

Conversation

@pulpdrew
Copy link
Contributor

@pulpdrew pulpdrew commented Nov 20, 2025

Closes HDX-2876

Summary

This PR adds a highlighted trace attribute to the clickpy demo source which allows demo environment users to navigate to the clickpy dashboard which is associated with a trace.

The link appears:
Screenshot 2025-11-20 at 10 53 35 AM

The link navigates the user to the appropriate dashboard:
Screenshot 2025-11-20 at 10 53 43 AM

@changeset-bot
Copy link

changeset-bot bot commented Nov 20, 2025

🦋 Changeset detected

Latest commit: 5139e35

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@hyperdx/app Patch
@hyperdx/api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Nov 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
hyperdx-v2-oss-app Ready Ready Preview Comment Nov 20, 2025 4:27pm

@claude
Copy link

claude bot commented Nov 20, 2025

PR Review

No critical issues found.

The PR correctly adds highlighted trace attributes to the ClickPy demo source. The implementation follows existing patterns:

  • ✅ Parameter properly typed as optional (TSource highlightedTraceAttributeExpressions)
  • ✅ Correctly passed through to trace source creation at line 121-122
  • ✅ Only applied to ClickPy demo (lines 307-313), not affecting other demo sources
  • ✅ SQL expression uses ClickHouse functions (if, concat, path, LIKE) appropriately
  • ✅ Changeset file properly created

Note: The first call to addOtelDemoSources (line 269-291) does not include traceSourceHighlightedTraceAttributes, which is correct since it is optional and only needed for ClickPy.

No action required before merge.

@pulpdrew pulpdrew marked this pull request as ready for review November 20, 2025 15:54
@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2025

E2E Test Results

All tests passed • 39 passed • 3 skipped • 388s

Status Count
✅ Passed 39
❌ Failed 0
⚠️ Flaky 1
⏭️ Skipped 3

View full report →

@pulpdrew pulpdrew requested review from a team and brandon-pereira and removed request for a team November 20, 2025 16:04
@brandon-pereira
Copy link
Member

LGTM!

@kodiakhq kodiakhq bot merged commit 07392d2 into main Nov 20, 2025
9 checks passed
@kodiakhq kodiakhq bot deleted the drew/add-clickpy-link branch November 20, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants