Skip to content

filter建议增加按照类&方法等维度注解的方式注识别要监控的类或方法 #110

@SalomonQiu

Description

@SalomonQiu

3.X的版本中,filter的配置上,目前只能通过配置packages和method全路径的方式来配置要监控的类或方法。很多时候,一个系统的package往往很复杂,通过package或method的全路径配置起来会很麻烦。在实际的监控工程中,每个系统的package也不尽相同,配置的复用更无从谈起。所以,希望能提供一个更加友好的配置方式来实现方法的监控。

针对于Java工程,现在基本都是在使用Springboot,所以,如果能实现配置注解的全路径来过滤要监控的类,会更容易的多,在真实的监控工程上,也能实现配置的复用。比如,增加一个配置如下:
filter.class.annnotation = org.springframework.web.bind.annotation.RestController;org.springframework.stereotype.Service;

如果已经实现了上述能力,帮忙更新下文档,谢谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions