open-falcon-archive / query Goto Github PK
View Code? Open in Web Editor NEW数据查询组件
License: Apache License 2.0
数据查询组件
License: Apache License 2.0
[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
http/grafana.go 中 以下代码条件应该写反了
if strings.Index(g.Config().Api.Query, req.Host) >= 0 {
query 启动后一会就提示graph.last fail, resp: , err: maximum connections reached,这是什么原因呢
根据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
[root@openfalcon query]# go get ./...
graph/graph.go:247: undefined: utils.PK2
graph/graph.go:281: undefined: utils.KeysOfMap
请问缺了哪个组件?
我用falcon grafana的时候定义一个模版变量, port
thread#active#count/jmxport=[[port]]
在使用的时候发现port替换到falcon的表达式为jmxport={21071,21097}'),拿不到数据
我替换成 jmxport=(21906|21083)') 这个后能正常
大神能帮忙看看么
存数据时 step 设为 30; 查 6 小时内数据, 默认 timestamp 间隔是 30s, 12 小时内数据, timestamp 间隔变为了 150s, 跨度略大. 请问此参数有办法配置么?
query 版本号:1.4.3 ea558f8
grafana版本号:Version 3.0.4 (commit: v3.0.4)
grafana falcon plugin版本号:1.0.0
请告知下我哪个环节配置有问题,非常感谢。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.