This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
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
Description
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:
- 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.