TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

Error in data from blm_prometheus to TDengine

Open zhenghf1985 opened this issue 6 years ago • 4 comments

prometheus采集的数据含有双引号,导致建表错误。

zhenghf1985 avatar Sep 08 '20 02:09 zhenghf1985

刚修改了一下blm_prometheus的程序,你再试试 需要用 go build重新编译一下

xiaopingcs avatar Sep 08 '20 02:09 xiaopingcs

BLM_PRM2020/09/08 10:48:23 server.go:588: execSql Error: invalid SQL: tags number not matched sqlcmd: create table if not exists MD5_0abf1eb39dc0ccf928ccdd0265ad9e9d using kube_endpoint_labels tags("369e1bf6b9cf01b5c909c85d900c7b08","tke-movie-v2-springboot","xxxx:8443","kube-state-metrics","movie",null,null,null,null,null,null,null)

tag个数又不对了 少了一个

zhenghf1985 avatar Sep 08 '20 02:09 zhenghf1985

可以把prometheus发送的数据发一下吗

xiaopingcs avatar Sep 08 '20 02:09 xiaopingcs

可以把prometheus发送的数据发一下吗

@zhenghf1985

Aries-Lee1991 avatar Sep 10 '20 03:09 Aries-Lee1991