Skip to content

Commit

Permalink
Merge pull request #73 from stalleyj/autoscalar
Browse files Browse the repository at this point in the history
Change autoscaling
  • Loading branch information
tobespc authored Mar 14, 2017
2 parents 267908c + 534fb79 commit 1ec8cc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ If you supply a closure that takes either a *[pre-supplied API struct](#api-stru
### SwiftMetricsKitura(swiftMetricsInstance: SwiftMetrics) (when importing SwiftMetricsKitura)
Creates a SwiftMetricsKitura instance, which will monitor Kitura HTTP metrics and emit them via the SwiftMetrics instance specified.

### SwiftMetricsBluemix(swiftMetricsInstance: SwiftMetrics) (when importing SwiftMetricsBluemix)
Creates a SwiftMetricsBluemix instance, which will send metrics to the [Auto Scale service][7]

<a name="api-structs"></a>
## API Data Structures
Expand Down Expand Up @@ -256,3 +258,4 @@ Non-release versions of this project (for example on github.com/RuntimeTools/Swi
[4]: https://docs.npmjs.com/files/folders
[5]: https://github.com/RuntimeTools/SwiftMetrics/issues
[6]: https://github.com/RuntimeTools/SwiftMetrics
[7]: https://www.ibm.com/cloud-computing/bluemix/auto-scale
2 changes: 1 addition & 1 deletion Sources/SwiftMetricsBluemix/SwiftMetricsBluemix.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fileprivate struct AverageMetrics {
fileprivate var throughput : Double = 0
}

public class AutoScalar {
public class SwiftMetricsBluemix {

var reportInterval: Int = 30
// the number of s to wait between report thread runs
Expand Down

0 comments on commit 1ec8cc1

Please sign in to comment.