#18890·loki

Loki-3.5.3 msg="获取插入器客户端时出错" err="环为空"

作者: sagarnikam123创建于 2025年8月16日更新于 2026年9月23日
标签type/bug

在单体模式下运行 Loki 3.5.3

要重现问题 重现问题的步骤:

  1. 获取适用于您操作系统架构的 Loki 二进制文件 - https://GitHub.com/grafana/loki/releases/tag/v3.5.3 - loki-darwin-amd64.zip
  2. 从 - https://GitHub.com/grafana/loki/blob/main/cmd/loki/loki-local-config.yaml 中获取 Loki 配置文件
  3. 在 loki-local-config.yaml 中将 log_level: debug 更改为 log_level: warn
  4. 使用上述配置在单体模式下运行 Loki 3.5.3,本地文件系统,kvstore: inmemory,存储: tsdb,模式: v13,使用 loki-darwin-arm64 -config.file=config/loki-local-config.yaml 启动 Loki
  5. 观察终端是否有任何错误
  6. 出现以下错误
level=error ts=2025-08-16T15:46:02.02235Z caller=ratestore.go:109 msg="error getting ingester clients" err="empty ring"

预期行为

  • 我们不应出现上述错误