Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change autoscaling #73

Merged
merged 1 commit into from
Mar 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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