- Enclosing class:
Tracing
Tracing tag declared as a method parameter.
Tags are added to spans (alternative term is Span Attribute).
Tag key is either explicitly defined, or inferred from the parameter name, tag value is the parameter value.
Note that when this annotation is used with runtime processing (i.e. in Helidon MP), the value MUST be defined, as names of parameters are not retained in compiled Java classes.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueTag key. Defaults to parameter name.- Returns:
- tag key
- Default:
""
-