[Bug] sampling rate of dynamic configuration using DCS does not work #13841
Replies: 1 comment
-
|
Hi @ranxuxin001, before we dig into this as a bug, two questions — either one can fully explain what you're seeing: 1. Does The DCS gRPC protocol is version-based, not push-based. See if (Objects.equals(uuid, responseUuid)) {
// If UUID matched, the config table is expected as empty.
return Optional.empty();
}The OAP sends the last UUID it saw; if your server returns the same UUID, the OAP treats the poll as "no change" and never re-notifies the watcher — even if 2. Is
Could you confirm both? If (1) is the cause, the fix is on your gRPC server side. If (2) is the cause, you'll want to put the agent's own service name in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Search before asking
Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
Hello,
I've written the call() function of my grpc server to configure sampling rate. Oap log shows it calls call() function and parse the sampling rate correctly. But skywalking ui shows the same trace frequecy.
What you expected to happen
the sampling rate dynamic configuration works via grpc.
How to reproduce
My yaml configuration shows below:
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions