Summary
Propagate serviceName through inspector stat pipeline, enabling service-level data filtering for inspector stat queries.
Changes
Inspector web query pipeline
InspectorDataSearchKey: add serviceName field
InspectorQueryParameter, InspectorQueryGroupParameter: add serviceName field
AgentInspectorStatController, ApplicationInspectorStatController: pass serviceName from @ServiceParam to InspectorDataSearchKey
AgentStatService, DefaultAgentStatService: propagate serviceName to DAO layer
AgentStatDao, PinotAgentStatDao: propagate serviceName in ByAgentIds methods
AgentWarningStatService
AgentWarningStatService interface: add serviceName parameter to select()
AgentWarningStatServiceImpl: use serviceName parameter instead of ServiceConstants.DEFAULT
EmptyAgentWarningStatService: match updated interface
AgentInfoService, AgentInfoServiceImpl: propagate serviceName from controller
AgentInfoController: pass serviceName.getName() to service layer
Inspector collector (ApplicationStat)
ApplicationStat: add serviceName field to Kafka message model
ApplicationStatModelConverter: pass serviceName from AgentStat to ApplicationStat
Note
MyBatis mapper XML WHERE clause changes are not included in this PR (to be handled separately).
Summary
Propagate serviceName through inspector stat pipeline, enabling service-level data filtering for inspector stat queries.
Changes
Inspector web query pipeline
InspectorDataSearchKey: add serviceName fieldInspectorQueryParameter,InspectorQueryGroupParameter: add serviceName fieldAgentInspectorStatController,ApplicationInspectorStatController: pass serviceName from@ServiceParamtoInspectorDataSearchKeyAgentStatService,DefaultAgentStatService: propagate serviceName to DAO layerAgentStatDao,PinotAgentStatDao: propagate serviceName inByAgentIdsmethodsAgentWarningStatService
AgentWarningStatServiceinterface: add serviceName parameter toselect()AgentWarningStatServiceImpl: use serviceName parameter instead ofServiceConstants.DEFAULTEmptyAgentWarningStatService: match updated interfaceAgentInfoService,AgentInfoServiceImpl: propagate serviceName from controllerAgentInfoController: passserviceName.getName()to service layerInspector collector (ApplicationStat)
ApplicationStat: add serviceName field to Kafka message modelApplicationStatModelConverter: pass serviceName from AgentStat to ApplicationStatNote
MyBatis mapper XML WHERE clause changes are not included in this PR (to be handled separately).