Missing a setter method for RabbitStreamTemplateObservationConvention in RabbitStreamTemplate
No setter is available
I can't add custom tags for granular observation
Workaround -- create a custom scope around send()
Span customSpan = tracer.nextSpan().name("custom.name").start();
try (Tracer.SpanInScope scope = tracer.withSpan(customSpan)) {
customSpan.tag("custom.tag", "value");
return rabbitStreamTemplate.send(message);
} finally {
customSpan.end();
}
Comment From: artembilan
I treat it as a bug. And yo are welcome to contribute the fix. Thank you!
Comment From: mangila
Seems all set! Thanks to @ngocnhan-tran1996 Thanks!