Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

predixy 1.0.5版本支持单节点的Redis吗 #190

Open
lgb861213 opened this issue May 27, 2024 · 0 comments
Open

predixy 1.0.5版本支持单节点的Redis吗 #190

lgb861213 opened this issue May 27, 2024 · 0 comments

Comments

@lgb861213
Copy link

lgb861213 commented May 27, 2024

您好!
predixy 1.0.5版本支持单节点的Redis吗。
为啥使用predixy连接的时候,可以知悉info。其他命令都无法正常执行下去呢?相关的配置文件如下所示
cat <<EOF |sudo tee /etc/redis/auth.conf
Authority {
Auth "password@" {
Mode admin
}
}
EOF

cat <<EOF |sudo tee /etc/redis/standalone.conf
StandaloneServerPool {
RefreshMethod fixed
Group shard001 {
+ 10.0.21.177:6379
}
}
EOF

cat <<EOF |sudo tee /etc/redis/predixy.conf
Name PredixyExample
WorkerThreads 1
ClientTimeout 300
#set the log file
Log /var/log/predixy.log
LogRotate 1d #每天切分一次
#设置采样频率
LogVerbSample 0 #0表示不输出该级别的日志
LogDebugSample 0 #0表示不输出该级别的日志
LogInfoSample 10000
LogNoticeSample 1
LogWarnSample 1 #启用告警日志输出
LogErrorSample 1 #启用错误日志输出
Include auth.conf
Include standalone.conf #该行指定使用的服务器信息
#Include latency.conf

EOF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant