Skip to content

Propagate serviceName through inspector stat pipeline #13875

Description

@minwoo-jung

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions