Implement simple hash based sampler (sample request based on hash value of trace_id)
Aperta
enhancement
help wanted
- Lingua principale
- Python
- Stelle
- 193
- Fork
- 28
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
1) Create abstract base class SamplerAbc
2) Make current class subclass of SamplerAbc
3) Implement one more sampler class base and hash idea from brave
https://github.com/aio-libs/aiozipkin/blob/1879edd38cd0177bd43490135de2eb3612b2331c/aiozipkin/sampler.py#L4-L15
But sampling logic ported from here:
https://github.com/openzipkin/brave/blob/967e48507f6267c07e3238b8f30575c683690ef6/brave/src/main/java/brave/sampler/BoundarySampler.java#L43-L47
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.