Skip to content

Commit

Permalink
Merge pull request #14562 from wchrisjohnson/cj-add-librato-metrics
Browse files Browse the repository at this point in the history
provider/librato: Enable mgmt of Librato metrics
  • Loading branch information
grubernaut authored May 26, 2017
2 parents 9871ea6 + 527d79a commit 840f974
Show file tree
Hide file tree
Showing 7 changed files with 728 additions and 9 deletions.
14 changes: 14 additions & 0 deletions builtin/providers/librato/common_helpers_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package librato

import (
"log"
"testing"
"time"
)

func sleep(t *testing.T, amount time.Duration) func() {
return func() {
log.Printf("[INFO] Sleeping for %d seconds...", amount)
time.Sleep(amount * time.Second)
}
}
1 change: 1 addition & 0 deletions builtin/providers/librato/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func Provider() terraform.ResourceProvider {
ResourcesMap: map[string]*schema.Resource{
"librato_space": resourceLibratoSpace(),
"librato_space_chart": resourceLibratoSpaceChart(),
"librato_metric": resourceLibratoMetric(),
"librato_alert": resourceLibratoAlert(),
"librato_service": resourceLibratoService(),
},
Expand Down
Loading

0 comments on commit 840f974

Please sign in to comment.