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

Disable reporting spans for actuator endpoints #63

Closed
mariusgiger opened this issue Sep 17, 2019 · 1 comment
Closed

Disable reporting spans for actuator endpoints #63

mariusgiger opened this issue Sep 17, 2019 · 1 comment

Comments

@mariusgiger
Copy link

Hi guys,

When using Jaeger for Spring Cloud Gateway with actuator endpoints enabled (e.g. /actuator/health for K8s readiness probe), all calls to the actuator endpoints produce a span. Is there a way to disable this behaviour?

Config:

        <dependency>
            <groupId>io.opentracing.contrib</groupId>
            <artifactId>opentracing-spring-jaeger-cloud-starter</artifactId>
            <version>2.0.0</version>
        </dependency>

        <dependency>
            <groupId>io.opentracing.contrib</groupId>
            <artifactId>opentracing-spring-cloud-starter</artifactId>
            <version>0.3.2</version>
        </dependency>

Cheers,
Marius

@geoand
Copy link
Collaborator

geoand commented Sep 22, 2019

Hi,

I vaguely remember something of this sort, but can't put my finger on it.
@pavolloffay or @ask4gilles do you remember?

If not, I can look through the code obviously 😆

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

2 participants