com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Sample Auto-scaling Policy Definition

The configuration included in the autoscale-policy.json file is as follows:

{
  "id": "autoscale-policy-1",
  "loadThresholds": {
    "requestsInFlight": {
      "average": 50
    },
    "memoryConsumption": {
      "average": 70
    },
    "loadAverage": {
      "average": 100
    }
  }
}

Parameter definitions

Autoscale policy definitions

ParameterDescriptionRequiredDefault ValueExample Value

id

Unique ID of the autoscaling policyYesN/A

autoscale-policy-1

loadThresholds

The autoscaling loadthreshold is determined based on the
requestsInFlight, memoryConsumption and loadAverage.
YesN/AN/A
loadThresholds
ParameterDescriptionRequired
requestsInFlightThe number of requests the Load Balancer received, but are yet to be processed.No - Required only if the deployed cartridge is using a Load Balancer.

memoryConsumption 

The memory usage of a cartridge process, which is considered as a percentage of the total available RAM. This is a percentage and cannot go beyond 100 since a process cannot take more than total physical memory.

The formula used to calculate this is: (usedMemory/totalMemory)*100

In the above formula, usedMemory refers to the amount of current memory usage and totalMemory refers to the total amount of memory available in the instance used.

Yes
loadAverage

The average system load over a period of time. (System load is a measure of the amount of computational work that a computer system performs). This a percentage and it can go beyond 100%.

The formula used to calculate this is: (loadAvg/cores)*100

In the above formula, loadAvg refers to the load average of the instance and cores refers to the number of CPU cores of the instance.

Yes
requestsInFlight
ParameterDescriptionRequiredDefault ValueExample Value

average

The average number of requests in flight.NoN/A

50

memoryConsumption
ParameterDescriptionRequiredDefault ValueExample Value

average

The average of the memory usageYesN/A70
loadAverage
ParameterDescriptionRequiredDefault ValueExample Value

average

The average of the system load over a period of time YesN/A100
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.