Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Commit

Permalink
Support virtio disks in graphite iostat model
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Serong <tserong@suse.com>

Closes #50
  • Loading branch information
tserong authored and Gregory Meno committed Sep 26, 2014
1 parent 9eb09d5 commit a2d8e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/app/scripts/models/graphite-iostat-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ define(['underscore', 'models/graphite-model'], function(_, GraphiteModel) {
url: function() {
return this.graphiteHost + '/metrics/find?query=servers.' + this.host + '.iostat.*';
},
DriveRegexp: new RegExp('sd[a-z]$'),
DriveRegexp: new RegExp('[sv]d[a-z]$'),
keys: function() {
var re = this.DriveRegexp;
return _.filter(_.map(this.attributes, function(v, k) {
Expand Down

0 comments on commit a2d8e28

Please sign in to comment.