Skip to content

Testing Changes to SwiftMetricsBluemix

Sian January edited this page Dec 13, 2017 · 4 revisions

SwiftMetricsBluemix sends data to the auto-scaling agent in Bluemix, so testing any changes or support for new Swift levels is a manual process.

  1. Create a test application that depends on and instantiates SwiftMetricsBluemix. Instructions here: https://console.bluemix.net/docs/services/Auto-Scaling/index.html

  2. Deploy the application using bx app push

  3. Create the auto-scaling service. Use https://console.bluemix.net/catalog/services/auto-scaling or for stage1 server use https://console.stage1.bluemix.net/catalog/services/auto-scaling (or search the catalog for "Auto-scaling")

  4. Attach the auto-scaling service to your app. It will need to be redeployed.

  5. Open the page for the Auto-scaling service from your Bluemix home screen. Select Manage to create a policy.

  6. After your application has been running for a while use the Metric Statistics tab to look at data that the Auto-scaling service has received. Swiftmetrics provides the Response Times so we need to see some data there, e.g: