Open Falco20019 opened 6 years ago
Sorry for taking so long to respond to this. Ideally maxTracesPerSecond should be double. All the rate limiting samplers in the clients for every language can handle double maxTracesPerSecond
. When we move over to using protobuf to define our idl, we can address this.
According to the sampling.thrift spec, the
maxTracesPerSecond
field should be anshort
value. The Java implementation uses adouble
value in it's ratelimiting_sampling.json and also in it's implementation.I assume the thrift file is out of date and
double
is the correct type?