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

Commit

Permalink
upped number of possible drives from 30 to 96 and added an optional sdXY
Browse files Browse the repository at this point in the history
  • Loading branch information
ingard committed Nov 14, 2014
1 parent d8745be commit 165262b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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('[sv]d[a-z]$'),
DriveRegexp: new RegExp('[sv]d[a-z][a-z]?$'),
keys: function() {
var re = this.DriveRegexp;
return _.filter(_.map(this.attributes, function(v, k) {
Expand Down
2 changes: 1 addition & 1 deletion dashboard/app/scripts/views/graphwall-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ define(['jquery', 'underscore', 'backbone', 'templates', 'helpers/graph-utils',
// @returns the class selector for this element
renderGraphTemplates: function() {
var self = this;
this.selectors = _.map(_.range(30), function(id) {
this.selectors = _.map(_.range(96), function(id) {
var selector = 'graph-' + id;
var t = self.graphTemplate({
graphid: selector
Expand Down

0 comments on commit 165262b

Please sign in to comment.