Code Monkey home page Code Monkey logo

Comments (8)

PPQiao avatar PPQiao commented on August 17, 2024

image

from grafanaplugin.

PPQiao avatar PPQiao commented on August 17, 2024

tdengine version: 2.2.2.0

from grafanaplugin.

PPQiao avatar PPQiao commented on August 17, 2024

image

from grafanaplugin.

PPQiao avatar PPQiao commented on August 17, 2024

好像是提示说少了http:// 我加上了,现在报400:
image
image

from grafanaplugin.

sunpe avatar sunpe commented on August 17, 2024

在终端执行 curl -L -H "Authorization: Basic cm9vdDp0YW9zZGF0YQ==" -d "show databases" 10.168.205.81:6041/rest/sql 试一下,看看 taosadapter 是否正常工作

from grafanaplugin.

PPQiao avatar PPQiao commented on August 17, 2024

在终端执行 curl -L -H "Authorization: Basic cm9vdDp0YW9zZGF0YQ==" -d "show databases" 10.168.205.81:6041/rest/sql 试一下,看看 taosadapter 是否正常工作

[pmish@localhost connector]$ curl -L -H "Authorization: Basic cm9vdDp0YW9zZGF0YQ==" -d "show databases" 10.168.205.81:6041/rest/sql
{"status":"succ","head":["name","created_time","ntables","vgroups","replica","quorum","days","keep","cache(MB)","blocks","minrows","maxrows","wallevel","fsync","comp","cachelast","precision","update","status"],"column_meta":[["name",8,32],["created_time",9,8],["ntables",4,4],["vgroups",4,4],["replica",3,2],["quorum",3,2],["days",3,2],["keep",8,24],["cache(MB)",4,4],["blocks",4,4],["minrows",4,4],["maxrows",4,4],["wallevel",2,1],["fsync",4,4],["comp",2,1],["cachelast",2,1],["precision",8,3],["update",2,1],["status",8,10]],"data":[["log","2023-01-10 15:16:10.841",4,1,1,1,10,"30",1,3,100,4096,1,3000,2,0,"us",0,"ready"],["power","2023-03-23 17:13:56.792",1,1,1,1,10,"365",16,6,100,4096,1,3000,2,0,"ms",0,"ready"],["lbfs","2023-01-10 15:16:43.558",2101,3,1,1,10,"365",16,6,100,4096,1,3000,2,0,"ms",0,"ready"]],"rows":3}

这个应该是说明restful开启着的吧, 另外我是V2.2.2.0版本的tdengine, 还没有taosadapter.

这是grafana在add DataSource时的日志
image

from grafanaplugin.

dddicaprio avatar dddicaprio commented on August 17, 2024

您这边方便远程吗?可以的话请添加vx:tdengine1

from grafanaplugin.

sangshuduo avatar sangshuduo commented on August 17, 2024

在终端执行 curl -L -H "Authorization: Basic cm9vdDp0YW9zZGF0YQ==" -d "show databases" 10.168.205.81:6041/rest/sql 试一下,看看 taosadapter 是否正常工作

[pmish@localhost connector]$ curl -L -H "Authorization: Basic cm9vdDp0YW9zZGF0YQ==" -d "show databases" 10.168.205.81:6041/rest/sql
{"status":"succ","head":["name","created_time","ntables","vgroups","replica","quorum","days","keep","cache(MB)","blocks","minrows","maxrows","wallevel","fsync","comp","cachelast","precision","update","status"],"column_meta":[["name",8,32],["created_time",9,8],["ntables",4,4],["vgroups",4,4],["replica",3,2],["quorum",3,2],["days",3,2],["keep",8,24],["cache(MB)",4,4],["blocks",4,4],["minrows",4,4],["maxrows",4,4],["wallevel",2,1],["fsync",4,4],["comp",2,1],["cachelast",2,1],["precision",8,3],["update",2,1],["status",8,10]],"data":[["log","2023-01-10 15:16:10.841",4,1,1,1,10,"30",1,3,100,4096,1,3000,2,0,"us",0,"ready"],["power","2023-03-23 17:13:56.792",1,1,1,1,10,"365",16,6,100,4096,1,3000,2,0,"ms",0,"ready"],["lbfs","2023-01-10 15:16:43.558",2101,3,1,1,10,"365",16,6,100,4096,1,3000,2,0,"ms",0,"ready"]],"rows":3}

这个应该是说明restful开启着的吧, 另外我是V2.2.2.0版本的tdengine, 还没有taosadapter.

这是grafana在add DataSource时的日志 

image

建议升级 TDengine 到 3.0.4.0

from grafanaplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.