Bailongma icon indicating copy to clipboard operation
Bailongma copied to clipboard

工程编译问题

Open heytong opened this issue 3 years ago • 16 comments

HI: 如果可以的话,帮忙在一个干净环境里重新编译测试看看。 1、go.mod是不是可以直接写在工程里?而不是用go mod init 2、默认情况下promethues的版本不存在prompb 3、需要依赖TDengine,但是TDengine, submodule clone问题,这里存在git clone权限不足 4、解决了prompb module问题,但是传入promb变量有问题,这里估计是prompb版本问题

谢谢。

heytong avatar Sep 07 '21 08:09 heytong

可以试试 feature/openfalcon 分支 https://github.com/taosdata/Bailongma/tree/feature/openfalcon

sangshuduo avatar Sep 07 '21 08:09 sangshuduo

可以试试 feature/openfalcon 分支 https://github.com/taosdata/Bailongma/tree/feature/openfalcon

请问下,blm_prometheus 对内存的要求和限制该如何处理?

heytong avatar Sep 08 '21 10:09 heytong

可以试试 feature/openfalcon 分支 https://github.com/taosdata/Bailongma/tree/feature/openfalcon

请问下,blm_prometheus 对内存的要求和限制该如何处理?

具体指什么?

sangshuduo avatar Sep 08 '21 11:09 sangshuduo

可以试试 feature/openfalcon 分支 https://github.com/taosdata/Bailongma/tree/feature/openfalcon

请问下,blm_prometheus 对内存的要求和限制该如何处理?

具体指什么?

经常oom

heytong avatar Sep 08 '21 11:09 heytong

可以试试 feature/openfalcon 分支 https://github.com/taosdata/Bailongma/tree/feature/openfalcon

请问下,blm_prometheus 对内存的要求和限制该如何处理?

具体指什么?

经常oom

能否介绍一下使用场景和硬件配置?能否看一下OOM的时候 TDengine 里的数据量(超级表数量,普通表数量,记录数)?

sangshuduo avatar Sep 09 '21 04:09 sangshuduo

同步promethues里的监控数据到TDengine。是blm_promethues跑个10来分钟就oom,8G内存

heytong avatar Sep 09 '21 06:09 heytong

同步promethues里的监控数据到TDengine。是blm_promethues跑个10来分钟就oom,8G内存

和场景相关,所以还是需要了解数据情况,才好给出建议

sangshuduo avatar Sep 09 '21 06:09 sangshuduo

同步promethues里的监控数据到TDengine。是blm_promethues跑个10来分钟就oom,8G内存

和场景相关,所以还是需要了解数据情况,才好给出建议

请问下,有统计表信息的sql吗?我在文档里没找到, 表数量至少在几十万级别以上

heytong avatar Sep 09 '21 06:09 heytong

show stables; show tables; select count(tbname) from your_stb_name; show database 也会有一栏 ntables

sangshuduo avatar Sep 09 '21 06:09 sangshuduo

name: prom created_time: 2021-09-08 18:05:54.729 ntables: 406823 vgroups: 6 replica: 1 quorum: 1 days: 10 keep: 3650 cache(MB): 16 blocks: 6 minrows: 100 maxrows: 4096 wallevel: 1 fsync: 3000

heytong avatar Sep 09 '21 06:09 heytong

show stables: 1470 row(s)

heytong avatar Sep 09 '21 06:09 heytong

@heytong 用这个分支 https://github.com/taosdata/Bailongma/tree/feature/openfalcon 也有问题吗?

sangshuduo avatar Sep 09 '21 07:09 sangshuduo

@heytong 用这个分支 https://github.com/taosdata/Bailongma/tree/feature/openfalcon 也有问题吗?

是的,我现在就是用的这个分支

heytong avatar Sep 09 '21 07:09 heytong

@heytong用这个分支https://github.com/taosdata/Bailongma/tree/feature/openfalcon也有问题吗?

是的,我现在就是用的这个分支

@heytong try to use blm_nightingale in this branch.But note that the table structure and data will be incompatible with blm_prometheus.It is recommended to run in a test environment before production.

huskar-t avatar Sep 09 '21 07:09 huskar-t

@heytong用这个分支https://github.com/taosdata/Bailongma/tree/feature/openfalcon也有问题吗?

是的,我现在就是用的这个分支

@heytong try to use blm_nightingale in this branch.But note that the table structure and data will be incompatible with blm_prometheus.It is recommended to run in a test environment before production.

[GIN] 2021/09/09 - 16:10:09 | 404 | 584ns | 10.111.112.19 | POST "/receive" 提示404,但没有再详细的错误信息了

heytong avatar Sep 09 '21 08:09 heytong

@heytong remote_write api: http://host:port/api/v1/write remote_read api: http://host:port/api/v1/read

huskar-t avatar Sep 09 '21 08:09 huskar-t