Add Observability UI for traces and metrics from MauiDevFlow-enabled apps
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- devtools, observability
Research direction
Start by reading the existing Tools navigation in src/MauiSherpa/Components/MainLayout.razor, the app setup in src/MauiSherpa.MacOS/MacOSApp.cs, and the DevFlow client and models in src/MauiSherpa.Core/Services/DevFlowAgentClient.cs and src/MauiSherpa.Core/Models/DevFlow/DevFlowModels.cs; also review the dependency Redth/MauiDevFlow#41. Done means Sherpa has the Observability flow, capability handling, app filtering, trace and metric views, older-agent messaging, and an App Inspector shortcut.
Written by the indexing model from the issue text.
Description
Summary
Add a new Observability experience to MAUI Sherpa for viewing traces + metrics from DevFlow-enabled MAUI apps inside Sherpa.
This issue tracks the Sherpa-side work for that feature.
Dependency
This work depends on MauiDevFlow exposing the observability data Sherpa needs:
- Depends on
Redth/MauiDevFlow#41
For the first version, it is acceptable to require MauiDevFlow in the target app.
MVP direction
Use a MauiDevFlow-first approach instead of introducing a separate OTLP receiver, external dashboard, or Docker dependency.
That means Sherpa should:
- discover compatible apps through the existing DevFlow broker/agent model
- query/stream observability data from MauiDevFlow
- render a Sherpa-native UI for traces + metrics
- gracefully handle older agents that do not yet support the required capability
For the initial slice, the DevFlow-side implementation is expected to start with existing profiler spans and metrics, with deeper Activity / Meter capture potentially added later.
Proposed Sherpa scope
1. New top-level Observability page
Add a new page under Tools that shows:
- connected DevFlow apps/resources
- signal availability / capability status
- app filtering
- empty or upgrade-required states when observability support is unavailable
Likely files:
src/MauiSherpa/Components/MainLayout.razorsrc/MauiSherpa.MacOS/MacOSApp.cssrc/MauiSherpa/Pages/Observability.razor
2. Observability inspector UI
Add an inspector-style experience, similar to DevFlow, with tabs such as:
- Overview
- Traces
- Metrics
Likely files:
src/MauiSherpa/Pages/Inspector/ObservabilityInspector.razorsrc/MauiSherpa/Pages/Inspector/ObservabilityTracesTab.razorsrc/MauiSherpa/Pages/Inspector/ObservabilityMetricsTab.razor
3. DevFlow client/model updates
Extend Sherpa’s DevFlow client and shared DevFlow models so Sherpa can consume the new MauiDevFlow observability contract.
Likely files:
src/MauiSherpa.Core/Services/DevFlowAgentClient.cssrc/MauiSherpa.Core/Models/DevFlow/DevFlowModels.cs
Responsibilities:
- capability detection
- replay/live streaming support
- trace and metric query methods
- mapping agent payloads into UI-friendly models
- graceful handling of older agents
4. Shortcut from App Inspector / DevFlow
Add a direct shortcut from the existing DevFlow inspector into the new Observability flow for the selected app.
Acceptance criteria
- Sherpa shows an Observability entry under Tools
- Sherpa can detect whether a connected DevFlow agent supports observability
- Sherpa can filter traces/metrics by connected app/resource
- Sherpa can render recent traces with span detail
- Sherpa can render recent metrics with useful summaries/trends
- Sherpa shows clear upgrade/capability messaging when an older agent is connected
- Sherpa includes a shortcut from App Inspector / DevFlow into Observability
Non-goals for the first version
- generic OTLP ingestion for non-DevFlow apps
- external dashboard integration as the primary path
- full logs ingestion as part of the first observability slice
- durable telemetry storage/history
Notes
If the DevFlow-first approach proves too limiting later, we can revisit a secondary path where Sherpa hosts a generic OTLP ingest helper. That is intentionally out of scope for this issue.
- Dominant language
- C#
- Stars
- 194
- Forks
- 19
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 12
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Redth/MAUI.Sherpa
-
question
Difficulty 4/5 3-5 days Newbie friendliness 65/100
Redth/MAUI.Sherpa#251 ·
-
Difficulty 5/5 Over a week Newbie friendliness 32/100
Redth/MAUI.Sherpa#212 ·
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
Redth/MAUI.Sherpa#168 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Redth/MAUI.Sherpa#149 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Redth/MAUI.Sherpa#141 ·
All issues in Redth/MAUI.Sherpa
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100