We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ff97ac commit 32e69b1Copy full SHA for 32e69b1
1 file changed
doc-snippets/spring-starter/src/main/java/otel/TracedClass.java
@@ -23,5 +23,6 @@ public void tracedMethodWithName() {
23
@WithSpan(kind = SpanKind.CLIENT)
24
public void tracedClientSpan() {}
25
26
+ @WithSpan
27
public void tracedMethodWithAttribute(@SpanAttribute("attributeName") String parameter) {}
28
}
0 commit comments