@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Tags
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) {
// ...
}
TagCopyright © 2021 The Apache Software Foundation. All rights reserved.