masato25 / grafana-openfalcon-datasource Goto Github PK
View Code? Open in Web Editor NEWopenfalcon plugin for grafana
License: MIT License
openfalcon plugin for grafana
License: MIT License
我在使用时报错
Message:
Cannot read property 'length' of undefined
Stack trace:
TypeError: Cannot read property 'length' of undefined
at OpenfalconDatasource.query (http://192.168.231.21:3000/public/plugins/grafana-openfalcon-datasource/datasource.js?bust=1490195056438:38:23)
at b.issueQueries (http://192.168.231.21:3000/public/app/boot.6d63bd8b.js:46:4632)
at b.issueQueries (http://192.168.231.21:3000/public/app/boot.6d63bd8b.js:19:2788)
at g (http://192.168.231.21:3000/public/app/boot.6d63bd8b.js:42:13902)
at http://192.168.231.21:3000/public/app/boot.6d63bd8b.js:42:14074
at o.$eval (http://192.168.231.21:3000/public/app/boot.6d63bd8b.js:42:21715)
at o.$digest (http://192.168.231.21:3000/public/app/boot.6d63bd8b.js:42:20201)
at http://192.168.231.21:3000/public/app/boot.6d63bd8b.js:42:21802
at f (http://192.168.231.21:3000/public/app/boot.6d63bd8b.js:40:31995)
at http://192.168.231.21:3000/public/app/boot.6d63bd8b.js:41:1437
选择相应的Metrics之后,无法继续选择funcs,例如alias。不知我还要提供什么信息?
Grafana 3.1.0版本。还需要其他信息么?请指点,谢谢!
@masato25 ,帮助看一下下面的问题?
我用falcon grafana的时候定义一个模版变量, port
thread#active#count/jmxport=[[port]]
在使用的时候发现port替换到falcon的表达式为jmxport={21071,21097}'),拿不到数据
我替换成 jmxport=(21906|21083)') 这个后能正常
大神能帮忙看看么
多谢~
使用grafana-openfalcon-datasource作为数据源,配置graph的Alert时,提示如下
result
firing true
state alerting
conditionEvals = true
timeMs 0.946ms
error tsdb.HandleRequest() error Could not find executor for data source type: fastweb-openfalcon-datasource
我的主机名test1,test2...,test9
query填写test([1-9]),发现没有找到主机。
啥问题?
现在查询是模糊匹配,只要含有符合关键词就会全部匹配出来,例如
counter:"df.bytes.free/fstype=xfs,mount=/
就会把
counter:"df.bytes.free/fstype=xfs,mount=/boot
counter:"df.bytes.free/fstype=xfs,mount=/home
都匹配出来,在某些只接受一条查询的仪表盘中。
例如只想在 Singlestat 仪表盘显示 / 的剩余磁盘大小中就会报错,因为匹配出了3条(/ /home /boot)数据。
请问如何进行精确匹配,只匹配出 /
呢?
当主机名包含小数点时,小数点和其后一个字符在发送post请求时会变为 undefined
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.