samplers/jaegerremote/example/strategies.json
raw| 1 | { |
| 2 | "service_strategies": [ |
| 3 | { |
| 4 | "service": "foo", |
| 5 | "type": "probabilistic", |
| 6 | "param": 0.8, |
| 7 | "operation_strategies": [ |
| 8 | { |
| 9 | "operation": "op1", |
| 10 | "type": "probabilistic", |
| 11 | "param": 0.2 |
| 12 | }, |
| 13 | { |
| 14 | "operation": "op2", |
| 15 | "type": "probabilistic", |
| 16 | "param": 0.4 |
| 17 | } |
| 18 | ] |
| 19 | }, |
| 20 | { |
| 21 | "service": "bar", |
| 22 | "type": "ratelimiting", |
| 23 | "param": 5 |
| 24 | } |
| 25 | ], |
| 26 | "default_strategy": { |
| 27 | "type": "probabilistic", |
| 28 | "param": 0.2 |
| 29 | } |
| 30 | } |