Class RedisCommandNormalizer
- java.lang.Object
-
- io.opentelemetry.javaagent.instrumentation.api.db.RedisCommandNormalizer
-
public final class RedisCommandNormalizer extends java.lang.ObjectThis class is responsible for masking potentially sensitive data in Redis commands.Examples:
Raw command Normalized command AUTH passwordAUTH ?HMSET hash creditcard 1234567887654321 address asdfHMSET hash creditcard ? address ?
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRedisCommandNormalizer.CommandNormalizer
-
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.Stringnormalize(java.lang.String command, java.util.List<?> args)
-