Operation Name Group Rule

Operation Name in auto instrumentation agent is unpredictable, some time, target application carries parameter in it, due to the parameter included in URI mostly. Those operation name are also as known endpoint name in most cases. Such as /api/checkTicket/tk/{userToken}.

We solved most of these cases, by leverage the parameter pattern path in framework, such as SpringMVC, Webflux, etc. In this case, it is undetected in this way, so we have to ask the users to set the group rule manually.

All rules are supported to set through agent.config, system properties and system env, like other agent settings.

  • Config format, plugin.opgroup.plugin name.rule[rule name]=pattern regex expression

Multiple configuration items for a single plugin with different keys are supports, such as

  1. plugin.opgroup.resttemplate.rule[/rule1]=/path1
  2. plugin.opgroup.resttemplate.rule[/rule2]=/path2
  3. plugin.opgroup.resttemplate.rule[/rule2]=/path3

We have following plugins supporting operation name group.

PluginConfig KeyExample
RestTemplateplugin.opgroup.resttemplate.ruleplugin.opgroup.resttemplate.rule[/user/auth/{token}]=\/user\/auth\/.*