GitHub user dneuman64 opened a pull request: https://github.com/apache/incubator-trafficcontrol/pull/212
Add support for delivery service thresholds in goTM goTM now checks the Total TPS Threshold and Total Kbps Threshold defined on a delivery service and sets a delivery service to available or unavailable accordingly. Also made sure Total TPS was properly calculated and displayed in the DS stats API as well as ensuring delivery service state was correctly reflected in the UI. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dneuman64/incubator-trafficcontrol gotm-ds-static-thresholds Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-trafficcontrol/pull/212.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #212 ---- commit de1467214ad60f495caac91f10f37e77174fdf8f Author: David Neuman <david.neuma...@gmail.com> Date: 2017-01-17T19:18:12Z add support for deliveryservice TPS and Kbps thresholds commit 5bb296c8809fef40110c609799aa636476c9ed3f Author: David Neuman <david.neuma...@gmail.com> Date: 2017-01-17T21:08:22Z return a string instead of Stat struct commit eca28a922e00461442998efdc24993bd62893dae Author: David Neuman <david.neuma...@gmail.com> Date: 2017-01-18T22:32:37Z Merge branch 'master' into gotm-ds-static-thresholds commit 91c7603591799df870802bfd945fca475b3dee93 Author: David Neuman <david.neuma...@gmail.com> Date: 2017-01-19T23:04:53Z calculate tps_total commit 6c90f7d594f4143209efbd22e2c842d1f302ec63 Author: David Neuman <david.neuma...@gmail.com> Date: 2017-01-19T23:05:43Z tps_total is a float not int commit 50112cc8b2801a535a293c6af7bcd0bf88e93342 Author: David Neuman <david.neuma...@gmail.com> Date: 2017-01-21T02:45:39Z move getDSErrString so it has the data it needs commit 0698e8c973bb546b9a7b302f2034574148ecc864 Author: David Neuman <david.neuma...@gmail.com> Date: 2017-01-23T17:09:34Z make sure thresholds are > 0 commit b4e78366cc393be2cc48e0264b7e6ff26629c4a5 Author: David Neuman <david.neuma...@gmail.com> Date: 2017-01-23T17:09:59Z correctly display DS Statuses ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---