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

alwaysSampler error! #1

Open
mincloud1501 opened this issue Oct 15, 2019 · 1 comment
Open

alwaysSampler error! #1

mincloud1501 opened this issue Oct 15, 2019 · 1 comment
Labels
bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists enhancement New feature or request question Further information is requested
Projects

Comments

@mincloud1501
Copy link
Owner

@bean으로 정의된 alwaysSampler()를 사용하면, Zipkin으로 Tracing하는 Transaction Rate를 조정할 수 있다는데...해결 방법을 찾아보자!

   @Bean
    public AlwaysSampler alwaysSampler() {
        return new AlwaysSampler();
    }
alwayssampler class not found
@mincloud1501
Copy link
Owner Author

official documentation이 잘못되었다! ( https://cloud.spring.io/spring-cloud-sleuth/single/spring-cloud-sleuth.html )
아래와 같이 수정하면 OK!!

   @Bean
    public Sampler alwaysSampler() {
        return Sampler.ALWAYS_SAMPLE;
    }

@mincloud1501 mincloud1501 added bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists enhancement New feature or request question Further information is requested labels Oct 15, 2019
@mincloud1501 mincloud1501 added this to To do in MSA Demo Oct 15, 2019
@mincloud1501 mincloud1501 moved this from To do to Done in MSA Demo Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists enhancement New feature or request question Further information is requested
Projects
MSA Demo
  
Done
Development

No branches or pull requests

1 participant