Open gdesmott opened 9 months ago
I got this crash when my app was generating lots of logs: snappy encoding is infallible: TooBig { given: 4894810188, max: 4294967295 }
snappy encoding is infallible: TooBig { given: 4894810188, max: 4294967295 }
According to the snappy documentation encode() can actually fail if the input is too big.
encode()
I think tracing-loki should not panic in such case but just ignore the logs. And maybe log a warning?
tracing-loki
I got this crash when my app was generating lots of logs:
snappy encoding is infallible: TooBig { given: 4894810188, max: 4294967295 }
According to the snappy documentation
encode()
can actually fail if the input is too big.I think
tracing-loki
should not panic in such case but just ignore the logs. And maybe log a warning?