tracer.scopeManager().activate(span)) { // Do things. } catch(Exception ex) { Tags.ERROR.set(span, true); span.log(Map.of(Fields.EVENT, "error", Fields.ERROR_OBJECT, ex, Fields.MESSAGE, ex.getMessage())); } finally { span.finish(); } 01. 02. 03. 04. 05. 06. 07. 08. 09. 10. 62