Comments (5)
Hey nordewal,
Sure this should be possible. However you need plugin name to match actual metrics beginning part.
So in your case something like this should work:
plugins.disk_ = new Plugin();
plugins.disk_.diskOps = {
'graph': {
'read': {
'apply': 'derivative',
'type': 'disk_ops'
},
'write': {
'math': '* -1',
'apply': 'derivative',
'type': 'disk_ops'
}
},
'panel': {
'title': 'Disk Operations',
'grid': { 'max': null, 'min': null, 'leftMin': null },
'y_formats': [ 'iops' ]
}
};
plugins.disk = new Plugin();
plugins.disk.config.multi = true;
plugins.disk.diskOps = {
'graph': {
'read': {
'color': '#447EBC',
'apply': 'derivative',
'type': 'disk_ops'
},
'write': {
'color': '#508642',
'math': '* -1',
'apply': 'derivative',
'type': 'disk_ops'
}
},
'panel': {
'title': 'Disk Operations for @metric',
'grid': { 'max': null, 'min': null, 'leftMin': null },
'y_formats': [ 'iops' ]
}
};
from grafana-influx-dashboard.
Thanks, that works. When trying to add only one definition to a group, either both plugin definitions are loaded or none.
How is this supposed to work?
from grafana-influx-dashboard.
Hmm, this is strange. I just tested it and it works as expected for me.
Here is what I'm doing:
I added new groups for the test
plugins.groups.net = [
'interface',
'interface_'
];
plugins.groups.net1 = [
'interface'
];
plugins.groups.net2 = [
'interface_'
];
and all 3 work as expected. I used interface plugin for my test, but yours should work the same way with 'disk' and 'disk_'.
Please let me know if this helps. Otherwise plz post here or gist relevant parts of your config so I would be able to reproduce the issue.
from grafana-influx-dashboard.
Hey nordewal,
Have you figured out your getdash plugin group issue? Can we close this?
from grafana-influx-dashboard.
Hey anryko, it works thanks :-)
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
- allow instance selection HOT 11
- 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.