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 8, 2024
1 parent d146521 commit 44da33a
Show file tree
Hide file tree
Showing 57 changed files with 7,700 additions and 4,260 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 44da33a

Please sign in to comment.