github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/tools/autoscaling/plugins/strategy/app-sizing-avg.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Autoscaling Plugins: Dynamic Application Sizing Average' 4 description: The "app-sizing-avg" strategy plugin uses the historical average usage to set resource recommendations. 5 --- 6 7 # Dynamic Application Sizing Average Strategy Plugin 8 9 <EnterpriseAlert> 10 This functionality only exists in Nomad Autoscaler Enterprise. This is not 11 present in the open source version of Nomad Autoscaler. 12 </EnterpriseAlert> 13 14 The `app-sizing-avg` plugin calculates the average value seen across the 15 historical metrics dataset. The plugin applies an exponential weight decay to 16 the data, in order to give more significance to recent data over older data. 17 18 This plugin is only recommended for CPU values of workloads with very stable 19 resource usage levels, such as batch jobs. 20 21 ## Agent Configuration Options 22 23 The `app-sizing-avg` plugin is automatically launched by Nomad Autoscaler 24 Enterprise and so the following setup is optional. 25 26 ```hcl 27 strategy "app-sizing-avg" { 28 driver = "app-sizing-avg" 29 } 30 ``` 31 32 ## Policy Configuration Options 33 34 ```hcl 35 check "avg" { 36 strategy "app-sizing-avg" {} 37 } 38 ``` 39 40 The `app-sizing-avg` plugin doesn't have any configuration.