Skip to content

Instantly share code, notes, and snippets.

@imosquera
Last active January 14, 2021 16:41
Show Gist options
  • Save imosquera/399a89ad65e4f625fc2e0f0822dc5911 to your computer and use it in GitHub Desktop.
Save imosquera/399a89ad65e4f625fc2e0f0822dc5911 to your computer and use it in GitHub Desktop.
{
"executionRequest": {
"lifetimeDurationMins": 10,
"analysisIntervalMins": 1,
"scopes": [
{
"controlScope": "host:gke-panera-shared-ser-devops-gke-test-96cd73b4-zr3q.c.shared-services-pb.internal",
"controlOffset": 0,
"experimentScope": "host:gke-panera-shared-ser-devops-gke-test-96cd73b4-10cz.c.shared-services-pb.internal",
"extendedScopeParams": {
"application": "datadog-cn"
},
"scopeName": "default",
"step": 300
}
],
"thresholds": {
"marginal": "75",
"pass": "90"
}
},
"canaryConfig": {
"classifier": {
"groupWeights": {
"MEM": 40,
"CPU": 35,
"IO": 25
}
},
"configVersion": "1",
"judge": {
"name": "NetflixACAJudge-v1.0"
},
"metrics": [
{
"groups": [
"MEM"
],
"name": "mem-rss",
"query": {
"metricName": "max:docker.mem.rss",
"serviceType": "datadog",
"type": "datadog"
},
"scopeName": "default"
},
{
"groups": [
"MEM"
],
"name": "mem-in-use",
"query": {
"metricName": "max:docker.mem.in_use",
"serviceType": "datadog",
"type": "datadog"
},
"scopeName": "default"
},
{
"groups": [
"CPU"
],
"name": "cpu-total",
"query": {
"metricName": "avg:docker.cpu.usage",
"serviceType": "datadog",
"type": "datadog"
},
"scopeName": "default"
},
{
"groups": [
"CPU"
],
"name": "cpu-sys",
"query": {
"metricName": "avg:docker.cpu.system",
"serviceType": "datadog",
"type": "datadog"
},
"scopeName": "default"
},
{
"groups": [
"CPU"
],
"name": "cpu-user",
"query": {
"metricName": "avg:docker.cpu.user",
"serviceType": "datadog",
"type": "datadog"
},
"scopeName": "default"
},
{
"groups": [
"CPU"
],
"name": "cpu-threads",
"query": {
"metricName": "max:docker.thread.count",
"serviceType": "datadog",
"type": "datadog"
},
"scopeName": "default"
},
{
"groups": [
"IO"
],
"name": "io-bytes-rcvd",
"query": {
"metricName": "avg:docker.net.bytes_rcvd",
"serviceType": "datadog",
"type": "datadog"
},
"scopeName": "default"
},
{
"groups": [
"IO"
],
"name": "io-bytes-sent",
"query": {
"metricName": "avg:docker.net.bytes_rcvd",
"serviceType": "datadog",
"type": "datadog"
},
"scopeName": "default"
}
],
"name": "new-config"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment