Code Monkey home page Code Monkey logo

Comments (10)

fenghuazzm avatar fenghuazzm commented on May 31, 2024

OK,我们看一下

from grafanaplugin.

NarakuX avatar NarakuX commented on May 31, 2024

Any good news?
We have the same problem

from grafanaplugin.

sangshuduo avatar sangshuduo commented on May 31, 2024

@liuhang-cn @NarakuX unified alert is on the roadmap but right now we don't support it.

from grafanaplugin.

sunpe avatar sunpe commented on May 31, 2024

TDengine grafanaplugin is work in version 2.6.x. The result set returned by Sql for grafana alerts should be like this [[timestamp1, value1], [timestamp2, value2], ... ]. In your case you can change your sql like select sum(cpu_cores) from log.dn where ts >= $from and ts <= $to interval(1s). @liuhang-cn

from grafanaplugin.

sunpe avatar sunpe commented on May 31, 2024

TDengine grafanaplugin v3.2.7 is release.

from grafanaplugin.

NarakuX avatar NarakuX commented on May 31, 2024

It still don't support unified alert with labels or legends

image

from grafanaplugin.

sunpe avatar sunpe commented on May 31, 2024

Please describe your problem in detail, including version, operation process, etc. @NarakuX

from grafanaplugin.

NarakuX avatar NarakuX commented on May 31, 2024

Please describe your problem in detail, including version, operation process, etc. @NarakuX

td:2.6.0.8
plugin:3.2.7

unified alert 不支持td查询多个时间序列
按照tag分组后的多个字段 返回的名称都是response
image

且不支持返回结果中有字符串
Failed to evaluate queries and expressions: failed to execute conditions: input data must be a wide series but got type long (input refid)

但是在其他地方查询正常
image

from grafanaplugin.

sunpe avatar sunpe commented on May 31, 2024

@NarakuX 感谢您的回复。

tag名字为response的问题和alert不支持 group by/partition by的问题,我们下个版本会修复。

alert 需要按数值进行比较,所以返回的结果应该是数值类型,alert页面的查询目前不支持返回除了数值类型之外的其他数据类型。

from grafanaplugin.

NarakuX avatar NarakuX commented on May 31, 2024

@NarakuX 感谢您的回复。

tag名字为response的问题和alert不支持 group by/partition by的问题,我们下个版本会修复。

alert 需要按数值进行比较,所以返回的结果应该是数值类型,alert页面的查询目前不支持返回除了数值类型之外的其他数据类型。

grafana 支持针对数值数据的报警 字符串列会转换为label 可以参考下 https://grafana.com/docs/grafana/latest/alerting/fundamentals/evaluate-grafana-alerts/

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.