Skip to content

Commit

Permalink
Merge pull request #2 from hfm/fix-label-names
Browse files Browse the repository at this point in the history
Fix label names
  • Loading branch information
hfm committed Dec 30, 2015
2 parents 2dfa726 + 72f8a82 commit 64f3e8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions mogilefs.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,18 @@ var graphdef = map[string](mp.Graphs){
Label: "MogileFS work_queue_for",
Unit: "integer",
Metrics: [](mp.Metrics){
mp.Metrics{Name: "work_queue_for_delete", Label: "queries", Diff: false, Type: "uint64"},
mp.Metrics{Name: "work_queue_for_fsck", Label: "queries", Diff: false, Type: "uint64"},
mp.Metrics{Name: "work_queue_for_replicate", Label: "queries", Diff: false, Type: "uint64"},
mp.Metrics{Name: "work_queue_for_delete", Label: "work_queue_for_delete", Diff: false, Type: "uint64"},
mp.Metrics{Name: "work_queue_for_fsck", Label: "work_queue_for_fsck", Diff: false, Type: "uint64"},
mp.Metrics{Name: "work_queue_for_replicate", Label: "work_queue_for_replicate", Diff: false, Type: "uint64"},
},
},
"mogilefs.stats.work_sent_to": mp.Graphs{
Label: "MogileFS work_sent_to",
Unit: "integer",
Metrics: [](mp.Metrics){
mp.Metrics{Name: "work_sent_to_delete", Label: "queries", Diff: false, Type: "uint64"},
mp.Metrics{Name: "work_sent_to_fsck", Label: "queries", Diff: false, Type: "uint64"},
mp.Metrics{Name: "work_sent_to_replicate", Label: "queries", Diff: false, Type: "uint64"},
mp.Metrics{Name: "work_sent_to_delete", Label: "work_sent_to_delete", Diff: false, Type: "uint64"},
mp.Metrics{Name: "work_sent_to_fsck", Label: "work_sent_to_fsck", Diff: false, Type: "uint64"},
mp.Metrics{Name: "work_sent_to_replicate", Label: "work_sent_to_replicate", Diff: false, Type: "uint64"},
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ package main
const Name string = "mackerel-plugin-mogilefs"

// Version is version string of this application.
const Version string = "0.2.0"
const Version string = "0.2.1"

0 comments on commit 64f3e8c

Please sign in to comment.