v1

latestOpenAPI 3.0.0Apache 2.02026-07-1410280162.7 KB
snowmonkey

Get current Snow Monkey config

Get current Snow Monkey config

get/api/snowmonkey/config

Response

Successful operation

dryRunboolean required

Whether or not outages will actualy impact requests

enabledboolean required

Whether or not this config is enabled

includeUserFacingDescriptorsboolean required

Whether or not user facing apps. will be impacted by Snow Monkey

outageDurationFrominteger required

Start of outage duration range

outageDurationTointeger required

End of outage duration range

outageStrategy'OneServicePerGroup' | 'AllServicesPerGroup' required
startTimestring time required

Start time of Snow Monkey each day

stopTimestring time required

Stop time of Snow Monkey each day

targetGroupsstring[] required

Groups impacted by Snow Monkey. If empty, all groups will be impacted

timesPerDayinteger required

Number of time per day each service will be outage

Example response

{
  "chaosConfig": {
    "badResponsesFaultConfig": {
      "ratio": 42.2,
      "responses": [
        {
          "body": "a string value",
          "headers": {
            "key": "value"
          },
          "status": 123123
        }
      ]
    },
    "enabled": true,
    "largeRequestFaultConfig": {
      "additionalRequestSize": 123123,
      "ratio": 42.2
    },
    "largeResponseFaultConfig": {
      "additionalRequestSize": 123123,
      "ratio": 42.2
    },
    "latencyInjectionFaultConfig": {
      "from": 123123,
      "ratio": 42.2,
      "to": 123123
    }
  },
  "dryRun": true,
  "enabled": true,
  "includeUserFacingDescriptors": true,
  "outageDurationFrom": 123123,
  "outageDurationTo": 123123,
  "startTime": "17:32:28.000",
  "stopTime": "17:32:28.000",
  "targetGroups": [
    "a string value"
  ],
  "timesPerDay": 123123
}