Skip to content

feat(analytics): chart plugin PluginStats telemetry#115

Merged
OwendB1 merged 1 commit into
mainfrom
plugin-stats
Jul 5, 2026
Merged

feat(analytics): chart plugin PluginStats telemetry#115
OwendB1 merged 1 commit into
mainfrom
plugin-stats

Conversation

@viktor-ferenczi

Copy link
Copy Markdown
Contributor

Forward every plugin's self-describing PluginSdk statistics from the in-process agent to Quasar and chart them, mirroring the profiler pipeline.

  • Agent: PluginStatsCollector maps PluginSdk.Stats snapshots to protocol POCOs, attached to AgentSnapshot.PluginStats (nullable; no protocol version bump).
  • Protocol: PluginStatsSnapshot model so the service stays PluginSdk-free.
  • Service: in-memory PluginStatsStoreService (keyed by server+provider, deduped by capture timestamp) + validator; ingested in AgentRegistry.
  • Series: AnalyticsSeriesService renders one line per instance from the schema carried in each sample; /api/analytics/plugin-stats/catalog discovers provider/group/field at runtime (metric keys plugin:provider:group:field).
  • UI: Analytics page merges discovered metrics into the panel set and adds a 'Plugin statistics' section to show them.

Forward every plugin's self-describing PluginSdk statistics from the in-process agent to Quasar and chart them, mirroring the profiler pipeline.

- Agent: PluginStatsCollector maps PluginSdk.Stats snapshots to protocol POCOs, attached to AgentSnapshot.PluginStats (nullable; no protocol version bump).
- Protocol: PluginStatsSnapshot model so the service stays PluginSdk-free.
- Service: in-memory PluginStatsStoreService (keyed by server+provider, deduped by capture timestamp) + validator; ingested in AgentRegistry.
- Series: AnalyticsSeriesService renders one line per instance from the schema carried in each sample; /api/analytics/plugin-stats/catalog discovers provider/group/field at runtime (metric keys plugin:provider:group:field).
- UI: Analytics page merges discovered metrics into the panel set and adds a 'Plugin statistics' section to show them.
@OwendB1
OwendB1 merged commit bfb8a8b into main Jul 5, 2026
4 checks passed
@OwendB1
OwendB1 deleted the plugin-stats branch July 5, 2026 13:47
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.

2 participants