Comments (3)
hi @yaron2 , I couldn't change this to a bug and it was a bit confusing w the changes I made as I dug in, so I created a new issue here: #7574
I should have linked it here.
from dapr.
I looked at the code and it looks like the code in DaprTraceSampler is close but not quite correct.
Looking at the DaprTraceSampler code:
/**
* Decisions for the Dapr sampler are as follows:
* - parent has sample flag turned on -> sample
* - parent has sample turned off -> fall back to probability-based sampling
*/
I think this is incorrect and how how other OTel Parent samplers work.
The right behavior as I understand it (and how it is written in the .NET OTel library I checked):
- parent has sample flag turned on -> sample
- parent has sample turned off -> do not sample
- parent does not exist or no sample flag set -> fall back to probability-based sampling
from dapr.
@andrejpk did you mean to close this?
from dapr.
Related Issues (20)
- Allow outbox published data to be different than transaction data
- Low cardinality metrics issues HOT 10
- Workflow Failure with --resources-path parameter HOT 1
- Report the use of components with vulnerabilities in dapr
- CVE HOT 2
- dotnet-sdk HOT 1
- Automated service creation on ingress deployment via DaemonSet
- transport: authentication handshake failed: remote error: tls: unrecognized name\""
- Dapr generates invalid service when target deployment uses select.matchExpressions instead of selector.matchLabels
- How to use Promethues outside the cluster as a metrics library for DAPR services.
- Daprd deleting actors unexpectedly HOT 3
- hight cardinality metrics are shown for actors but increasedCardinality is set to false HOT 1
- Subscribing to the same topic with different routing keys and endpoints
- Standardize README shield badges HOT 1
- Subscription stops working when having 5 routing keys defined HOT 1
- Workflow activity cannot be run - 'too many activities are running in parallel' error.
- How can i use dapr connect to hashicorp vault and read data of database secrets engine?
- DAPR: On connection interruption DAPR Side car not listening again to Solace Queue
- Remove faultyHostDetection check in the placement service and replace it with the gRPC keepalive mechanism HOT 1
- Sidecar connection issues with placement service with on-disk raft logs HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dapr.