Skip to content

Allow using a different annotation such as OpenTracing or NewRelic #9

@mridang

Description

@mridang

Hi. I love this project and would like to use it on a large codebase. The codebase itself uses NewRelic for instrumentation and so adding a new annotation would be tedious.

Any chance you could add support for using custom annotations such as NewRelic's @Trace annotation or OpenTracing's @Span annotation?

The main Spring context could have an annotation that would allow you to choose the tracing framework e.g.

@SpringBootApplication
@EnableRequestCorrelation
@EnableServerTiming(using = Trace.class)
public class Application {

    @SuppressWarnings("resource")
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions