duzhor
V2EX  ›  问与答

Loki 查询的数量级是什么水平?

  •  
  •   duzhor · Jan 7, 2022 · 2103 views
    This topic created in 1606 days ago, the information mentioned may be changed or developed.

    模拟了文件大小 8.6G ,500 多 w 行数据的日志,每行标准 json 结构,loki 单 job 收集,确实给吃下去了。

    {job="testlogs"} |= "1815167"

    explore 查询的时候大概超过 2 个汉字就会 502 查不出来,6 个以下数字能查,英文倒是可以比较多。

    现在不知道瓶颈在哪里,loki 的配置吗?

    另外 promtail 采集的时候好像也存在瓶颈?

    3 replies    2022-01-07 14:20:05 +08:00
    imherer
        1
    imherer  
       Jan 7, 2022
    看来还是不如 es 了?

    之前玩过一段时间,不过都只是 demo 阶段,最近还说把它用在一个小项目里,你这么一说,有点不敢用了
    duzhor
        2
    duzhor  
    OP
       Jan 7, 2022   ❤️ 1
    @imherer 我现在是在测试摸索,搜索到的文档感觉也很少,在自己吃官方文档
    ghos
        3
    ghos  
       Jan 7, 2022
    可以布置多点查询器
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3015 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 14:54 · PVG 22:54 · LAX 07:54 · JFK 10:54
    ♥ Do have faith in what you're doing.