Annotation Interface Tags


@Target(METHOD) @Retention(RUNTIME) public @interface Tags
A wrapper annotation for Tag that allows to apply multiple tags to a single method span,
 @Tag(key = "tag1", value = "arg[0]")
 @Tag(key = "tag2", value = "arg[1]")
 public void test(String param1, String param2) {
     // ...
 }
 
另请参阅:
  • 必需元素概要

    所需元素
    修饰符和类型
    必需的元素
    说明
    Tag[]
     
  • 元素详细资料

    • value

      Tag[] value
      另请参阅: