Skip to content

Commit

Permalink
Merge pull request #74 from vishnuchalla/quay-qe-testing
Browse files Browse the repository at this point in the history
bug fixes for Quay QE Testing
  • Loading branch information
vishnuchalla authored Nov 15, 2023
2 parents 9d38edd + 5153347 commit 5f88429
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 120 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /tmp
ARG DEBIAN_FRONTEND=noninteractive

# Install necessary libraries for subsequent commands
RUN apt-get update && apt-get install -y podman wget git dumb-init python3.6 python3-distutils python3-pip python3-apt
RUN apt-get update && apt-get install -y podman wget vim git dumb-init python3.6 python3-distutils python3-pip python3-apt

# Install and setup snafu for storing vegeta results into ES
RUN mkdir -p /opt/touchstone/ \
Expand Down
20 changes: 0 additions & 20 deletions config/clair-vegeta.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
{
"elasticsearch": {
"metadata": {
"cpuinfo-metadata": {
"additional_fields": [
"pod_name"
],
"fields": [
"value.Model name",
"value.Architecture",
"value.CPU(s)"
]
},
"meminfo-metadata": {
"additional_fields": [
"pod_name"
],
"fields": [
"value.MemTotal"
]
}
},
"clair-test-index": [
{
"filter": {},
Expand Down
177 changes: 78 additions & 99 deletions config/quay-vegeta.json
Original file line number Diff line number Diff line change
@@ -1,104 +1,83 @@
{
"elasticsearch": {
"metadata": {
"cpuinfo-metadata": {
"additional_fields": [
"pod_name"
],
"fields": [
"value.Model name",
"value.Architecture",
"value.CPU(s)"
]
},
"meminfo-metadata": {
"additional_fields": [
"pod_name"
"elasticsearch": {
"quay-vegeta-results": [
{
"filter": {},
"buckets": [
"targets.keyword"
],
"aggregations": {
"rps": [
"avg"
],
"throughput": [
"avg"
],
"requests": [
"avg"
],
"req_latency": [
"avg"
],
"p95_latency": [
"avg"
],
"p99_latency": [
"avg"
],
"max_latency": [
"avg"
],
"min_latency": [
"avg"
],
"bytes_in": [
"avg"
],
"bytes_out": [
"avg"
],
"status_codes.0": [
"sum"
],
"status_codes.200": [
"sum"
],
"fields": [
"value.MemTotal"
"status_codes.201": [
"sum"
],
"status_codes.204": [
"sum"
],
"status_codes.400": [
"sum"
],
"status_codes.401": [
"sum"
],
"status_codes.403": [
"sum"
],
"status_codes.404": [
"sum"
],
"status_codes.408": [
"sum"
],
"status_codes.500": [
"sum"
],
"status_codes.502": [
"sum"
],
"status_codes.503": [
"sum"
],
"status_codes.504": [
"sum"
]
}
},
"quay-vegeta-results": [
{
"filter": {},
"buckets": [
"targets.keyword"
],
"aggregations": {
"rps": [
"avg"
],
"throughput": [
"avg"
],
"requests": [
"avg"
],
"req_latency": [
"avg"
],
"p95_latency": [
"avg"
],
"p99_latency": [
"avg"
],
"max_latency": [
"avg"
],
"min_latency": [
"avg"
],
"bytes_in": [
"avg"
],
"bytes_out": [
"avg"
],
"status_codes.0": [
"sum"
],
"status_codes.200": [
"sum"
],
"status_codes.201": [
"sum"
],
"status_codes.204": [
"sum"
],
"status_codes.400": [
"sum"
],
"status_codes.401": [
"sum"
],
"status_codes.403": [
"sum"
],
"status_codes.404": [
"sum"
],
"status_codes.408": [
"sum"
],
"status_codes.500": [
"sum"
],
"status_codes.502": [
"sum"
],
"status_codes.503": [
"sum"
],
"status_codes.504": [
"sum"
]
}
}
]
}
}
]
}
}

0 comments on commit 5f88429

Please sign in to comment.