Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Adding config files and comparison specific jobNames #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions config/crio-jobName.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"elasticsearch": {
"ripsaw-kube-burner": [
{
"filter": {
"metricName.keyword": "crioCPU"
},
"buckets": [
"jobName.keyword"
],
"aggregations": {
"value": [
"max",
"avg"
]
}
},
{
"filter": {
"metricName.keyword": "crioMemory"
},
"buckets": [
"jobName.keyword"
],
"aggregations": {
"value": [
"max",
"avg"
]
}
}
]
}
}
45 changes: 45 additions & 0 deletions config/etcd-jobName.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"elasticsearch": {
"ripsaw-kube-burner": [
{
"filter": {
"metricName.keyword": "99thEtcdDiskBackendCommitDurationSeconds"
},
"buckets": [
"jobName.keyword"
],
"aggregations": {
"value": [
"max"
]
}
},
{
"filter": {
"metricName.keyword": "99thEtcdDiskWalFsyncDurationSeconds"
},
"buckets": [
"jobName.keyword"
],
"aggregations": {
"value": [
"max"
]
}
},
{
"filter": {
"metricName.keyword": "99thEtcdRoundTripTimeSeconds"
},
"buckets": [
"jobName.keyword"
],
"aggregations": {
"value": [
"max"
]
}
}
]
}
}
32 changes: 32 additions & 0 deletions config/kubelet-jobName.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"elasticsearch": {
"ripsaw-kube-burner": [
{
"filter": {
"metricName.keyword": "kubeletCPU"
},
"buckets": [
"jobName.keyword"
],
"aggregations": {
"value": [
"max"
]
}
},
{
"filter": {
"metricName.keyword": "kubeletMemory"
},
"buckets": [
"jobName.keyword"
],
"aggregations": {
"value": [
"max"
]
}
}
]
}
}
34 changes: 34 additions & 0 deletions config/nodeAggWorkers-jobName.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"elasticsearch": {
"ripsaw-kube-burner": [
{
"filter": {
"metricName.keyword": "nodeCPU-AggregatedWorkers"
},
"buckets": [
"labels.mode.keyword"
],
"aggregations": {
"value": [
"avg",
"max"
]
}
},
{
"filter": {
"metricName.keyword": "nodeMemoryAvailable-AggregatedWorkers"
},
"buckets": [
"jobName.keyword"
],
"aggregations": {
"value": [
"avg",
"max"
]
}
}
]
}
}
32 changes: 32 additions & 0 deletions config/nodeMasters-jobName.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"elasticsearch": {
"ripsaw-kube-burner": [
{
"filter": {
"metricName.keyword": "nodeCPU-Masters"
},
"buckets": [
"labels.mode.keyword"
],
"aggregations": {
"value": [
"max"
]
}
},
{
"filter": {
"metricName.keyword": "nodeMemoryUtilization-Masters"
},
"buckets": [
"jobName.keyword"
],
"aggregations": {
"value": [
"max"
]
}
}
]
}
}
34 changes: 34 additions & 0 deletions config/nodeWorkers-jobName.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"elasticsearch": {
"ripsaw-kube-burner": [
{
"filter": {
"metricName.keyword": "nodeCPU-Workers"
},
"buckets": [
"labels.mode.keyword"
],
"aggregations": {
"value": [
"max",
"avg"
]
}
},
{
"filter": {
"metricName.keyword": "nodeMemoryUtilization-Workers"
},
"buckets": [
"jobName.keyword"
],
"aggregations": {
"value": [
"max",
"avg"
]
}
}
]
}
}
8 changes: 8 additions & 0 deletions tolerancy-configs/crio-tolerancy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- json_path: ["metricName", "crioCPU","jobName","*", "max(value)"]
tolerancy: 20
# Maximum percentage of allowed failures
max_failures: 0
- json_path: ["metricName", "crioMemory","jobName","*", "max(value)"]
tolerancy: 15
# Maximum percentage of allowed failures
max_failures: 0
12 changes: 12 additions & 0 deletions tolerancy-configs/etcd-tolerancy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- json_path: ["metricName", "99thEtcdDiskBackendCommitDurationSeconds", "jobName","*","max(value)"]
tolerancy: 40
# Maximum percentage of allowed failures
max_failures: 100
- json_path: ["metricName", "99thEtcdDiskWalFsyncDurationSeconds", "jobName","*","max(value)"]
tolerancy: 40
# Maximum percentage of allowed failures
max_failures: 100
- json_path: ["metricName", "99thEtcdRoundTripTimeSeconds", "jobName","*","max(value)"]
tolerancy: 40
# Maximum percentage of allowed failures
max_failures: 100
16 changes: 16 additions & 0 deletions tolerancy-configs/kube-burner-cp-tolerancy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- json_path: ["metricName", "containerCPU-Masters", "labels.namespace", "openshift-kube-apiserver", "avg(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 100
- json_path: ["metricName", "containerMemory-Masters", "labels.namespace", "openshift-kube-apiserver", "avg(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 100
- json_path: ["metricName", "containerCPU-Masters", "labels.namespace", "openshift-etcd", "avg(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 100
- json_path: ["metricName", "containerMemory-Masters", "labels.namespace", "openshift-etcd", "avg(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 100
8 changes: 8 additions & 0 deletions tolerancy-configs/kubelet-tolerancy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- json_path: ["metricName", "kubeletCPU", "jobName", "*", "max(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 100
- json_path: ["metricName", "kubeletMemory", "jobName", "*", "max(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 100
8 changes: 8 additions & 0 deletions tolerancy-configs/master-tolerancy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- json_path: ["metricName", "nodeCPU-Masters", "labels.mode", "*", "max(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 100
- json_path: ["metricName", "nodeMemoryUtilization-Masters", "jobName", "*", "max(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 100
8 changes: 8 additions & 0 deletions tolerancy-configs/pod-latency-tolerancy-rules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- json_path: ["metricName", "podLatencyQuantilesMeasurement", "quantileName", "ContainersReady", "avg(P99)"]
tolerancy: -25
# Maximum percentage of allowed failures
max_failures: 100
- json_path: ["metricName", "podLatencyQuantilesMeasurement", "quantileName", "Ready", "avg(P99)"]
tolerancy: -25
# Maximum percentage of allowed failures
max_failures: 100
16 changes: 16 additions & 0 deletions tolerancy-configs/worker-agg-tolerancy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- json_path: ["metricName", "nodeCPU-AggregatedWorkers", "labels.mode", "*", "avg(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 100
- json_path: ["metricName", "nodeCPU-AggregatedWorkers", "labels.mode", "*", "max(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 100
- json_path: ["metricName", "nodeMemoryAvailable-AggregatedWorkers","jobName","*","max(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 50
- json_path: ["metricName", "nodeMemoryAvailable-AggregatedWorkers","jobName","*","avg(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 50
16 changes: 16 additions & 0 deletions tolerancy-configs/worker-tolerancy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- json_path: ["metricName", "nodeCPU-Workers","labels.mode","*","max(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 50
- json_path: ["metricName", "nodeCPU-Workers","labels.mode","*","avg(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 50
- json_path: ["metricName", "nodeMemoryUtilization-Workers","jobName","*","max(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 50
- json_path: ["metricName", "nodeMemoryUtilization-Workers","jobName","*","avg(value)"]
tolerancy: -15
# Maximum percentage of allowed failures
max_failures: 50