diff --git a/quantizer/redis.go b/quantizer/redis.go index 2e6245f9f..7a2198e31 100644 --- a/quantizer/redis.go +++ b/quantizer/redis.go @@ -53,7 +53,7 @@ func QuantizeRedis(span *model.Span) { command := strings.ToUpper(args[0]) - if redisCompoundCommandSet[command] { + if redisCompoundCommandSet[command] && len(args) > 1 { if strings.HasSuffix(args[1], redisTruncationMark) { truncated = true continue