Skip to content

Setter for RabbitStreamTemplateObservationConvention in RabbitStreamTemplate #3115

@mangila

Description

@mangila

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();
        }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions