Cannot ignore a particular request #3397
Replies: 2 comments 3 replies
-
I think the value might be used as default probability when the client cannot reach the server to retrieve the actual sampling strategies |
Beta Was this translation helpful? Give feedback.
-
Are you sure that the remote strategy was actually retrieved by the client? You need to validate that other operation names are getting the expected non-default probability before considering that specifically "http_request" is not working (i.e. maybe everything is not working / not communicating) |
Beta Was this translation helpful? Give feedback.
-
I've just migrated our system to remote strategies and while the strategies seem to be picked-up (they were const before, now they are probabilistic), I can't seem to get "unnamed" requests to be ignored (they appear as "http_request").
The server is a NodeJS / Hapi one using the
jaeger-client-node
. This seems to have a strange limitation in thatsampler.param
is required even ifsampler.type
isremote
. I've set this to1
.The Collector is deployed in K8S, and the sampling strategies file looks like this:
The idea is that everything should be probabilistic with param 1.0, except
http_request
which should be 0.0 (ignored).However, I did receive this span:
For some reason, this span is not ignored and reports
sampler.param
to be 1.Beta Was this translation helpful? Give feedback.
All reactions