Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Cannot configure samplingPath for remote sampling in trace configuration #532

Closed
flysnoworg opened this issue Oct 18, 2021 · 0 comments · Fixed by #533
Closed

Cannot configure samplingPath for remote sampling in trace configuration #532

flysnoworg opened this issue Oct 18, 2021 · 0 comments · Fixed by #533
Labels

Comments

@flysnoworg
Copy link
Contributor

Describe the bug
I need to use Alibaba Cloud's remote sampling configuration. After I configure the host and port, I find that it is still unavailable, prompting 404 not found.

To Reproduce
Steps to reproduce the behavior:

  1. The remote sampling url of Alibaba Cloud is http://tracing-analysis-dc-hz.aliyuncs.com/adapt_xxxxxx_xxxxx/api/sampling
    2.My tracer configuration is:
tracerConfig: {
  serviceName: 'demo',
  sampler: {
    type: 'remote',
    param: 1,
    host: '<host>',
    port: '<port>'
  },
  reporter: {
    collectorEndpoint: "<endpoint>"
  }
}

3.Prompt 404, unable to fetch remote configuration.

Expected behavior
The remote configuration can be obtained correctly.

Version (please complete the following information):

  • OS: macOS
  • Jaeger version: 3.18.1
  • Deployment: nodejs

What troubleshooting steps did you try?
I have found the reason, because tracer config does not support custom sampling path.

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

Successfully merging a pull request may close this issue.

1 participant