Open rdepke opened 4 years ago
@rdepke could you please paste here the sampling configuration file?
https://github.com/jaegertracing/jaeger/blob/b99114e62edc9be5dcc9d86e7a38f6030e02f98a/plugin/sampling/strategystore/static/strategy_store.go#L70 we could consider disabling unknown fields when unmarshalling.
Sure @pavolloffay this is my sampling configuration which is very close to the config in the documentation example.
{
"service_strategies": [
{
"service": "testapp",
"type": "probabilistic",
"param": 0.0,
"operation_strategies": [
{
"operation": "ok",
"type": "probabilistic",
"param": 0.0
},
{
"operation": "query",
"type": "probabilistic",
"param": 0.0
}
]
}],
"default_strategy": {
"type": "ratelimiting",
"param": 150,
"operation_strategies": [
{
"operation": "/health",
"type": "probabilistic",
"param": 0.0
},
{
"operation": "/metrics",
"type": "probabilistic",
"param": 0.0
}
]
}
}
I add this to the original post as well.
Hi Guys,
Is there any progress or solution related to this topic. I am experiencing the same issue as @rdepke, it looks like the strategies in the sampling config are not used.
Thanks
Requirement - what kind of business use case are you trying to solve?
I want to configure sampling as described here https://www.jaegertracing.io/docs/1.17/sampling/
Problem - what in Jaeger blocks you from solving the requirement?
The configuration is neglected and I don't get any hints what I'm doing wrong.
Proposal - what do you suggest to solve the problem or improve the existing situation?
Jaeger should output currently used configuration on startup e.g. Info: using sampling configuration /path/user/provided/file.json Warn: sampling configuration /path/user/provided/file.json malformed
Something along those lines so I can see what's going on.
Any open questions to address
I use Jaeger in OpenShift to trace Java SpringBoot applications which is working great. I'll put our deployment config here so you can have a look if I do something obviously wrong.
and this is the sampling configuration