1.9 KiB
1.9 KiB
Runtime Agent Framework
Module
Signals
Status
IMPLEMENTED
Description
Full runtime agent framework with IRuntimeAgent interface, .NET EventPipe agent, CLR method resolution, agent registration, health/heartbeat, runtime method events, and facts ingestion is implemented.
Implementation Details
- Modules:
src/Signals/StellaOps.Signals.RuntimeAgent/ - Key Classes:
RuntimeAgentBase(src/Signals/StellaOps.Signals.RuntimeAgent/RuntimeAgentBase.cs) - abstract base class for runtime agentsDotNetEventPipeAgent(src/Signals/StellaOps.Signals.RuntimeAgent/DotNetEventPipeAgent.cs) - .NET EventPipe-based runtime agent for method-level tracingClrMethodResolver(src/Signals/StellaOps.Signals.RuntimeAgent/ClrMethodResolver.cs) - resolves CLR method tokens to fully qualified method namesAgentRegistrationService(src/Signals/StellaOps.Signals.RuntimeAgent/AgentRegistrationService.cs) - handles agent registration and health/heartbeatRuntimeFactsIngestService(src/Signals/StellaOps.Signals.RuntimeAgent/RuntimeFactsIngestService.cs) - ingests runtime method events as reachability factsRuntimeAgentController(src/Signals/StellaOps.Signals/Api/RuntimeAgentController.cs) - API controller for agent management
- Interfaces:
IRuntimeAgent,IAgentRegistrationService,IRuntimeFactsIngest - Source: Feature matrix scan
E2E Test Plan
- Register a runtime agent via
AgentRegistrationServiceand verify it appears in the registry - Start
DotNetEventPipeAgentand verify it captures method-level events from a target process - Verify
ClrMethodResolverresolves method tokens to fully qualified names - Verify
RuntimeFactsIngestServiceprocesses runtime events and produces reachability facts - Verify agent heartbeat: confirm the agent sends periodic health signals
- Manage agents via
RuntimeAgentControllerAPI endpoints