ActuatorEndpointsConfiguration
@Configuration(proxyBeanMethods = false) @ConditionalOnClass(name = "org.springframework.boot.actuate.endpoint.annotation.Endpoint") public static class ActuatorEndpointsConfiguration
io/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:269–346Actuator Endpoints 配置,保存相关配置项。位于 io.agentscope.spring.boot.admin 包。核心成员包括 agentscopeStatusEndpoint、agentscopeAgentsEndpoint、agentscopeToolsEndpoint、agentscopeModelsEndpoint、agentscopeCommandsEndpoint、agentscopeDoctorEndpoint。
Control-plane Actuator endpoints. Loaded only when Spring Boot Actuator's
@Endpoint type is on the classpath; each endpoint registration still respects the
standard management.endpoint.<id>.enabled / management.endpoints.web.exposure
conventions.
方法摘要Method Summary
方法详情Method Detail
agentscopeStatusEndpoint
public AgentscopeStatusEndpoint agentscopeStatusEndpoint(AgentInventory inventory, AdminProperties properties)
执行 agentscopeStatusEndpoint 方法。
Performs the agentscope status endpoint operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
inventory | AgentInventory | 清单(类型 `AgentInventory`)。The inventory. |
properties | AdminProperties | 属性(类型 `AdminProperties`)。The properties. |
AgentscopeStatusEndpointio/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:273–278agentscopeAgentsEndpoint
public AgentscopeAgentsEndpoint agentscopeAgentsEndpoint(AgentInventory inventory)
设置该参数。
Performs the agentscope agents endpoint operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
inventory | AgentInventory | 清单(类型 `AgentInventory`)。The inventory. |
AgentscopeAgentsEndpointio/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:280–284agentscopeToolsEndpoint
public AgentscopeToolsEndpoint agentscopeToolsEndpoint(AgentInventory inventory)
设置该参数。
Performs the agentscope tools endpoint operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
inventory | AgentInventory | 清单(类型 `AgentInventory`)。The inventory. |
AgentscopeToolsEndpointio/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:286–290agentscopeModelsEndpoint
public AgentscopeModelsEndpoint agentscopeModelsEndpoint(AgentInventory inventory)
设置该参数。
Performs the agentscope models endpoint operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
inventory | AgentInventory | 清单(类型 `AgentInventory`)。The inventory. |
AgentscopeModelsEndpointio/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:292–296agentscopeCommandsEndpoint
public AgentscopeCommandsEndpoint agentscopeCommandsEndpoint(AdminCommandRegistry registry)
设置该参数。
Performs the agentscope commands endpoint operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
registry | AdminCommandRegistry | 注册表(类型 `AdminCommandRegistry`)。The registry. |
AgentscopeCommandsEndpointio/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:298–303agentscopeDoctorEndpoint
public AgentscopeDoctorEndpoint agentscopeDoctorEndpoint(AdminProperties properties, AgentInventory inventory, ObjectProvider<AgentStateStore> sessions)
执行 agentscopeDoctorEndpoint 方法。
Performs the agentscope doctor endpoint operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
properties | AdminProperties | 属性(类型 `AdminProperties`)。The properties. |
inventory | AgentInventory | 清单(类型 `AgentInventory`)。The inventory. |
sessions | ObjectProvider<AgentStateStore> | 会话(类型 `ObjectProvider`)。The sessions. |
AgentscopeDoctorEndpointio/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:305–312agentscopeUsageEndpoint
public AgentscopeUsageEndpoint agentscopeUsageEndpoint(MetricsRecorder recorder)
设置该参数。
Performs the agentscope usage endpoint operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
recorder | MetricsRecorder | 记录器(类型 `MetricsRecorder`)。The recorder. |
AgentscopeUsageEndpointio/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:314–318agentscopePermissionsEndpoint
public AgentscopePermissionsEndpoint agentscopePermissionsEndpoint(AgentRegistry registry)
设置该参数。
Performs the agentscope permissions endpoint operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
registry | AgentRegistry | 注册表(类型 `AgentRegistry`)。The registry. |
AgentscopePermissionsEndpointio/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:320–324agentscopeDrainEndpoint
public AgentscopeDrainEndpoint agentscopeDrainEndpoint(AdminProperties properties, AdminAuditLogger audit)
执行 agentscopeDrainEndpoint 方法。
Performs the agentscope drain endpoint operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
properties | AdminProperties | 属性(类型 `AdminProperties`)。The properties. |
audit | AdminAuditLogger | audit(类型 `AdminAuditLogger`)。The audit. |
AgentscopeDrainEndpointio/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:326–331agentscopeShutdownEndpoint
public AgentscopeShutdownEndpoint agentscopeShutdownEndpoint(AdminProperties properties, AdminAuditLogger audit, ApplicationContext context)
执行 agentscopeShutdownEndpoint 方法。
Performs the agentscope shutdown endpoint operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
properties | AdminProperties | 属性(类型 `AdminProperties`)。The properties. |
audit | AdminAuditLogger | audit(类型 `AdminAuditLogger`)。The audit. |
context | ApplicationContext | 上下文(类型 `ApplicationContext`)。The context. |
AgentscopeShutdownEndpointio/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:333–338agentscopeSubagentsEndpoint
public AgentscopeSubagentsEndpoint agentscopeSubagentsEndpoint(SubagentInventory inventory)
设置该参数。
Performs the agentscope subagents endpoint operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
inventory | SubagentInventory | 清单(类型 `SubagentInventory`)。The inventory. |
AgentscopeSubagentsEndpointio/agentscope/spring/boot/admin/AgentscopeAdminAutoConfiguration.java:340–345