Skip to content

Commit

Permalink
feat: support lettuce cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
DanLi39 committed Jan 5, 2024
1 parent d146521 commit 4bd9e79
Show file tree
Hide file tree
Showing 54 changed files with 6,509 additions and 4,061 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
import io.arex.inst.extension.ModuleInstrumentation;
import io.arex.inst.extension.TypeInstrumentation;
import io.arex.agent.bootstrap.model.ComparableVersion;
import io.arex.inst.lettuce.v5.cluster.RedisClusterClientInstrumentation;
import io.arex.inst.lettuce.v5.cluster.StatefulRedisClusterConnectionImplInstrumentation;

import io.arex.inst.lettuce.v5.cluster.inst.RedisClusterClientInstrumentation;
import io.arex.inst.lettuce.v5.cluster.inst.StatefulRedisClusterConnectionImplInstrumentation;
import io.arex.inst.lettuce.v5.standalone.inst.RedisClientInstrumentation;
import io.arex.inst.lettuce.v5.standalone.inst.StatefulRedisConnectionImplInstrumentation;
import java.util.Arrays;
import java.util.List;

Expand All @@ -23,10 +24,11 @@ public LettuceModuleInstrumentation() {

@Override
public List<TypeInstrumentation> instrumentationTypes() {
return Arrays.asList(
new StatefulRedisConnectionImplInstrumentation(),
new RedisClientInstrumentation(),
new StatefulRedisClusterConnectionImplInstrumentation(),
new RedisClusterClientInstrumentation());
final List<TypeInstrumentation> list = Arrays.asList(
new StatefulRedisConnectionImplInstrumentation(),
new RedisClientInstrumentation(),
new StatefulRedisClusterConnectionImplInstrumentation(),
new RedisClusterClientInstrumentation());
return list;
}
}
Loading

0 comments on commit 4bd9e79

Please sign in to comment.