Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No tracing appears #18

Open
uthornbl opened this issue Aug 22, 2018 · 0 comments
Open

No tracing appears #18

uthornbl opened this issue Aug 22, 2018 · 0 comments

Comments

@uthornbl
Copy link

uthornbl commented Aug 22, 2018

Please make the README a bit more explicit.
I added the dependency to my pom:

<dependency>

            <groupId>io.github.openfeign.opentracing</groupId>
            <artifactId>feign-opentracing-parent</artifactId>
            <version>0.1.0</version>
</dependency>

That had no effect on logging or HTTP headers.
I tried introducing the ".client" statement but I obviously need to import libs - which ones?

    @Bean
    public BlackduckClient getBlackduckClient(@Value("${application.blackduck_url}") String url) {

        return Feign.builder()
                .client(new TracingClient(feignCompatibleClient, tracer))
                .encoder(new FormEncoder(new GsonEncoder()))
                .decoder(new GsonDecoder())
                .target(BlackduckClient.class, url);
    }

Any help much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant