Comments (11)
Hi @einsiedlerkrebs,
I added initial implementation to the separate branch. It supports regex inputs too.
http://localhost:3000/dashboard/script/getdash.js?host=vagrant-ubuntu-precise-32&metric=disk&instance=sda1
http://localhost:3000/dashboard/script/getdash.js?host=vagrant-ubuntu-precise-32&metric=disk&instance=sd*
http://localhost:3000/dashboard/script/getdash.js?host=vagrant-ubuntu-precise-32&metric=disk&instance=sda[0-3]
Please test and let me know what you think.
from grafana-influx-dashboard.
Hey anryko,
that was fast. Yes, that is what I thought it should do. Thank you
eins.
from grafana-influx-dashboard.
Thanks for the nice idea @einsiedlerkrebs.
Merged to master.
from grafana-influx-dashboard.
Hey,
i am working on support for IRQ Plugin. The interrupts are numbers. cat /proc/interrupts
. The problem is, that i have trouble with the regexing. When i have a interrupt "4" it matches "47" as well. Do you have a hint how to stop the regexing?
thanks.
eins
Another question is if you cant hint some docu-link where i can figure out, to do some math. Might be in your code or maybe grafana? i would like to have a graph for interupts/minute.
and thanks again
from grafana-influx-dashboard.
Hi @einsiedlerkrebs,
There should be no regexp match when you don't use any special characters. instance=4
is translated to regexp /^4$/
which should match only 4 and not 47. If you need multiple values but struggle to find exact regexp to match those you can use a list notation, like instance=4,6,13,101
.
for the interrupt/minute graph you should use 'apply': 'derivative(1m)' in your plugin graph configuration. Check how it is described in the getdash repository README file (// collectd disk plugin configuration).
from grafana-influx-dashboard.
Heh, I think i understood your issue only after posting the answer :). You are actually asking about plugin configuration regexp and not GET instance request... let me think about it and do some tests.
from grafana-influx-dashboard.
yes. sorry, if i did not clearify this. and now i understood you answer! ;)
and thanks a lot for the apply = derivative(1m). very nice!
from grafana-influx-dashboard.
one way I can think of is to use exact regexp match
'graph': {
'/^4$/': { 'apply': 'derivative(1m)' }
}
let me know if this helps :).
from grafana-influx-dashboard.
yes that helps. i thought i tried this.
cool. thanks it works.
I will see, if i can build the plugin in a bit more generic and will send you a pull request.
thanks for your help
from grafana-influx-dashboard.
you are welcome
from grafana-influx-dashboard.
Thanks again. #65
from grafana-influx-dashboard.
Related Issues (20)
- Missing db parameter when using proxy mode on graphite HOT 3
- Update method to have getdash show up on grafana main page HOT 6
- Suggested retention/CQ scheme for rollups? HOT 5
- /api/datasources endpoint not accessible in 3.0.1 for non-Admin users HOT 2
- Please make sure it exists and returns a valid dashboard HOT 5
- Missing u= & p= parameter when using proxy mode on influxdb HOT 2
- [Request] Integrate multiple host selection. HOT 2
- [Request] Integrate the opportunity to search a host. HOT 8
- Duplicate metrics HOT 3
- OMG is excelent thanks HOT 3
- Add a checkbox for choosing a host. HOT 4
- Improve processes plugin HOT 12
- Add plugin for Docker HOT 10
- Add project to Grafana Dashboards page HOT 1
- TypeError: _.compose is not a function HOT 2
- batch create alert for version 4.0 HOT 1
- excessive legends for metric cpu HOT 4
- Better schemaVersion support for different version of grafana HOT 2
- Fails if used behind a reverse proxy with a sub path HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-influx-dashboard.