Expand description
§Introspection Support
Adds support for introspection to a Swim server.
- The
register_introspection
will add special meta-agents to export information about running agents. - The
IntrospectionResolver
type is used by the server to register normal agents for introspection.
Structs§
- Introspection
Config - Configuration for the introspection meta agents.
- Introspection
Resolver - Provides convenience methods for interaction with the introspection task.
Traits§
- Agent
Registration - Trait for routing tables with which the introspection agents can be registered.
Functions§
- lane_
pattern - Create a route pattern for the lane meta-agents.
- mesh_
pattern - Create a route pattern for the mesh meta-agents.
- node_
pattern - Create a route pattern for the node meta-agents.
- register_
introspection - Register the introspection agent types with the server. This returns the
IntrospectionResolver
used to register new agents with the introspection system and an asynchronous task to run the introspection system. This task must be run in parallel with the rest of the server for the introspection system to work.