Skip to content

feat: link skill dashboard pages to telemetry - #2874

Merged
tmeschter merged 3 commits into
microsoft:mainfrom
tmeschter:tmeschter-ubiquitous-fiesta
Jul 20, 2026
Merged

feat: link skill dashboard pages to telemetry#2874
tmeschter merged 3 commits into
microsoft:mainfrom
tmeschter:tmeschter-ubiquitous-fiesta

Conversation

@tmeschter

Copy link
Copy Markdown
Member

Fixes #2871

Summary

Adds a View telemetry ↗ link to each skill's detail page in the Skills section of the dashboard. The link opens the corresponding Azure Data Explorer telemetry view for the selected skill, using the URL form specified in the issue:

https://dataexplorer.azure.com/dashboards/d1281268-c49e-4e82-bdc9-79e6c3c6cb43?p-_startTime=90days&p-_endTime=now&p-_selectedPluginSkill=v-<SKILL_NAME>#e9eade80-7b12-49db-a865-a6d3365d03eb

Changes

  • dashboard/src/skills/App.tsx — new exported telemetryUrl(skillName) helper and a telemetry link rendered in the skill detail header (opens in a new tab, rel="noopener noreferrer").
  • dashboard/src/skills/skills.css — styling for the link.
  • dashboard/src/skills/__tests__/telemetryUrl.test.ts — unit tests for the URL builder.

Validation

  • vitest passes (16 tests, including 2 new).
  • tsc --noEmit is clean for the changed files (only a pre-existing, unrelated error remains in token-usage/App.tsx).

Add a 'View telemetry' link to each skill detail page in the Skills dashboard that opens the corresponding Azure Data Explorer telemetry view for the selected skill.

Fixes microsoft#2871

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 61579e26-24b2-4780-a2f7-f81c6311d777
@tmeschter
tmeschter requested a review from a team as a code owner July 17, 2026 19:24
Copilot AI review requested due to automatic review settings July 17, 2026 19:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a “View telemetry ↗” outbound link to each skill’s detail header in the dashboard, pointing to the Azure Data Explorer telemetry dashboard for the selected skill (per Issue #2871).

Changes:

  • Added an exported telemetryUrl(skillName) helper to build the ADX dashboard URL and rendered a link in the skill detail header.
  • Added CSS styling for the telemetry link.
  • Added unit tests validating the URL builder behavior.
Show a summary per file
File Description
dashboard/src/skills/App.tsx Introduces telemetryUrl() and renders the “View telemetry” link for the selected skill (opens in new tab with noopener noreferrer).
dashboard/src/skills/skills.css Adds styling for the telemetry link and spacing in the header.
dashboard/src/skills/tests/telemetryUrl.test.ts Adds unit tests for the URL builder (currently includes one brittle full-string assertion).

Review details

  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Low

Comment thread dashboard/src/skills/__tests__/telemetryUrl.test.ts
RickWinter
RickWinter previously approved these changes Jul 17, 2026

@JasonYeMSFT JasonYeMSFT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder that our skills dashboard is technically speaking public. Are we ok with making the telemetry results publicly available? I haven't looked into how the kusto auth works. If it has another layer that guarantees only we can see the data that would be fine.

JasonYeMSFT
JasonYeMSFT previously approved these changes Jul 20, 2026
@tmeschter

Copy link
Copy Markdown
Member Author

Reminder that our skills dashboard is technically speaking public. Are we ok with making the telemetry results publicly available? I haven't looked into how the kusto auth works. If it has another layer that guarantees only we can see the data that would be fine.

The dashboard is public, but this just links to the associated telemetry page rather than incorporating telemetry directly into the dashboard. The telemetry page has its own permissions.

…s-fiesta

# Conflicts:
#	dashboard/src/skills/App.tsx
#	dashboard/src/skills/skills.css
@tmeschter
tmeschter dismissed stale reviews from JasonYeMSFT and RickWinter via 0b04839 July 20, 2026 17:41
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 61579e26-24b2-4780-a2f7-f81c6311d777
@tmeschter

Copy link
Copy Markdown
Member Author

@JasonYeMSFT Good question. This PR only adds an outbound hyperlink to the ADX dashboard — it doesn't embed or expose any telemetry data in the (public) skills dashboard itself. The link points at dataexplorer.azure.com, which requires Azure AD sign-in, and the viewer must have read permission on the underlying Kusto cluster/database to see any results. So an anonymous visitor who clicks it just hits the ADX auth wall; no data is made public by this change. If you'd prefer we still gate the link's visibility (e.g., only render it in non-public deployments), I'm happy to add that — let me know.

@tmeschter
tmeschter merged commit c73f193 into microsoft:main Jul 20, 2026
10 checks passed
@tmeschter
tmeschter deleted the tmeschter-ubiquitous-fiesta branch July 20, 2026 23:27
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.

Link to telemetry

4 participants