Method SpanTag(string, IExpression, SpanTarget)
Puts the attribute key on a span of the engine, its value evaluated per message — the way to
find a trace by a business key (.SpanTag("sap.order.id", XPath("/Ack/OrderNo"))). The exchange is not
touched. Nothing is set without a listener, on an unsampled span (the value is then not evaluated), for a
null or empty value, or when the value fails to evaluate (logged at Debug). The value is exported
unfiltered: never personal data or credentials. Its length is limited by the OpenTelemetry SDK
(OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT).
public TSelf SpanTag(string key, IExpression value, SpanTarget target = SpanTarget.Enclosing)