Coder Social home page Coder Social logo

query's Issues

Cannot read property 'length' of null

我们配置好了grafana + open-falcon 的dashboard,但是在选择时间的时候出现了“Cannot
read property 'length' of null”的错误,只有在最近3个小时到24小时是有数据,其他时间就提示这样的错误。
image
image

grafana 添加 falcon源,报 bad gateway

根据https://book.open-falcon.org/zh/dev/support_grafana.html 配置 grafana 的open-falcon源,报bad gateway。

query : 1.4.3
配置:

{
"debug": "false",
"http": {
"enabled": true,
"listen": "0.0.0.0:9966"
},
"graph": {
"connTimeout": 10000,
"callTimeout": 50000,
"maxConns": 32,
"maxIdle": 32,
"replicas": 500,
"cluster": {
"node-00": "172.16.5.44:6070"
}
},
"api": {
"query": "http://0.0.0.0:9966",
"dashboard": "http://0.0.0.0:8081",
"max": 500
}
}

grafana 的plugin配置参照官网:https://grafana.com/plugins/fastweb-openfalcon-datasource

错误信息截图:
qq 20170531184009

配置查询结果时间间隔

存数据时 step 设为 30; 查 6 小时内数据, 默认 timestamp 间隔是 30s, 12 小时内数据, timestamp 间隔变为了 150s, 跨度略大. 请问此参数有办法配置么?

centos7 安装query遇到错误,望回复

[work@iZ236uv37bdZ query]$ ./control start
start ok, pid=12969
[work@iZ236uv37bdZ query]$ ./control tail
2016/04/20 16:04:18 g.ParseConfig ok, file cfg.json
2016/04/20 16:04:18 proc.Start, ok
2016/04/20 16:04:18 graph.Start ok
2016/04/20 16:04:18 http.Start warning, not enabled
fatal error: all goroutines are asleep - deadlock!

goroutine 1 [select (no cases)]:
main.main()
/home/work/workspace/src/github.com/of-release/query/main.go:40 +0x36d

grafana调用query api报错

query 版本号:1.4.3 ea558f8
grafana版本号:Version 3.0.4 (commit: v3.0.4)
grafana falcon plugin版本号:1.0.0

错误截图:
11

query配置文件截图:
11

请告知下我哪个环节配置有问题,非常感谢。

http/grafana.go 存在bug

http/grafana.go 中 以下代码条件应该写反了
if strings.Index(g.Config().Api.Query, req.Host) >= 0 {

grafana 模版变量定义不生效

我用falcon grafana的时候定义一个模版变量, port
thread#active#count/jmxport=[[port]]
在使用的时候发现port替换到falcon的表达式为jmxport={21071,21097}'),拿不到数据
我替换成 jmxport=(21906|21083)') 这个后能正常
大神能帮忙看看么

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.