Class RedisCommandNormalizer


  • public final class RedisCommandNormalizer
    extends java.lang.Object
    This class is responsible for masking potentially sensitive data in Redis commands.

    Examples:

    Raw command Normalized command
    AUTH password AUTH ?
    HMSET hash creditcard 1234567887654321 address asdf HMSET hash creditcard ? address ?
    • Constructor Summary

      Constructors 
      Constructor Description
      RedisCommandNormalizer​(java.lang.String... instrumentationNames)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String normalize​(java.lang.String command, java.util.List<?> args)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RedisCommandNormalizer

        public RedisCommandNormalizer​(java.lang.String... instrumentationNames)
    • Method Detail

      • normalize

        public java.lang.String normalize​(java.lang.String command,
                                          java.util.List<?> args)