Repository: kinvolk/service-mesh-benchmark Branch: master Commit: 61377cad23e6 Files: 85 Total size: 509.9 KB Directory structure: gitextract_f17hh3bb/ ├── .gitignore ├── LICENSE ├── README.md ├── configs/ │ ├── benchmark/ │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── README.md │ │ ├── templates/ │ │ │ ├── _helpers.tpl │ │ │ ├── psp.yaml │ │ │ ├── servicemonitor.yaml │ │ │ └── wrk2.yaml │ │ └── values.yaml │ ├── bookinfo/ │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── README.md │ │ ├── templates/ │ │ │ ├── deployment.yaml │ │ │ ├── psp.yml │ │ │ ├── service-account.yaml │ │ │ ├── service.yaml │ │ │ └── servicemonitor.yaml │ │ └── values.yaml │ ├── dockerfiles/ │ │ └── jobrunner/ │ │ ├── Dockerfile │ │ └── Makefile │ ├── emojivoto/ │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── README.md │ │ ├── templates/ │ │ │ ├── deployment.yaml │ │ │ ├── psp.yaml │ │ │ ├── service.yml │ │ │ ├── serviceaccount.yml │ │ │ └── servicemonitor.yaml │ │ └── values.yaml │ ├── equinix-metal-cluster.lokocfg │ ├── lokocfg.vars.example │ ├── metrics-merger/ │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── README.md │ │ ├── templates/ │ │ │ └── metrics-merger.yaml │ │ └── values.yaml │ ├── orchestrator/ │ │ ├── .gitignore │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── README.md │ │ ├── cluster-install-configs/ │ │ │ ├── aws/ │ │ │ │ ├── aws.lokocfg │ │ │ │ └── aws.vars.envsubst │ │ │ ├── cleanup-setup.sh │ │ │ ├── cleanup.sh │ │ │ ├── equinix-metal/ │ │ │ │ ├── equinix-metal.lokocfg │ │ │ │ └── equinix-metal.vars.envsubst │ │ │ ├── run-smi-benchmark.sh │ │ │ └── run.sh │ │ ├── templates/ │ │ │ ├── bc-assets-pvc.yaml │ │ │ ├── binaries-pvc.yaml │ │ │ ├── cloud-secrets.yaml │ │ │ ├── cluster-install-configs.yaml │ │ │ ├── debug-jobs.yaml │ │ │ ├── deployment.yaml │ │ │ ├── download-benchmark-containers.yaml │ │ │ ├── download-charts.yaml │ │ │ ├── download-helm.yaml │ │ │ ├── download-kubectl.yaml │ │ │ ├── download-lokoctl.yaml │ │ │ ├── download-terraform.yaml │ │ │ ├── general-config.yaml │ │ │ ├── rbac.yaml │ │ │ ├── serviceaccount.yaml │ │ │ └── ssh-keys.yaml │ │ └── values.yaml │ └── pushgateway/ │ ├── .helmignore │ ├── Chart.yaml │ ├── README.md │ ├── templates/ │ │ ├── contour-configs.yaml │ │ ├── deployment.yaml │ │ ├── service.yaml │ │ └── servicemonitor.yaml │ └── values.yaml ├── dashboards/ │ ├── download_dashboard.sh │ ├── grafana-wrk2-cockpit-orchestrator.json │ ├── grafana-wrk2-cockpit.json │ ├── grafana-wrk2-summary-orchestrator.json │ ├── grafana-wrk2-summary.json │ └── upload_dashboard.sh ├── metrics-merger/ │ ├── Dockerfile │ ├── README.md │ └── merger.py └── scripts/ └── run_benchmarks.sh ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ configs/lokocfg.vars dashboards/.* ================================================ FILE: LICENSE ================================================ Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS ================================================ FILE: README.md ================================================ # Kinvolk service mesh benchmark suite This is v2.0 release of our benchmark automation suite. Please refer to the [1.0 release](tree/release-1.0) for automation discussed in our [2019 blog post](https://kinvolk.io/blog/2019/05/kubernetes-service-mesh-benchmarking/). # Content The suite includes: - orchestrator [tooling](orchestrator) and [Helm charts](configs/orchestrator) for deploying benchmark clusters from an orchestrator cluster - metrics of all benchmark clusters will be scraped and made available in the orchestrator cluster - a stand-alone benchmark cluster [configuration](configs/equinix-metal-cluster.lokocfg) for use with [Lokomotive](https://github.com/kinvolk/lokomotive/releases/) - helm charts for deploying [Emojivoto](configs/emojivoto) to provide application endpoints to run benchmarks against - helm charts for deploying a [wrk2 benchmark job](configs/benchmark) as well as a job to create [summary metrics of multiple benchmark runs](configs/metrics-merger) - Grafana [dashboards](dashboards/) to view benchmark metrics ## Run a benchmark Prerequisites: - cluster is set up - push gateway is installed - grafana dashboards are uploaded to Grafana - applications are installed 1. Start the benchmark: ```shell $ helm install --create-namespace benchmark --namespace benchmark configs/benchmark ``` This will start a 120s, 3000RPS benchmark against 10 emojivoto app instances, with 96 threads / simultaneous connections. See the helm chart [values](configs/benchmark/values.yaml) for all parameters, and use helm command line parameters for different values (eg. `--set wrk2.RPS="500"` to change target RPS). 2. Refer to the "wrk2 cockpit" grafana dashboard for live metrics 3. After the run concluded, run the "metrics-merger" job to update summary metrics: ```shell $ helm install --create-namespace --namespace metrics-merger \ metrics-merger configs/metrics-merger/ ``` This will update the "wrk2 summary" dashboard. ## Run a benchmark suite The benchmark suite script will install applications and service meshes, and run several benchmarks in a loop. Use the supplied `scripts/run_benchmarks.sh` to run a full benchmark suite: 5 runs of 10 minutes each for 500-5000 RPS, in 500 RPS increases, with 128 threads, for "bare metal", linkerd, and istio service meshes, against 60 emojivoto instances. # Creating prerequisites ## Set up a cluster We use [Equinix Metal](https:/metal.equinix.com/) infrastructure to run the benchmark on, AWS S3 for sharing cluster state, and AWS Route53 for the clusters' public DNS entries. You'll need a Equinix Metal account and respective API token as well as an AWS account and accompanying secret key before you can provision a cluster. You'll also need a recent version of [Lokomotive](https://github.com/kinvolk/lokomotive/releases/). 1. Make the authentication tokens available to the `lokoctl` command. You can do this in a couple of ways. For example, exporting your authentication tokens: ``` export PACKET_AUTH_TOKEN="Your Equinix Metal Auth Token" export AWS_ACCESS_KEY_ID="your access key for AWS" export AWS_SECRET_ACCESS_KEY="your secret for the above access key" ``` 2. Create the Route53 hosted zone that will be used by the cluster. And an S3 bucket and Dynamo tables for storing Lokomotive's state. Check out Lokomotive's documentation for [Using S3 as backend](https://kinvolk.io/docs/lokomotive/latest/configuration-reference/backend/s3/) for how to do this. 3. Create `configs/lokocfg.vars` by copying the example file `configs/lokocfg.vars.example`, and editing its contents. ``` metal_project_id = "[ID of the equinix metal project to deploy to]" route53_zone = "[cluster's route53 zone]" state_s3_bucket = "[PRIVATE AWS S3 bucket to share cluster state in]" state_s3_key = "[key in S3 bucket, e.g. cluster name]" state_s3_region = "[AWS S3 region to use]" lock_dynamodb_table = "[DynamoDB table name to use as state lock, e.g. cluster name]" region_private_cidr = "[Your Equinix Metal region's private CIDR]" ssh_pub_keys = [ "[Your SSH pub keys]" ] ``` 4. Review the benchmark cluster config in `configs/equinix-metal-cluster.lokocfg` 5. Provision the cluster by running ``` $ cd configs configs $ lokoctl cluster apply ``` After provisioning concluded, make sure to run ``` $ export KUBECONFIG=assets/cluster-assets/auth/kubeconfig ``` to get `kubectl` access to the cluster. ## Deploy prometheus push gateway The benchmark load generator will push intermediate run-time metrics as well as final latency metrics to a prometheus push gateway. A push gateway is currently not bundled with Lokomotive's prometheus component. Deploy by issuing ``` $ helm install pushgateway --namespace monitoring configs/pushgateway ``` ## Deploy demo apps Demo apps will be used to run the benchmarks against. We'll use [Linkerd's emojivoto](https://github.com/BuoyantIO/emojivoto). We will deploy multiple instances of each app to emulate many applications in a cluster. For the default set-up, which includes 4 application nodes, we recommend deploying 30 "bookinfo" instances, and 40 "emojivoto" instances: ```shell $ cd configs $ for i in $(seq 10) ; do \ helm install --create-namespace emojivoto-$i \ --namespace emojivoto-$i \ configs/emojivoto \ done ``` ### Upload Grafana dashboard 1. Get the Grafana Admin password from the cluster ``` $ kubectl -n monitoring get secret prometheus-operator-grafana -o jsonpath='{.data.admin-password}' | base64 -d && echo ``` 2. Forward the Grafana service port from the cluster ``` $ kubectl -n monitoring port-forward svc/prometheus-operator-grafana 3000:80 & ``` 3. Log in to [Grafana](http://localhost:3000/) and create an API key we'll use to upload the dashboard 4. Upload the dashboard: ``` $ cd dashboard dashboard $ ./upload_dashboard.sh "[API KEY]" grafana-wrk2-cockpit.json localhost:3000 ``` ================================================ FILE: configs/benchmark/.helmignore ================================================ # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *.orig *~ # Various IDEs .project .idea/ *.tmproj .vscode/ ================================================ FILE: configs/benchmark/Chart.yaml ================================================ apiVersion: v2 name: benchmark description: A Helm chart for Kubernetes type: application version: 0.1.0 appVersion: 0.1.0 ================================================ FILE: configs/benchmark/README.md ================================================ # benchmark ## Install ```bash helm install --create-namespace benchmark --namespace benchmark . ``` ## Upgrade ```bash helm upgrade benchmark --namespace benchmark . ``` ## Run a scenario ### Deploy Istio ```bash lokoctl component apply istio-operator ``` ### Deploy target application first ```bash cd configs/emojivoto/ for ((i=0;i<10;i++)) do kubectl create namespace emojivoto-$i kubectl label namespace emojivoto-$i istio-injection=enabled helm install emojivoto-$i --namespace emojivoto-$i . done ``` ### Deploy benchmark application ```bash cd configs/benchmark/ kubectl create ns benchmark kubectl label namespace benchmark istio-injection=enabled helm install benchmark --namespace benchmark . --set wrk2.serviceMesh=istio --set wrk2.app.count=10 ``` ================================================ FILE: configs/benchmark/templates/_helpers.tpl ================================================ {{- define "emojivotoURLs" }} {{- $count := .Values.wrk2.app.count | int }} {{- range $i, $e := until $count }} - "http://web-svc.emojivoto-{{$i}}/leaderboard" - "http://web-svc.emojivoto-{{$i}}/api/vote?choice=:nerd_face:" - "http://web-svc.emojivoto-{{$i}}/leaderboard" - "http://web-svc.emojivoto-{{$i}}/api/vote?choice=:see_no_evil:" - "http://web-svc.emojivoto-{{$i}}/leaderboard" - "http://web-svc.emojivoto-{{$i}}/api/vote?choice=:nerd_face:" - "http://web-svc.emojivoto-{{$i}}/leaderboard" - "http://web-svc.emojivoto-{{$i}}/api/vote?choice=:see_no_evil:" - "http://web-svc.emojivoto-{{$i}}/leaderboard" - "http://web-svc.emojivoto-{{$i}}/api/vote?choice=:nerd_face:" - "http://web-svc.emojivoto-{{$i}}/leaderboard" - "http://web-svc.emojivoto-{{$i}}/api/vote?choice=:see_no_evil:" - "http://web-svc.emojivoto-{{$i}}/leaderboard" - "http://web-svc.emojivoto-{{$i}}/api/vote?choice=:nerd_face:" - "http://web-svc.emojivoto-{{$i}}/leaderboard" - "http://web-svc.emojivoto-{{$i}}/api/vote?choice=:see_no_evil:" - "http://web-svc.emojivoto-{{$i}}/leaderboard" - "http://web-svc.emojivoto-{{$i}}/api/vote?choice=:nerd_face:" - "http://web-svc.emojivoto-{{$i}}/leaderboard" - "http://web-svc.emojivoto-{{$i}}/api/vote?choice=:see_no_evil:" {{- end -}} {{ end }} {{- define "bookinfoURLs" }} {{- $count := .Values.wrk2.app.count | int }} {{- range $i, $e := until $count }} - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/productpage?u=test" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/productpage?u=normal" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/productpage?u=test" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/productpage?u=normal" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/productpage?u=test" - "http://productpage.bookinfo-{{$i}}:9080/" - "http://productpage.bookinfo-{{$i}}:9080/productpage?u=normal" - "http://productpage.bookinfo-{{$i}}:9080/" {{- end -}} {{ end }} ================================================ FILE: configs/benchmark/templates/psp.yaml ================================================ apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: name: benchmark-data-plane-{{.Release.Name}} spec: allowPrivilegeEscalation: false fsGroup: ranges: - max: 65535 min: 1337 rule: MustRunAs readOnlyRootFilesystem: false allowedCapabilities: - NET_ADMIN - NET_RAW - NET_BIND_SERVICE - KILL runAsUser: rule: RunAsAny seLinux: rule: RunAsAny supplementalGroups: ranges: - max: 65535 min: 10001 rule: MustRunAs volumes: - configMap - emptyDir - projected - secret - downwardAPI - persistentVolumeClaim --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: benchmark-psp namespace: {{.Release.Namespace}} rules: - apiGroups: ['policy','extensions'] resources: ['podsecuritypolicies'] verbs: ['use'] resourceNames: ['benchmark-data-plane-{{.Release.Name}}'] --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: benchmark-psp namespace: {{.Release.Namespace}} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: benchmark-psp subjects: - kind: ServiceAccount name: benchmark namespace: {{.Release.Namespace}} --- apiVersion: v1 kind: ServiceAccount metadata: name: benchmark namespace: {{.Release.Namespace}} ================================================ FILE: configs/benchmark/templates/servicemonitor.yaml ================================================ apiVersion: v1 kind: Service metadata: name: wrk2-prometheus namespace: {{.Release.Namespace}} labels: app: wrk2-prometheus spec: ports: - name: istio port: 4191 targetPort: 4191 - name: linkerd port: 15090 targetPort: 15090 selector: app: wrk2-prometheus type: ClusterIP --- apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: labels: servicemesh: linkerd app: wrk2-prometheus release: prometheus-operator name: linkerd-proxies namespace: {{.Release.Namespace}} spec: selector: matchLabels: app: wrk2-prometheus endpoints: - targetPort: 4191 --- apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: labels: servicemesh: istio app: wrk2-prometheus release: prometheus-operator name: istio-proxies namespace: {{.Release.Namespace}} spec: selector: matchLabels: app: wrk2-prometheus endpoints: - targetPort: 15090 path: /stats/prometheus ================================================ FILE: configs/benchmark/templates/wrk2.yaml ================================================ apiVersion: batch/v1 kind: Job metadata: name: wrk2-prometheus namespace: {{.Release.Namespace}} labels: jobgroup: wrk2-prometheus spec: template: metadata: name: wrk2-prometheus annotations: linkerd.io/inject: enabled labels: jobgroup: wrk2-prometheus app: wrk2-prometheus custom-affinity: load-generator-node spec: nodeSelector: role: benchmark restartPolicy: Never volumes: - name: tempfs emptyDir: medium: Memory shareProcessNamespace: true serviceAccountName: benchmark containers: - name: wrk2-prometheus image: {{ .Values.wrk2.appImage }} imagePullPolicy: Always volumeMounts: - name: tempfs mountPath: "/tmpfs" args: - -p {{- if empty .Values.wrk2.serviceMesh }} - "http://pushgateway.monitoring:9091/metrics/job/bare-metal/instance/{{.Values.wrk2.app.name}}/run/{{ now | date "2006-01-02_15:04:05" }}" {{- else if eq .Values.wrk2.serviceMesh "linkerd" }} - "http://pushgateway.monitoring:9091/metrics/job/svcmesh-linkerd/instance/{{.Values.wrk2.app.name}}/run/{{ now | date "2006-01-02_15:04:05" }}" {{- else if eq .Values.wrk2.serviceMesh "istio" }} - "http://pushgateway.monitoring:9091/metrics/job/svcmesh-istio/instance/{{.Values.wrk2.app.name}}/run/{{ now | date "2006-01-02_15:04:05" }}" {{- else }} {{ fail "Please provide a valid 'wrk2.serviceMesh' name, supported names are: 'linkerd', 'istio'. For no service mesh skip the variable." }} {{- end }} - -c - "{{.Values.wrk2.connections}}" - -d - "{{.Values.wrk2.duration}}" - -r - "{{.Values.wrk2.RPS}}" - -i - "{{.Values.wrk2.initDelay}}" {{- if eq .Values.wrk2.app.name "emojivoto" }} {{- template "emojivotoURLs" . }} {{- else if eq .Values.wrk2.app.name "bookinfo" }} {{- template "bookinfoURLs" . }} {{- end }} ================================================ FILE: configs/benchmark/values.yaml ================================================ wrk2: duration: 120 connections: 96 RPS: 3000 initDelay: 0 serviceMesh: "" app: name: emojivoto count: "10" appImage: quay.io/kinvolk/wrk2-prometheus ================================================ FILE: configs/bookinfo/.helmignore ================================================ # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *.orig *~ # Various IDEs .project .idea/ *.tmproj .vscode/ ================================================ FILE: configs/bookinfo/Chart.yaml ================================================ apiVersion: v2 name: bookinfo description: A Helm chart for Kubernetes # A chart can be either an 'application' or a 'library' chart. # # Application charts are a collection of templates that can be packaged into versioned archives # to be deployed. # # Library charts provide useful utilities or functions for the chart developer. They're included as # a dependency of application charts to inject those utilities and functions into the rendering # pipeline. Library charts do not define any templates and therefore cannot be deployed. type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) version: 0.1.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. appVersion: 0.1.0 ================================================ FILE: configs/bookinfo/README.md ================================================ # bookinfo app ## Install ```bash helm install --create-namespace bookinfo-1 --namespace bookinfo-1 . ``` ## Upgrade ```bash helm upgrade bookinfo-1 --namespace bookinfo-1 . ``` ================================================ FILE: configs/bookinfo/templates/deployment.yaml ================================================ apiVersion: apps/v1 kind: Deployment metadata: name: details-v1 namespace: {{.Release.Namespace}} labels: app: details version: v1 spec: replicas: 1 selector: matchLabels: app: details version: v1 template: metadata: annotations: linkerd.io/inject: enabled labels: app: details version: v1 spec: nodeSelector: role: workload securityContext: runAsNonRoot: true runAsUser: 65534 runAsGroup: 65534 serviceAccountName: bookinfo-details containers: - name: details image: docker.io/istio/examples-bookinfo-details-v1:1.15.1 imagePullPolicy: IfNotPresent ports: - containerPort: 9080 --- apiVersion: apps/v1 kind: Deployment metadata: name: ratings-v1 namespace: {{.Release.Namespace}} labels: app: ratings version: v1 spec: replicas: 1 selector: matchLabels: app: ratings version: v1 template: metadata: annotations: linkerd.io/inject: enabled labels: app: ratings version: v1 spec: nodeSelector: role: workload securityContext: runAsNonRoot: true runAsUser: 65534 runAsGroup: 65534 serviceAccountName: bookinfo-ratings containers: - name: ratings image: docker.io/istio/examples-bookinfo-ratings-v1:1.15.1 imagePullPolicy: IfNotPresent ports: - containerPort: 9080 --- apiVersion: apps/v1 kind: Deployment metadata: name: reviews-v1 namespace: {{.Release.Namespace}} labels: app: reviews version: v1 spec: replicas: 1 selector: matchLabels: app: reviews version: v1 template: metadata: annotations: linkerd.io/inject: enabled labels: app: reviews version: v1 spec: nodeSelector: role: workload serviceAccountName: bookinfo-reviews containers: - name: reviews image: docker.io/istio/examples-bookinfo-reviews-v1:1.15.1 imagePullPolicy: IfNotPresent env: - name: LOG_DIR value: "/tmp/logs" ports: - containerPort: 9080 volumeMounts: - name: tmp mountPath: /tmp - name: wlp-output mountPath: /opt/ibm/wlp/output volumes: - name: wlp-output emptyDir: {} - name: tmp emptyDir: {} --- apiVersion: apps/v1 kind: Deployment metadata: name: reviews-v2 namespace: {{.Release.Namespace}} labels: app: reviews version: v2 spec: replicas: 1 selector: matchLabels: app: reviews version: v2 template: metadata: annotations: linkerd.io/inject: enabled labels: app: reviews version: v2 spec: nodeSelector: role: workload serviceAccountName: bookinfo-reviews containers: - name: reviews image: docker.io/istio/examples-bookinfo-reviews-v2:1.15.1 imagePullPolicy: IfNotPresent env: - name: LOG_DIR value: "/tmp/logs" ports: - containerPort: 9080 volumeMounts: - name: tmp mountPath: /tmp - name: wlp-output mountPath: /opt/ibm/wlp/output volumes: - name: wlp-output emptyDir: {} - name: tmp emptyDir: {} --- apiVersion: apps/v1 kind: Deployment metadata: name: reviews-v3 namespace: {{.Release.Namespace}} labels: app: reviews version: v3 spec: replicas: 1 selector: matchLabels: app: reviews version: v3 template: metadata: annotations: linkerd.io/inject: enabled labels: app: reviews version: v3 spec: nodeSelector: role: workload serviceAccountName: bookinfo-reviews containers: - name: reviews image: docker.io/istio/examples-bookinfo-reviews-v3:1.15.1 imagePullPolicy: IfNotPresent env: - name: LOG_DIR value: "/tmp/logs" ports: - containerPort: 9080 volumeMounts: - name: tmp mountPath: /tmp - name: wlp-output mountPath: /opt/ibm/wlp/output volumes: - name: wlp-output emptyDir: {} - name: tmp emptyDir: {} --- apiVersion: apps/v1 kind: Deployment metadata: name: productpage-v1 namespace: {{.Release.Namespace}} labels: app: productpage version: v1 spec: replicas: 1 selector: matchLabels: app: productpage version: v1 template: metadata: annotations: linkerd.io/inject: enabled labels: app: productpage version: v1 spec: nodeSelector: role: workload serviceAccountName: bookinfo-productpage containers: - name: productpage image: docker.io/istio/examples-bookinfo-productpage-v1:1.15.1 imagePullPolicy: IfNotPresent ports: - containerPort: 9080 volumeMounts: - name: tmp mountPath: /tmp volumes: - name: tmp emptyDir: {} ================================================ FILE: configs/bookinfo/templates/psp.yml ================================================ apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: name: bookinfo-data-plane-{{.Release.Name}} spec: allowPrivilegeEscalation: false fsGroup: ranges: - max: 65535 min: 1337 rule: MustRunAs readOnlyRootFilesystem: false allowedCapabilities: - NET_ADMIN - NET_RAW - NET_BIND_SERVICE requiredDropCapabilities: - ALL runAsUser: rule: RunAsAny seLinux: rule: RunAsAny supplementalGroups: ranges: - max: 65535 min: 10001 rule: MustRunAs volumes: - configMap - emptyDir - projected - secret - downwardAPI - persistentVolumeClaim --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: bookinfo-psp namespace: {{.Release.Namespace}} rules: - apiGroups: ['policy','extensions'] resources: ['podsecuritypolicies'] verbs: ['use'] resourceNames: ['bookinfo-data-plane-{{.Release.Name}}'] --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: bookinfo-psp namespace: {{.Release.Namespace}} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: bookinfo-psp subjects: - kind: ServiceAccount name: default namespace: {{.Release.Namespace}} - kind: ServiceAccount name: bookinfo-details namespace: {{.Release.Namespace}} - kind: ServiceAccount name: bookinfo-productpage namespace: {{.Release.Namespace}} - kind: ServiceAccount name: bookinfo-ratings namespace: {{.Release.Namespace}} - kind: ServiceAccount name: bookinfo-reviews namespace: {{.Release.Namespace}} ================================================ FILE: configs/bookinfo/templates/service-account.yaml ================================================ apiVersion: v1 kind: ServiceAccount metadata: name: bookinfo-details namespace: {{.Release.Namespace}} labels: account: details --- apiVersion: v1 kind: ServiceAccount metadata: name: bookinfo-ratings namespace: {{.Release.Namespace}} labels: account: ratings --- apiVersion: v1 kind: ServiceAccount metadata: name: bookinfo-reviews labels: account: reviews --- apiVersion: v1 kind: ServiceAccount metadata: name: bookinfo-productpage namespace: {{.Release.Namespace}} labels: account: productpage ================================================ FILE: configs/bookinfo/templates/service.yaml ================================================ apiVersion: v1 kind: Service metadata: name: details namespace: {{.Release.Namespace}} labels: app: details service: details app: bookinfo spec: ports: - port: 9080 name: http selector: app: details --- apiVersion: v1 kind: Service metadata: name: ratings namespace: {{.Release.Namespace}} labels: app: ratings service: ratings app: bookinfo spec: ports: - port: 9080 name: http selector: app: ratings --- apiVersion: v1 kind: Service metadata: name: reviews namespace: {{.Release.Namespace}} labels: app: reviews service: reviews app: bookinfo spec: ports: - port: 9080 name: http selector: app: reviews --- apiVersion: v1 kind: Service metadata: name: productpage namespace: {{.Release.Namespace}} labels: app: productpage service: productpage app: bookinfo spec: ports: - port: 9080 name: http selector: app: productpage ================================================ FILE: configs/bookinfo/templates/servicemonitor.yaml ================================================ apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: labels: servicemesh: linkerd app: bookinfo release: prometheus-operator name: linkerd-proxies namespace: {{.Release.Namespace}} spec: selector: matchLabels: app: bookinfo endpoints: - targetPort: 4191 --- apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: labels: servicemesh: istio app: bookinfo release: prometheus-operator name: istio-proxies namespace: {{.Release.Namespace}} spec: selector: matchLabels: app: bookinfo endpoints: - targetPort: 15090 path: /stats/prometheus ================================================ FILE: configs/bookinfo/values.yaml ================================================ ================================================ FILE: configs/dockerfiles/jobrunner/Dockerfile ================================================ FROM fedora:32 RUN dnf install -y gettext openssh-clients \ && dnf clean all ================================================ FILE: configs/dockerfiles/jobrunner/Makefile ================================================ build-image: docker build -t quay.io/kinvolk/smb-jobrunner . push-image: build-image docker push quay.io/kinvolk/smb-jobrunner ================================================ FILE: configs/emojivoto/.helmignore ================================================ # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *.orig *~ # Various IDEs .project .idea/ *.tmproj .vscode/ ================================================ FILE: configs/emojivoto/Chart.yaml ================================================ apiVersion: v2 name: emojivoto description: A Helm chart for Kubernetes # A chart can be either an 'application' or a 'library' chart. # # Application charts are a collection of templates that can be packaged into versioned archives # to be deployed. # # Library charts provide useful utilities or functions for the chart developer. They're included as # a dependency of application charts to inject those utilities and functions into the rendering # pipeline. Library charts do not define any templates and therefore cannot be deployed. type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) version: 0.1.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. appVersion: 0.1.0 ================================================ FILE: configs/emojivoto/README.md ================================================ # Emojivoto app ## Install ``` helm install --create-namespace emojivoto-1 --namespace emojivoto-1 . ``` ## Upgrade ``` helm upgrade emojivoto-1 --namespace emojivoto-1 . ``` ================================================ FILE: configs/emojivoto/templates/deployment.yaml ================================================ apiVersion: apps/v1 kind: Deployment metadata: labels: app.kubernetes.io/name: emoji app.kubernetes.io/part-of: emojivoto app.kubernetes.io/version: v10 name: emoji namespace: {{.Release.Namespace}} spec: replicas: 1 selector: matchLabels: app: emoji-svc template: metadata: annotations: linkerd.io/inject: enabled labels: app: emoji-svc spec: nodeSelector: role: workload securityContext: runAsNonRoot: true runAsUser: 65534 runAsGroup: 65534 containers: - env: - name: GRPC_PORT value: "8080" - name: PROM_PORT value: "8801" image: buoyantio/emojivoto-emoji-svc:v10 name: emoji-svc ports: - containerPort: 8080 name: grpc - containerPort: 8801 name: prom resources: requests: cpu: 100m serviceAccountName: emoji --- apiVersion: apps/v1 kind: Deployment metadata: labels: app.kubernetes.io/name: voting app.kubernetes.io/part-of: emojivoto app.kubernetes.io/version: v10 name: voting namespace: {{.Release.Namespace}} spec: replicas: 1 selector: matchLabels: app: voting-svc template: metadata: annotations: linkerd.io/inject: enabled labels: app: voting-svc spec: nodeSelector: role: workload securityContext: runAsNonRoot: true runAsUser: 65534 runAsGroup: 65534 containers: - env: - name: GRPC_PORT value: "8080" - name: PROM_PORT value: "8801" image: buoyantio/emojivoto-voting-svc:v10 name: voting-svc ports: - containerPort: 8080 name: grpc - containerPort: 8801 name: prom resources: requests: cpu: 100m serviceAccountName: voting --- apiVersion: apps/v1 kind: Deployment metadata: labels: app.kubernetes.io/name: web app.kubernetes.io/part-of: emojivoto app.kubernetes.io/version: v10 name: web namespace: {{.Release.Namespace}} spec: replicas: 1 selector: matchLabels: app: web-svc template: metadata: annotations: linkerd.io/inject: enabled labels: app: web-svc spec: nodeSelector: role: workload securityContext: runAsNonRoot: true runAsUser: 65534 runAsGroup: 65534 containers: - env: - name: WEB_PORT value: "8080" - name: EMOJISVC_HOST value: emoji-svc.{{.Release.Namespace}}:8080 - name: VOTINGSVC_HOST value: voting-svc.{{.Release.Namespace}}:8080 - name: INDEX_BUNDLE value: dist/index_bundle.js image: buoyantio/emojivoto-web:v10 name: web-svc ports: - containerPort: 8080 name: http resources: requests: cpu: 100m serviceAccountName: web ================================================ FILE: configs/emojivoto/templates/psp.yaml ================================================ apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: name: emojivoto-data-plane-{{.Release.Name}} spec: allowPrivilegeEscalation: false fsGroup: ranges: - max: 65535 min: 1337 rule: MustRunAs readOnlyRootFilesystem: false allowedCapabilities: - NET_ADMIN - NET_RAW - NET_BIND_SERVICE requiredDropCapabilities: - ALL runAsUser: rule: RunAsAny seLinux: rule: RunAsAny supplementalGroups: ranges: - max: 65535 min: 10001 rule: MustRunAs volumes: - configMap - emptyDir - projected - secret - downwardAPI - persistentVolumeClaim --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: emojivoto-psp namespace: {{.Release.Namespace}} rules: - apiGroups: ['policy','extensions'] resources: ['podsecuritypolicies'] verbs: ['use'] resourceNames: ['emojivoto-data-plane-{{.Release.Name}}'] --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: emojivoto-psp namespace: {{.Release.Namespace}} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: emojivoto-psp subjects: - kind: ServiceAccount name: default namespace: {{.Release.Namespace}} - kind: ServiceAccount name: emoji namespace: {{.Release.Namespace}} - kind: ServiceAccount name: voting namespace: {{.Release.Namespace}} - kind: ServiceAccount name: web namespace: {{.Release.Namespace}} ================================================ FILE: configs/emojivoto/templates/service.yml ================================================ apiVersion: v1 kind: Service metadata: name: emoji-svc namespace: {{.Release.Namespace}} labels: app: emojivoto spec: ports: - name: grpc port: 8080 targetPort: 8080 - name: prom port: 8801 targetPort: 8801 selector: app: emoji-svc --- apiVersion: v1 kind: Service metadata: name: voting-svc namespace: {{.Release.Namespace}} labels: app: emojivoto spec: ports: - name: grpc port: 8080 targetPort: 8080 - name: prom port: 8801 targetPort: 8801 selector: app: voting-svc --- apiVersion: v1 kind: Service metadata: name: web-svc namespace: {{.Release.Namespace}} labels: app: emojivoto spec: ports: - name: http port: 80 targetPort: 8080 selector: app: web-svc type: ClusterIP ================================================ FILE: configs/emojivoto/templates/serviceaccount.yml ================================================ apiVersion: v1 kind: ServiceAccount metadata: name: emoji namespace: {{.Release.Namespace}} --- apiVersion: v1 kind: ServiceAccount metadata: name: voting namespace: {{.Release.Namespace}} --- apiVersion: v1 kind: ServiceAccount metadata: name: web namespace: {{.Release.Namespace}} ================================================ FILE: configs/emojivoto/templates/servicemonitor.yaml ================================================ apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: labels: servicemesh: linkerd app: emojivoto release: prometheus-operator name: linkerd-proxies namespace: {{.Release.Namespace}} spec: selector: matchLabels: app: emojivoto endpoints: - targetPort: 4191 --- apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: labels: servicemesh: istio app: emojivoto release: prometheus-operator name: istio-proxies namespace: {{.Release.Namespace}} spec: selector: matchLabels: app: emojivoto endpoints: - targetPort: 15090 path: /stats/prometheus ================================================ FILE: configs/emojivoto/values.yaml ================================================ ================================================ FILE: configs/equinix-metal-cluster.lokocfg ================================================ # Variables variable "metal_project_id" {} variable "route53_zone" {} variable "state_s3_bucket" {} variable "state_s3_key" {} variable "state_s3_region" {} variable "lock_dynamodb_table" {} variable "ssh_pub_keys" {} variable "region_private_cidr" {} # Cluster config backend "s3" { bucket = var.state_s3_bucket key = var.state_s3_key region = var.state_s3_region dynamodb_table = var.lock_dynamodb_table } cluster "packet" { project_id = var.metal_project_id cluster_name = "test-wrk2" facility = "dfw2" # no t1.small in DFW2 controller_type = "x1.small.x86" asset_dir = "./assets" controller_count = 1 ssh_pubkeys = var.ssh_pub_keys management_cidrs = ["0.0.0.0/0"] node_private_cidr = var.region_private_cidr dns { zone = var.route53_zone provider = "route53" } worker_pool "workload" { count = 6 node_type = "m2.xlarge.x86" labels = { "role" = "workload" } } # Reserved for the load generator worker_pool "loadgenerator" { count = 1 node_type = "m2.xlarge.x86" labels = { "role" = "benchmark" } } } # Component config component "openebs-operator" {} component "openebs-storage-class" { storage-class "openebs-test-sc" { replica_count = 1 default = true } } component "prometheus-operator" { prometheus { watch_labeled_service_monitors = "false" watch_labeled_prometheus_rules = "false" } namespace = "monitoring" } # uncomment, then `lokoctl component apply ` to install # #component "experimental-istio-operator" { # enable_monitoring = true #} # #component "experimental-linkerd" { # enable_monitoring = true #} ================================================ FILE: configs/lokocfg.vars.example ================================================ metal_project_id = "[ID of the equinix metal project to deploy to]" route53_zone = "[cluster's route53 zone. Needs to already exist]" state_s3_bucket = "[PRIVATE AWS S3 bucket to share cluster state in. Needs to already exist]" state_s3_key = "[key in S3 bucket, e.g. cluster name]" state_s3_region = "[AWS S3 region to use]" lock_dynamodb_table = "[DynamoDB table name to use as state lock, e.g. cluster name. Needs to already exist]" region_private_cidr = "[Your Equinix Metal region's private CIDR]" ssh_pub_keys = [ "[Your SSH pub keys]" ] ================================================ FILE: configs/metrics-merger/.helmignore ================================================ # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *.orig *~ # Various IDEs .project .idea/ *.tmproj .vscode/ ================================================ FILE: configs/metrics-merger/Chart.yaml ================================================ apiVersion: v2 name: metrics-merger description: A Helm chart for Kubernetes type: application version: 0.1.0 appVersion: 0.1.0 ================================================ FILE: configs/metrics-merger/README.md ================================================ # metrics merger ## Install ``` helm install metrics-merger --create-namespace --namespace metrics-merger . ``` ## Updgrade ``` helm upgrade metrics-merger --namespace metrics-merger . ``` ## Uninstall ``` helm uninstall metrics-merger --namespace metrics-merger ``` ================================================ FILE: configs/metrics-merger/templates/metrics-merger.yaml ================================================ apiVersion: batch/v1 kind: Job metadata: name: wrk2-metrics-merger labels: jobgroup: wrk2-metrics-merger namespace: {{.Release.Namespace}} spec: template: metadata: name: wrk2-metrics-merger labels: jobgroup: wrk2-metrics-merger app: wrk2-metrics-merger custom-affinity: load-generator-node spec: restartPolicy: Never securityContext: runAsUser: 10001 nodeSelector: role: benchmark containers: - name: metrics-merger image: quay.io/kinvolk/svcmesh-bench-results-merger imagePullPolicy: Always env: - name: PROMETHEUS_URL value: {{ .Values.prometheusServiceUrl }} args: - {{ .Values.prometheusServiceUrl }} - {{ .Values.pushgatewayURL }} ================================================ FILE: configs/metrics-merger/values.yaml ================================================ prometheusServiceUrl: "http://prometheus-operator-kube-p-prometheus.monitoring:9090" pushgatewayURL: "pushgateway.monitoring:9091" ================================================ FILE: configs/orchestrator/.gitignore ================================================ values-real.yaml ================================================ FILE: configs/orchestrator/.helmignore ================================================ # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *.orig *~ # Various IDEs .project .idea/ *.tmproj .vscode/ ================================================ FILE: configs/orchestrator/Chart.yaml ================================================ apiVersion: v2 name: orchestrator description: A Helm chart for Kubernetes # A chart can be either an 'application' or a 'library' chart. # # Application charts are a collection of templates that can be packaged into versioned archives # to be deployed. # # Library charts provide useful utilities or functions for the chart developer. They're included as # a dependency of application charts to inject those utilities and functions into the rendering # pipeline. Library charts do not define any templates and therefore cannot be deployed. type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) version: 0.1.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. appVersion: 0.1.0 ================================================ FILE: configs/orchestrator/README.md ================================================ # Orchestrator This chart is used to deploy the orchestrator application which can be used to deploy benchmarking clusters, run benchmarks on them, etc. This chart can be deployed on any Lokomotive cluster regardless or the region, the underlying architecture or cloud provider. ## General Usage ### Generate Ephemeral SSH Key Pair Generate SSH key pair, which will be used to install the benchmarking clusters: ```bash export KEY_PATH="${HOME}/.ssh/id_rsa.bc-${RANDOM}" ssh-keygen -t rsa -b 8192 -f "${KEY_PATH}" -N "" -C "" ``` ### Install Run the following command to install the helm chart: ```bash helm install \ --values=values-real.yaml \ --set-file runScript=run.sh \ --set-file sshKey.public="${KEY_PATH}".pub \ --set-file sshKey.private="${KEY_PATH}" \ --create-namespace \ --namespace orchestrator \ orchestrator . ``` Copy the the [values.yaml](values.yaml) file and make changes as necessary and rename it to `values-real.yaml`. Update the path of the SSH keys as required. ### Upgrade ```bash helm upgrade \ --values=values-real.yaml \ --set-file runScript=run.sh \ --set-file sshKey.public="${KEY_PATH}".pub \ --set-file sshKey.private="${KEY_PATH}" \ --namespace orchestrator \ orchestrator . ``` ### Delete ``` helm uninstall orchestrator kubectl delete ns orchestrator ``` ## Writing a script - Write a script that deploys the cluster and installs the components on Lokomotive cluster. - Followed by cluster and component installation design your script to deploy target benchmarking applications. - Start off using the scaffold provided in [run.sh](cluster-install-configs/run.sh). - Take inspiration from the existing [run-smi-benchmark.sh](cluster-install-configs/run-smi-benchmark.sh) ## Clean up benchmarking clusters Exec into the debug pod: ```bash kubectl -n orchestrator exec -it $(kubectl -n orchestrator get pod -l app=debug-jobs -o name) bash ``` Run the clean up script: ```bash bash /scripts/cleanup.sh ``` ## Debug failed cluster Exec into the debug pod: ```bash kubectl -n orchestrator exec -it $(kubectl -n orchestrator get pod -l app=debug-jobs -o name) bash ``` You can find all the cluster assets and related config in the `/clusters` directory. You can use these assets to interact with the cluster. ================================================ FILE: configs/orchestrator/cluster-install-configs/aws/aws.lokocfg ================================================ variable "cluster_name" {} variable "ssh_pubkey" {} variable "route53_zone" {} variable "route53_zone_id" {} variable "aws_access_key_id" {} variable "aws_secret_access_key" {} variable "region" {} variable "benchmark_worker_count" {} variable "benchmark_instance_type" {} variable "benchmark_os_arch" {} variable "benchmark_os_channel" {} cluster "aws" { asset_dir = "./assets" cluster_name = var.cluster_name controller_count = 1 controller_type = "t3.xlarge" dns_zone = var.route53_zone dns_zone_id = var.route53_zone_id region = var.region enable_csi = true ssh_pubkeys = [var.ssh_pubkey] # ignore_x509_cn_check = true worker_pool "general" { count = 2 instance_type = "t3.xlarge" ssh_pubkeys = [var.ssh_pubkey] } worker_pool "benchmark" { count = var.benchmark_worker_count instance_type = var.benchmark_instance_type os_arch = var.benchmark_os_arch os_channel = var.benchmark_os_channel ssh_pubkeys = [var.ssh_pubkey] taints = { "role" = "benchmark:NoSchedule" } labels = { "role" = "benchmark" } # TODO: remove this once https://github.com/kinvolk/lokomotive/issues/839 is fixed. lb_http_port = 8080 lb_https_port = 8443 } } component "aws-ebs-csi-driver" { enable_default_storage_class = true enable_volume_scheduling = true enable_volume_resizing = true enable_volume_snapshot = true node_affinity { key = "beta.kubernetes.io/arch" operator = "In" values = ["amd64"] } } component "prometheus-operator" { prometheus { watch_labeled_service_monitors = "false" watch_labeled_prometheus_rules = "false" storage_size = "100Gi" ingress { # OC prometheus should be enabled to scrape this URL. host = "prometheus.${var.cluster_name}.${var.route53_zone}" } external_labels = { "cluster" = var.cluster_name } node_selector = { "beta.kubernetes.io/arch" = "amd64" } } alertmanager_node_selector = { "beta.kubernetes.io/arch" = "amd64" } } component "contour" { enable_monitoring = true node_affinity { key = "beta.kubernetes.io/arch" operator = "In" values = ["amd64"] } } ================================================ FILE: configs/orchestrator/cluster-install-configs/aws/aws.vars.envsubst ================================================ # Cluster specific config. cluster_name = "$CLUSTER_NAME" region = "$REGION" # Same across all clusters. ssh_pubkey = "$SSH_PUB_KEY" route53_zone = "$AWS_ROUTE53_ZONE" route53_zone_id = "$AWS_ROUTE53_ZONE_ID" aws_access_key_id = "$AWS_ACCESS_KEY_ID" aws_secret_access_key = "$AWS_SECRET_ACCESS_KEY" benchmark_worker_count = $BENCHMARK_WORKER_COUNT benchmark_instance_type = "$BENCHMARK_INSTANCE_TYPE" benchmark_os_arch = "$BENCHMARK_OS_ARCH" benchmark_os_channel = "$BENCHMARK_OS_CHANNEL" ================================================ FILE: configs/orchestrator/cluster-install-configs/cleanup-setup.sh ================================================ #!/bin/bash set -euo pipefail function log() { local message="${1:-""}" echo -e "\\033[1;37m${message}\\033[0m" } function err() { local message="${1:-""}" echo -e >&2 "\\033[1;31m${message}\\033[0m" } binaries='terraform helm kubectl lokoctl' for b in $binaries do while ! ls "/binaries/${b}" >/dev/null 2>&1 do log "Waiting for ${b} to be available..." sleep 1 done log "Copying /binaries/${b} to /usr/local/bin/" /bin/cp "/binaries/${b}" /usr/local/bin/ done echo log "Now exec into this pod and run" log "bash /scripts/cleanup.sh" sleep infinity ================================================ FILE: configs/orchestrator/cluster-install-configs/cleanup.sh ================================================ #!/bin/bash set -euo pipefail function log() { local message="${1:-""}" echo -e "\\033[1;37m${message}\\033[0m" } function err() { local message="${1:-""}" echo -e >&2 "\\033[1;31m${message}\\033[0m" } for d in $(ls /clusters) do log "Into dir: /clusters/$d" cd /clusters/$d lokoctl component delete prometheus-operator --confirm log "Wait for the BC Prometheus related entries to be cleaned up..." sleep 90 lokoctl component delete external-dns --confirm lokoctl cluster destroy --confirm -v done ================================================ FILE: configs/orchestrator/cluster-install-configs/equinix-metal/equinix-metal.lokocfg ================================================ variable "cluster_name" {} variable "facility" {} variable "ssh_pubkey" {} variable "metal_project_id" {} variable "public_eip" {} variable "route53_zone" {} variable "route53_zone_id" {} variable "aws_access_key_id" {} variable "aws_secret_access_key" {} cluster "packet" { project_id = var.metal_project_id cluster_name = var.cluster_name facility = var.facility ssh_pubkeys = [ var.ssh_pubkey ] controller_type = "t1.small.x86" asset_dir = "./assets" controller_count = 1 management_cidrs = ["0.0.0.0/0"] node_private_cidr = "10.0.0.0/8" ignore_x509_cn_check = true dns { zone = var.route53_zone provider = "route53" } worker_pool "workload" { count = 6 node_type = "m2.xlarge.x86" labels = { "role" = "workload" } } worker_pool "benchmark" { count = 1 node_type = "m2.xlarge.x86" labels = { "role" = "benchmark" } } } component "openebs-operator" {} component "openebs-storage-class" { storage-class "openebs-test-sc" { replica_count = 1 default = true } } component "prometheus-operator" { prometheus { watch_labeled_service_monitors = "false" watch_labeled_prometheus_rules = "false" storage_size = "100Gi" ingress { host = "prometheus.${var.cluster_name}.${var.route53_zone}" } external_labels = { "cluster" = var.cluster_name } } } component "metrics-server" {} component "experimental-istio-operator" { enable_monitoring = true } component "experimental-linkerd" { enable_monitoring = true } component "contour" { enable_monitoring = true } component "metallb" { address_pools = { default = [var.public_eip] } service_monitor = true } component "cert-manager" { namespace = "cert-manager" email = "suraj@kinvolk.io" webhooks = "true" service_monitor = "true" } component "external-dns" { policy = "sync" owner_id = var.cluster_name aws { zone_id = var.route53_zone_id aws_access_key_id = var.aws_access_key_id aws_secret_access_key = var.aws_secret_access_key } service_monitor = true } ================================================ FILE: configs/orchestrator/cluster-install-configs/equinix-metal/equinix-metal.vars.envsubst ================================================ # Randomly generated cluster_name = "$CLUSTER_NAME" # Change per facility facility = "$REGION" public_eip = "$PUBLIC_EIP" # Fixed across deployments ssh_pubkey = "$SSH_PUB_KEY" metal_project_id = "$EQUINIX_METAL_PROJECT_ID" route53_zone = "$AWS_ROUTE53_ZONE" route53_zone_id = "$AWS_ROUTE53_ZONE_ID" aws_access_key_id = "$AWS_ACCESS_KEY_ID" aws_secret_access_key = "$AWS_SECRET_ACCESS_KEY" ================================================ FILE: configs/orchestrator/cluster-install-configs/run-smi-benchmark.sh ================================================ #!/bin/bash set -euo pipefail function log() { local message="${1:-""}" echo -e "\\033[1;37m${message}\\033[0m" } function err() { local message="${1:-""}" echo -e >&2 "\\033[1;31m${message}\\033[0m" } function verify_binaries_download() { binaries='terraform helm kubectl lokoctl' for b in $binaries do while ! ls "/binaries/${b}" >/dev/null 2>&1 do log "Waiting for ${b} to be available..." sleep 1 done log "Copying /binaries/${b} to /usr/local/bin/" /bin/cp "/binaries/${b}" /usr/local/bin/ done } verify_binaries_download log "Cluster name: ${CLUSTER_NAME}" cd /clusters mkdir -p "${CLUSTER_NAME}" && cd "${CLUSTER_NAME}" cp /scripts/"${CLOUD}".lokocfg . cp /scripts/"${CLOUD}".vars.envsubst . public_key=$(cat ~/.ssh/id_rsa.pub) export SSH_PUB_KEY=${public_key} envsubst < "${CLOUD}".vars.envsubst > lokocfg.vars eval $(ssh-agent) ssh-add ~/.ssh/id_rsa ssh-add -L lokoctl cluster apply -v --confirm --skip-components mkdir -p ~/.kube cp ./assets/cluster-assets/auth/kubeconfig ~/.kube/config n=0 until [ "$n" -ge 10 ] do lokoctl component apply openebs-operator openebs-storage-class prometheus-operator metrics-server contour metallb cert-manager external-dns && break n=$((n+1)) sleep 5 log "retry #${n}" log "retrying 'lokoctl component apply' again..." done # Make an entry in the OC about this BC # This uses service account credentials to talk to apiserver kubectl -n monitoring patch prometheus prometheus-operator-kube-p-prometheus --type merge --patch '{"spec":{"additionalScrapeConfigs":{"name":"scrape-config","key":"scrape.yaml"}}}' if ! kubectl -n monitoring get secret scrape-config; then err "could not find secret 'scrape-config' in 'monitoring' namespace on orchestrating cluster" cat > /tmp/scrape.yaml < /tmp/scrape.yaml echo " - 'prometheus.$CLUSTER_NAME.dev.lokomotive-k8s.net'" | tee -a /tmp/scrape.yaml kubectl -n monitoring create secret generic scrape-config --from-file=/tmp/scrape.yaml --dry-run=client -o yaml | kubectl -n monitoring apply -f - log "updated scrape config" cat /tmp/scrape.yaml # Wait for sometime because prometheus can take some time to start scraping log "waiting for promtheus to apply above setting..." sleep 180 cp -r /binaries/service-mesh-benchmark . # Number of workload application deployments to do. workload_num=60 function install_emojivoto() { local mesh="${1}" cd /clusters/"${CLUSTER_NAME}"/service-mesh-benchmark/configs/emojivoto/ local i for ((i = 0; i < workload_num; i++)) do { kubectl create namespace "emojivoto-${i}" [ "$mesh" == "istio" ] && \ kubectl label namespace "emojivoto-${i}" istio-injection=enabled helm install --timeout=10m --create-namespace "emojivoto-${i}" \ --namespace "emojivoto-${i}" --wait \ /clusters/"${CLUSTER_NAME}"/service-mesh-benchmark/configs/emojivoto/ || true # Retry pod injection only if the mesh is involved. if [ "$mesh" != "bare-metal" ] then # Run until injection of proxy happens while true do log "Checking if the proxy is injected in namespace emojivoto-${i}" # If there is any pod with READY column as either 0/2, 1/2 or 2/2 then this means that the # pods were injected with proxy. output=$(kubectl get pods -n "emojivoto-${i}" | awk '{print $2}' | grep 2) || true if [ -z "${output}" ] then kubectl delete pods --all -n "emojivoto-${i}" sleep 10 else break fi done fi # Run until all pods are in Running state while true do # To verify that the emojivoto pods are up and running following should grep for three pods # that are in Running state. If three is not the result then try again. output=$(kubectl get pods -n "emojivoto-${i}" | grep Running | wc -l) || true if [ "${output}" = "3" ] then break fi log "All pods not in 'Running' state in emojivoto-${i} namespace." sleep 5 done output=$(kubectl get pods -n "emojivoto-${i}") printf "\nPods in the emojivoto-${i} namespace.\n${output}\n\n" } & # If this sleep is not added then threads equal to the number of workload_num are created and # due to this helm gives timeout in installing some releases. This happens either because # apiserver is bombarded with requests or because the mutatingwebhook cannot inject the # container. sleep 3 done wait } function cleanup_emojivoto() { local i for ((i = 0; i < workload_num; i++)) do { helm uninstall "emojivoto-${i}" --namespace "emojivoto-${i}" || true kubectl delete ns "emojivoto-${i}" } & done wait } # Deploy pushgateway in monitoring namespace function install_pushgateway() { cd /clusters/"${CLUSTER_NAME}"/service-mesh-benchmark/configs/pushgateway helm install --timeout=10m pushgateway --namespace monitoring . || true } function install_mesh() { local mesh="${1}" cd /clusters/"${CLUSTER_NAME}" if [ "${mesh}" = "bare-metal" ]; then return elif [ "${mesh}" = "linkerd" ]; then log "installing mesh: ${mesh}" lokoctl component apply experimental-linkerd # Let linkerd get ready log "Waiting for linkerd to be ready..." sleep 60 log "Pods in the linkerd namespace." kubectl get pods -n linkerd else log "installing mesh: ${mesh}" lokoctl component apply experimental-istio-operator # Let isito get ready log "Waiting for istio to be ready..." sleep 60 log "Pods in the istio-operator namespace." kubectl get pods -n istio-operator log "Pods in the istio-system namespace." kubectl get pods -n istio-system fi } function cleanup_mesh() { local mesh="${1}" if [ "${mesh}" = "bare-metal" ]; then return elif [ "${mesh}" = "linkerd" ]; then log "cleaning mesh: ${mesh}" lokoctl component delete experimental-linkerd --delete-namespace --confirm else log "cleaning mesh: ${mesh}" # Extra cleanup to do after istio because it does not do it automatically. kubectl get -n istio-system istiooperators.install.istio.io istiocontrolplane -o json | sed 's/"istio-finalizer.install.istio.io"//' | kubectl apply -f - lokoctl component delete experimental-istio-operator --confirm --delete-namespace kubectl delete $(kubectl get clusterroles -o name | grep istio) \ $(kubectl get clusterrolebindings -o name | grep istio) \ $(kubectl get crd -o name | grep istio) \ $(kubectl get validatingwebhookconfigurations -o name | grep istio) \ $(kubectl get mutatingwebhookconfigurations -o name | grep istio) fi } function wait_for_job() { local ns="${1}" local job="${2}" # Wait for the job to finish while true do complete=$(kubectl -n "${ns}" get job "${job}" -o jsonpath='{.status.completionTime}') # if [ -z "${complete}" ]; then log "waiting for job ${job} to finish in ${ns} namespace" else break fi sleep 10 done } function run_benchmark() { local mesh="${1}" local rps="${2}" local ind="${3}" local name="benchmark-${mesh}-${rps}-${ind}" kubectl create ns "${name}" svcmesh="${mesh}" if [ "${svcmesh}" = "bare-metal" ]; then svcmesh="" elif [ "${svcmesh}" = "linkerd" ]; then kubectl annotate namespace "${name}" linkerd.io/inject=enabled else kubectl label namespace "${name}" istio-injection=enabled fi cd /clusters/"${CLUSTER_NAME}"/service-mesh-benchmark/configs/benchmark/ helm install --timeout=10m "${name}" --namespace "${name}" \ . --set wrk2.serviceMesh="${svcmesh}" \ --set wrk2.app.count="${workload_num}" \ --set wrk2.RPS="${rps}" \ --set wrk2.duration=600 \ --set wrk2.connections=128 log "Pods in the ${name} namespace." kubectl get pods -n "${name}" wait_for_job "${name}" wrk2-prometheus } function run_merge_job() { local mesh="${1}" local rps="${2}" local ind="${3}" local name="metrics-merger-${mesh}-${rps}-${ind}" cd /clusters/"${CLUSTER_NAME}"/service-mesh-benchmark/configs/metrics-merger/ helm install --timeout=10m "${name}" --create-namespace --namespace "${name}" . wait_for_job "${name}" wrk2-metrics-merger } install_pushgateway for rps in 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 5500; do for ((i=0;i<5;i++)) do for mesh in bare-metal linkerd istio do install_mesh "${mesh}" install_emojivoto "${mesh}" run_benchmark "${mesh}" "${rps}" "${i}" run_merge_job "${mesh}" "${rps}" "${i}" cleanup_emojivoto cleanup_mesh "${mesh}" done done done ================================================ FILE: configs/orchestrator/cluster-install-configs/run.sh ================================================ #!/bin/bash set -euo pipefail function log() { local message="${1:-""}" echo -e "\\033[1;37m${message}\\033[0m" } function err() { local message="${1:-""}" echo -e >&2 "\\033[1;31m${message}\\033[0m" } function verify_binaries_download() { binaries='terraform helm kubectl lokoctl' for b in $binaries do while ! ls "/binaries/${b}" >/dev/null 2>&1 do log "Waiting for ${b} to be available..." sleep 1 done log "Copying /binaries/${b} to /usr/local/bin/" /bin/cp "/binaries/${b}" /usr/local/bin/ done } verify_binaries_download log "Cluster name: ${CLUSTER_NAME}" # Always store the cluster configuration in the /clusters directory so that even if this pods fails # it can be cleaned up later using the debug jobs pod. cd /clusters mkdir -p "${CLUSTER_NAME}" && cd "${CLUSTER_NAME}" # Configs are mounted in /scripts dir so copy from there. cp /scripts/"${CLOUD}".lokocfg . cp /scripts/"${CLOUD}".vars.envsubst . public_key=$(cat ~/.ssh/id_rsa.pub) export SSH_PUB_KEY=${public_key} envsubst < "${CLOUD}".vars.envsubst > lokocfg.vars eval $(ssh-agent) ssh-add ~/.ssh/id_rsa ssh-add -L lokoctl cluster apply -v --confirm --skip-components mkdir -p ~/.kube cp ./assets/cluster-assets/auth/kubeconfig ~/.kube/config n=0 until [ "$n" -ge 10 ] do # Edit this to install the components you want. lokoctl component apply && break n=$((n+1)) sleep 5 log "retry #${n}" log "retrying 'lokoctl component apply' again..." done # Current repo `service-mesh-benchmark` is also downloaded in the `/binaries` repository. # Add code to run benchmarks after this. # ... ================================================ FILE: configs/orchestrator/templates/bc-assets-pvc.yaml ================================================ apiVersion: v1 kind: PersistentVolumeClaim metadata: labels: name: bc-assets namespace: orchestrator spec: accessModes: - ReadWriteOnce resources: requests: storage: 5Gi status: accessModes: - ReadWriteOnce capacity: storage: 5Gi ================================================ FILE: configs/orchestrator/templates/binaries-pvc.yaml ================================================ apiVersion: v1 kind: PersistentVolumeClaim metadata: labels: name: binaries namespace: orchestrator spec: accessModes: - ReadWriteOnce resources: requests: storage: 500Mi status: accessModes: - ReadWriteOnce capacity: storage: 500Mi ================================================ FILE: configs/orchestrator/templates/cloud-secrets.yaml ================================================ apiVersion: v1 kind: Secret metadata: name: cloud-secrets namespace: orchestrator data: {{if .Values.clouds.em.token}} EQUINIX_METAL_AUTH_TOKEN: {{ .Values.clouds.em.token | b64enc }} {{end}} {{if .Values.clouds.em.projectID}} EQUINIX_METAL_PROJECT_ID: {{ .Values.clouds.em.projectID | b64enc }} {{end}} {{if .Values.clouds.aws.accessKeyID}} AWS_ACCESS_KEY_ID: {{ .Values.clouds.aws.accessKeyID | b64enc }} {{end}} {{if .Values.clouds.aws.secretAccessKey}} AWS_SECRET_ACCESS_KEY: {{ .Values.clouds.aws.secretAccessKey | b64enc }} {{end}} {{if .Values.clouds.aws.defaultRegion}} AWS_DEFAULT_REGION: {{ .Values.clouds.aws.defaultRegion | b64enc }} {{end}} {{if .Values.clouds.aws.route53Zone}} AWS_ROUTE53_ZONE: {{ .Values.clouds.aws.route53Zone | b64enc }} {{end}} {{if .Values.clouds.aws.route53ZoneID}} AWS_ROUTE53_ZONE_ID: {{ .Values.clouds.aws.route53ZoneID | b64enc }} {{end}} {{if .Values.clouds.aws.benchmarkWorkerCount }} BENCHMARK_WORKER_COUNT: {{ .Values.clouds.aws.benchmarkWorkerCount | quote | b64enc }} {{end}} {{if .Values.clouds.aws.benchmarkInstanceType }} BENCHMARK_INSTANCE_TYPE: {{ .Values.clouds.aws.benchmarkInstanceType | b64enc }} {{end}} {{if .Values.clouds.aws.benchmarkOSArch }} BENCHMARK_OS_ARCH: {{ .Values.clouds.aws.benchmarkOSArch | b64enc }} {{end}} {{if .Values.clouds.aws.benchmarkOSChannel }} BENCHMARK_OS_CHANNEL: {{ .Values.clouds.aws.benchmarkOSChannel | b64enc }} {{end}} ================================================ FILE: configs/orchestrator/templates/cluster-install-configs.yaml ================================================ apiVersion: v1 kind: ConfigMap metadata: name: cluster-install-configs namespace: orchestrator data: {{ if eq .Values.benchmarkingClusterCloud "equinix-metal" }} {{ (.Files.Glob "cluster-install-configs/equinix-metal/equinix-metal.lokocfg").AsConfig | indent 2 }} {{ (.Files.Glob "cluster-install-configs/equinix-metal/equinix-metal.vars.envsubst").AsConfig | indent 2 }} {{ else if eq .Values.benchmarkingClusterCloud "aws" }} {{ (.Files.Glob "cluster-install-configs/aws/aws.lokocfg").AsConfig | indent 2 }} {{ (.Files.Glob "cluster-install-configs/aws/aws.vars.envsubst").AsConfig | indent 2 }} {{ end }} {{ (.Files.Glob "cluster-install-configs/cleanup.sh").AsConfig | indent 2 }} {{ (.Files.Glob "cluster-install-configs/cleanup-setup.sh").AsConfig | indent 2 }} run.sh: | {{ .Values.runScript | indent 4 }} ================================================ FILE: configs/orchestrator/templates/debug-jobs.yaml ================================================ apiVersion: apps/v1 kind: Deployment metadata: labels: app: debug-jobs name: debug-jobs namespace: orchestrator spec: replicas: 1 selector: matchLabels: app: debug-jobs template: metadata: labels: app: debug-jobs pvc: binaries spec: containers: - image: quay.io/kinvolk/smb-jobrunner name: jobrunner envFrom: - secretRef: name: cloud-secrets command: - bash args: - -c - 'bash /scripts/cleanup-setup.sh' volumeMounts: - name: binaries mountPath: /binaries - name: ssh-keys mountPath: /root/.ssh readOnly: true - name: cluster-assets mountPath: /clusters - name: cluster-install-configs mountPath: /scripts serviceAccountName: jobrunner affinity: podAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: pvc operator: In values: - binaries topologyKey: kubernetes.io/hostname volumes: - name: binaries persistentVolumeClaim: claimName: binaries - name: cluster-assets persistentVolumeClaim: claimName: bc-assets - name: ssh-keys secret: defaultMode: 256 secretName: ssh-keys - name: cluster-install-configs configMap: name: cluster-install-configs ================================================ FILE: configs/orchestrator/templates/deployment.yaml ================================================ apiVersion: apps/v1 kind: Deployment metadata: labels: app: orchestrator name: orchestrator namespace: orchestrator spec: replicas: 1 selector: matchLabels: app: orchestrator template: metadata: labels: app: orchestrator pvc: binaries spec: containers: - image: quay.io/kinvolk/smb-orchestrator name: orchestrator env: {{ if .Values.clouds.em.regionEIPs -}} - name: REGION_EIPS value: {{.Values.clouds.em.regionEIPs}} {{ end -}} - name: AWS_REGIONS value: {{.Values.clouds.aws.regions}} - name: BENCHMARKING_CLUSTER_CLOUD value: {{.Values.benchmarkingClusterCloud}} volumeMounts: - name: binaries mountPath: /binaries - name: cluster-install-configs mountPath: /scripts serviceAccountName: orchestrator affinity: podAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: pvc operator: In values: - binaries topologyKey: kubernetes.io/hostname volumes: - name: binaries persistentVolumeClaim: claimName: binaries - name: cluster-install-configs configMap: name: cluster-install-configs ================================================ FILE: configs/orchestrator/templates/download-benchmark-containers.yaml ================================================ apiVersion: batch/v1 kind: Job metadata: name: download-benchmark-containers-repository namespace: orchestrator spec: template: metadata: labels: pvc: binaries spec: restartPolicy: OnFailure containers: - name: download-benchmark-containers-repository image: golang env: - name: BRANCH value: {{.Values.benchMarkContainers.branch}} command: - bash args: - -c - 'cd /binaries && git clone https://github.com/kinvolk/benchmark-containers && cd benchmark-containers && git checkout $BRANCH' volumeMounts: - name: binaries mountPath: /binaries serviceAccountName: downloader automountServiceAccountToken: false affinity: podAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: pvc operator: In values: - binaries topologyKey: kubernetes.io/hostname volumes: - name: binaries persistentVolumeClaim: claimName: binaries ================================================ FILE: configs/orchestrator/templates/download-charts.yaml ================================================ apiVersion: batch/v1 kind: Job metadata: name: download-charts namespace: orchestrator spec: template: metadata: labels: pvc: binaries spec: restartPolicy: OnFailure containers: - name: download-charts image: golang env: - name: BRANCH value: {{.Values.charts.branch}} command: - bash args: - -c - 'cd /binaries && git clone https://github.com/kinvolk/service-mesh-benchmark/ && cd service-mesh-benchmark && git checkout $BRANCH' volumeMounts: - name: binaries mountPath: /binaries serviceAccountName: downloader automountServiceAccountToken: false affinity: podAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: pvc operator: In values: - binaries topologyKey: kubernetes.io/hostname volumes: - name: binaries persistentVolumeClaim: claimName: binaries ================================================ FILE: configs/orchestrator/templates/download-helm.yaml ================================================ apiVersion: batch/v1 kind: Job metadata: name: download-helm namespace: orchestrator spec: template: metadata: labels: pvc: binaries spec: restartPolicy: OnFailure containers: - name: download-helm image: alpine/helm:{{.Values.helm.version}} command: - sh args: - -c - 'mv /usr/bin/helm /binaries' volumeMounts: - name: binaries mountPath: /binaries serviceAccountName: downloader automountServiceAccountToken: false affinity: podAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: pvc operator: In values: - binaries topologyKey: kubernetes.io/hostname volumes: - name: binaries persistentVolumeClaim: claimName: binaries ================================================ FILE: configs/orchestrator/templates/download-kubectl.yaml ================================================ apiVersion: batch/v1 kind: Job metadata: name: download-kubectl namespace: orchestrator spec: template: metadata: labels: pvc: binaries spec: restartPolicy: OnFailure containers: - name: download-kubectl image: fedora:32 command: - bash args: - -c - 'curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl && chmod +x ./kubectl && mv ./kubectl /binaries' volumeMounts: - name: binaries mountPath: /binaries serviceAccountName: downloader automountServiceAccountToken: false affinity: podAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: pvc operator: In values: - binaries topologyKey: kubernetes.io/hostname volumes: - name: binaries persistentVolumeClaim: claimName: binaries ================================================ FILE: configs/orchestrator/templates/download-lokoctl.yaml ================================================ apiVersion: batch/v1 kind: Job metadata: name: download-lokoctl namespace: orchestrator spec: template: metadata: labels: pvc: binaries spec: restartPolicy: OnFailure containers: - name: download-lokoctl image: golang env: - name: BRANCH value: {{.Values.lokoctl.branch}} command: - bash args: - -c - 'git clone https://github.com/kinvolk/lokomotive && cd lokomotive && git checkout $BRANCH && make build && mv ./lokoctl /binaries' volumeMounts: - name: binaries mountPath: /binaries serviceAccountName: downloader automountServiceAccountToken: false affinity: podAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: pvc operator: In values: - binaries topologyKey: kubernetes.io/hostname volumes: - name: binaries persistentVolumeClaim: claimName: binaries ================================================ FILE: configs/orchestrator/templates/download-terraform.yaml ================================================ apiVersion: batch/v1 kind: Job metadata: name: download-terraform namespace: orchestrator spec: template: metadata: labels: pvc: binaries spec: restartPolicy: OnFailure containers: - name: download-terraform image: hashicorp/terraform:{{.Values.terraform.version}} command: - sh args: - -c - 'mv /bin/terraform /binaries' volumeMounts: - name: binaries mountPath: /binaries serviceAccountName: downloader automountServiceAccountToken: false affinity: podAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: pvc operator: In values: - binaries topologyKey: kubernetes.io/hostname volumes: - name: binaries persistentVolumeClaim: claimName: binaries ================================================ FILE: configs/orchestrator/templates/general-config.yaml ================================================ apiVersion: v1 kind: ConfigMap metadata: name: general-config namespace: orchestrator data: # Add more non-secret env vars here. CLOUD: {{ .Values.benchmarkingClusterCloud }} ================================================ FILE: configs/orchestrator/templates/rbac.yaml ================================================ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: oc-permissions rules: - apiGroups: - "" resources: - secrets verbs: - '*' - apiGroups: - monitoring.coreos.com resourceNames: - prometheus-operator-kube-p-prometheus resources: - prometheuses verbs: - patch - get --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: oc-permissions namespace: orchestrator roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: oc-permissions subjects: - kind: ServiceAccount name: jobrunner namespace: orchestrator --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: orchestrate-jobs namespace: orchestrator rules: - apiGroups: - "batch" resources: - jobs verbs: - '*' --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: orchestrate-jobs namespace: orchestrator roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: orchestrate-jobs subjects: - kind: ServiceAccount name: orchestrator namespace: orchestrator --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: privileged-psp-orchestrator namespace: orchestrator roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: privileged-psp subjects: - kind: ServiceAccount name: orchestrator namespace: orchestrator - kind: ServiceAccount name: jobrunner namespace: orchestrator - kind: ServiceAccount name: downloader namespace: orchestrator ================================================ FILE: configs/orchestrator/templates/serviceaccount.yaml ================================================ apiVersion: v1 kind: ServiceAccount metadata: name: orchestrator namespace: orchestrator --- apiVersion: v1 kind: ServiceAccount metadata: name: jobrunner namespace: orchestrator --- apiVersion: v1 kind: ServiceAccount metadata: name: downloader namespace: orchestrator ================================================ FILE: configs/orchestrator/templates/ssh-keys.yaml ================================================ apiVersion: v1 kind: Secret metadata: name: ssh-keys namespace: orchestrator data: id_rsa: {{ .Values.sshKey.private | b64enc }} id_rsa.pub: {{ .Values.sshKey.public | b64enc }} ================================================ FILE: configs/orchestrator/values.yaml ================================================ lokoctl: # Use a different branch if you are using experimental version of Lokomotive. branch: master charts: # Use a different branch if you are using experimental version of this repository. This is under # charts because the charts under configs repo are downloaded to be deployed on the benchmarking # clusters. branch: master benchMarkContainers: # Use a different branch if you are using experimental version of this repository. This is under # charts because the charts under configs repo are downloaded to be deployed on the benchmarking # clusters. branch: master terraform: version: 0.13.6 helm: version: 3.5.1 sshKey: # Copy your SSH Key content here. public: ssh-rsa AAAA.YOUR_PUBLIC_KEY private: | -----BEGIN OPENSSH PRIVATE KEY----- YOUR_PRIVATE_KEY -----END OPENSSH PRIVATE KEY----- # Possible values: [equinix-metal, aws]. benchmarkingClusterCloud: # This is to be set using the helm flag `--set-file`. This script will run on all the benchmarking # clusters. runScript: # Cloud related information. clouds: aws: accessKeyID: secretAccessKey: # Don't confuse this with the subsequent regions field. This is only used to export as # `AWS_DEFAULT_REGION`. defaultRegion: eu-central-1 route53Zone: route53ZoneID: # List of comma separated regions you want to deploy the benchmarking clusters to. e.g.: # us-east-1,us-west-1 regions: us-west-1 benchmarkWorkerCount: 1 benchmarkInstanceType: t3.medium benchmarkOSArch: amd64 benchmarkOSChannel: stable em: token: projectID: # List of comma separated region=EIP. This EIP is used to expose the Prometheus on the # benchmarking clusters. Later the orchestrating cluster will scrape the Prometheus on the # benchmarking clusters. e.g.: # sjc1=1.2.3.4,ewr1=5.6.7.8,ams1=9.0.1.2 regionEIPs: ================================================ FILE: configs/pushgateway/.helmignore ================================================ # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. .DS_Store # Common VCS dirs .git/ .gitignore .bzr/ .bzrignore .hg/ .hgignore .svn/ # Common backup files *.swp *.bak *.tmp *.orig *~ # Various IDEs .project .idea/ *.tmproj .vscode/ ================================================ FILE: configs/pushgateway/Chart.yaml ================================================ apiVersion: v2 name: pushgateway description: A Helm chart for Kubernetes type: application version: 0.1.0 appVersion: 0.1.0 ================================================ FILE: configs/pushgateway/README.md ================================================ # Prometheus pushgateway ## Install ``` helm install pushgateway --namespace monitoring . ``` ## Uninstall ``` helm uninstall pushgateway --namespace monitoring ``` ## Install with Ingress It is possible to expose the pushgateway publicly via Kubernetes ingress. Since pushgateway does not come with any kind of authentication mechanism of itself we will use the basic authentication mechanism provided by contour. This chart deploys a [contour-authserver](https://github.com/projectcontour/contour-authserver) which authenticates the users. Execute the following steps to expose pushgateway over the internet. ### Prerequisites - Install contour. - Install cert-manager. - Install external-dns (optional: If you prefer creating records manually in a DNS provider then you can skip this component). ### Create Password Create a file with username and password in htpasswd format: ```bash touch auth htpasswd -b auth user1 password1 htpasswd -b auth user2 password2 htpasswd -b auth user3 password3 ``` Now create a secret out of that file: ``` kubectl create secret generic -n monitoring passwords --from-file=auth kubectl annotate secret -n monitoring passwords projectcontour.io/auth-type=basic ``` ### Special flags Deploy the pushgateway with extra information overriding the values file: ```bash helm install pushgateway --namespace monitoring . \ --set ingress.enabled=true \ --set ingress.host= ``` Set the appropriate host value to deploy the pushgateway. This is the URL you will reach out to when accessing pushgateway over the internet. ### Test Without password it fails: ```console $ curl -I https://pushgateway.foobar.com/metrics HTTP/2 401 www-authenticate: Basic realm="default", charset="UTF-8" date: Tue, 06 Apr 2021 08:34:41 GMT server: envoy ``` With password: ```console $ curl --user user1:password1 -s https://pushgateway.foobar.com/metrics | head -5 # HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles. # TYPE go_gc_duration_seconds summary go_gc_duration_seconds{quantile="0"} 7.0803e-05 go_gc_duration_seconds{quantile="0.25"} 0.000107011 go_gc_duration_seconds{quantile="0.5"} 0.000119244 ``` ================================================ FILE: configs/pushgateway/templates/contour-configs.yaml ================================================ {{ if .Values.ingress.enabled }} apiVersion: v1 kind: ServiceAccount metadata: name: htpasswd namespace: monitoring --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: privileged-psp-monitoring namespace: monitoring roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: privileged-psp subjects: - kind: ServiceAccount name: htpasswd namespace: monitoring --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: contour:authserver:htpasswd rules: - apiGroups: - "" resources: - secrets verbs: - get - list - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: contour:authserver:htpasswd roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: contour:authserver:htpasswd subjects: - kind: ServiceAccount name: htpasswd namespace: monitoring --- apiVersion: v1 kind: Service metadata: labels: app.kubernetes.io/name: htpasswd name: htpasswd namespace: monitoring spec: ports: - name: auth port: 9443 protocol: TCP targetPort: 9443 selector: app.kubernetes.io/name: htpasswd type: ClusterIP --- apiVersion: apps/v1 kind: Deployment metadata: labels: app.kubernetes.io/name: htpasswd name: htpasswd namespace: monitoring spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: htpasswd template: metadata: labels: app.kubernetes.io/name: htpasswd spec: containers: - args: - htpasswd - --address=:9443 - --tls-ca-path=/tls/ca.crt - --tls-cert-path=/tls/tls.crt - --tls-key-path=/tls/tls.key command: - /contour-authserver image: docker.io/projectcontour/contour-authserver:v2 imagePullPolicy: IfNotPresent name: htpasswd ports: - containerPort: 9443 name: auth protocol: TCP resources: limits: cpu: 100m memory: 90Mi volumeMounts: - mountPath: /tls name: tls readOnly: true serviceAccountName: htpasswd volumes: - name: tls secret: secretName: htpasswd --- apiVersion: cert-manager.io/v1alpha3 kind: Certificate metadata: name: htpasswd namespace: monitoring spec: dnsNames: - htpasswd issuerRef: name: selfsigned kind: ClusterIssuer secretName: htpasswd --- apiVersion: cert-manager.io/v1alpha3 kind: ClusterIssuer metadata: name: selfsigned namespace: monitoring spec: selfSigned: {} --- apiVersion: projectcontour.io/v1alpha1 kind: ExtensionService metadata: name: htpasswd namespace: monitoring spec: protocol: h2 services: - name: htpasswd port: 9443 --- apiVersion: cert-manager.io/v1 kind: Certificate metadata: name: pushgateway-ingress namespace: monitoring spec: dnsNames: - {{ .Values.ingress.host }} secretName: pushgateway-ingress issuerRef: name: {{ .Values.ingress.clusterIssuer }} kind: ClusterIssuer --- apiVersion: projectcontour.io/v1 kind: HTTPProxy metadata: name: pushgateway namespace: monitoring spec: virtualhost: fqdn: {{ .Values.ingress.host }} tls: secretName: pushgateway-ingress authorization: extensionRef: name: htpasswd namespace: monitoring routes: - services: - name: pushgateway port: 9091 {{ end }} ================================================ FILE: configs/pushgateway/templates/deployment.yaml ================================================ apiVersion: apps/v1 kind: Deployment metadata: annotations: prometheus.io/scrape: 'true' name: pushgateway namespace: monitoring spec: replicas: 1 selector: matchLabels: app: pushgateway template: metadata: name: pushgateway labels: app: pushgateway visualize: "true" run: pushgateway spec: containers: - name: pushgateway image: prom/pushgateway args: - --log.level={{ .Values.logLevel }} ports: - name: web containerPort: 9091 ================================================ FILE: configs/pushgateway/templates/service.yaml ================================================ apiVersion: v1 kind: Service metadata: labels: name: pushgateway visualize: "true" app: pushgateway name: pushgateway namespace: monitoring spec: selector: app: pushgateway ports: - name: scrape protocol: TCP port: 9091 ================================================ FILE: configs/pushgateway/templates/servicemonitor.yaml ================================================ apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: labels: app: pushgateway release: prometheus-operator name: pushgateway namespace: monitoring spec: endpoints: - port: scrape interval: "1s" namespaceSelector: matchNames: - monitoring selector: matchLabels: app: pushgateway ================================================ FILE: configs/pushgateway/values.yaml ================================================ # Possible values are [debug, info, warn, error] logLevel: error ingress: enabled: false host: pushgateway.foobar.com # This cert-manager cluster issuer is already installed in Lokomotive. Find the config here: # https://github.com/kinvolk/lokomotive/blob/715b85028b3814756c79b48ba147ca8c4886ce8f/assets/charts/components/cert-manager/templates/letsencrypt-clusterissuer-prod.yaml clusterIssuer: letsencrypt-production ================================================ FILE: dashboards/download_dashboard.sh ================================================ #!/bin/bash [ $# -lt 3 ] && { echo echo "$0 - download (backup) a Grafana dashboard, write to STDOUT" echo "Usage: $0 [>dashboard-backup.json]" echo exit 1 } apikey="$1" dashboard_uid="$2" host="$3" echo "Downloading dashboard UID $dashboard_uid from $host" >&2 curl -sH "Authorization: Bearer $apikey" \ http://$host/api/dashboards/uid/$dashboard_uid \ | sed -e "s/\"$dashboard_uid\"/null/" -e 's/,"url":"[^"]\+",/,/' | jq ================================================ FILE: dashboards/grafana-wrk2-cockpit-orchestrator.json ================================================ { "meta": { "type": "db", "canSave": true, "canEdit": true, "canAdmin": false, "canStar": true, "slug": "wrk2-benchmark-cockpit-orchestrator", "expires": "0001-01-01T00:00:00Z", "created": "2020-07-28T11:41:35Z", "updated": "2020-07-31T09:10:37Z", "updatedBy": "admin", "createdBy": "admin", "version": 9, "hasAcl": false, "isFolder": false, "folderId": 0, "folderTitle": "General", "folderUrl": "", "provisioned": false, "provisionedExternalId": "" }, "dashboard": { "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": 28, "iteration": 1596186462226, "links": [], "panels": [ { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 24, "x": 0, "y": 0 }, "id": 8, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_progress{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",status=\"init\",cluster=\"$cluster\"}", "instant": true, "legendFormat": "{{exported_job}}: {{exported_instance}} {{run}} ", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "name" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "decimals": 1, "format": "s", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 4, "w": 2, "x": 0, "y": 2 }, "id": 35, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "pluginVersion": "6.5.0", "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_duration{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Benchmark duration", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "datasource": null, "gridPos": { "h": 4, "w": 4, "x": 2, "y": 2 }, "id": 13, "options": { "displayMode": "lcd", "fieldOptions": { "calcs": [ "lastNotNull" ], "defaults": { "mappings": [], "max": 100, "min": 0, "thresholds": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "override": {}, "values": false }, "orientation": "horizontal" }, "pluginVersion": "6.5.0", "targets": [ { "expr": "wrk2_benchmark_progress{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",status=~\"(init|run)\",cluster=\"$cluster\"}", "instant": true, "legendFormat": "{{status}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Progress", "transparent": true, "type": "bargauge" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 10, "w": 10, "x": 6, "y": 2 }, "hiddenSeries": false, "id": 4, "legend": { "alignAsTable": false, "avg": false, "current": true, "max": false, "min": false, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(wrk2_benchmark_average_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"})", "instant": false, "legendFormat": "Average RPS", "refId": "A" }, { "expr": "sum(wrk2_benchmark_current_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"})", "instant": false, "legendFormat": "Current RPS", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Overall RPS (average and current)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 5, "w": 8, "x": 16, "y": 2 }, "hiddenSeries": false, "id": 15, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_current_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": false, "legendFormat": "{{label}}{{thread}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Current RPS, per thread", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 6 }, "id": 51, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_progress{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",status=\"init\",cluster=\"$cluster\"}", "instant": true, "legendFormat": "{{rps}}", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Requested RPS", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "name" }, { "cacheTimeout": null, "datasource": null, "gridPos": { "h": 3, "w": 4, "x": 2, "y": 6 }, "id": 2, "links": [], "options": { "fieldOptions": { "calcs": [ "lastNotNull" ], "defaults": { "mappings": [ { "id": 0, "op": "=", "text": "N/A", "type": 1, "value": "null" } ], "max": 100, "min": 0, "nullValueMode": "connected", "thresholds": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ], "unit": "none" }, "override": {}, "values": false }, "orientation": "horizontal", "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "6.5.0", "targets": [ { "expr": "sum(wrk2_benchmark_average_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"})", "instant": true, "legendFormat": "Average RPS", "refId": "B" }, { "expr": "sum(wrk2_benchmark_current_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"})", "instant": true, "legendFormat": "Current RPS", "refId": "C" } ], "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "gauge" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "decimals": 1, "fill": 1, "fillGradient": 0, "gridPos": { "h": 5, "w": 8, "x": 16, "y": 7 }, "hiddenSeries": false, "id": 14, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_average_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": false, "legendFormat": "{{label}}{{thread}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Average RPS, per thread", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 9 }, "id": 11, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_thread_count{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Thread count", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 2, "y": 9 }, "id": 40, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "sum(wrk2_benchmark_requests{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"})", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Requests sent", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 4, "y": 9 }, "id": 10, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "sum(wrk2_benchmark_responses{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"})", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Responses received", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 0, "y": 12 }, "hiddenSeries": false, "id": 54, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "container_memory_working_set_bytes{container!~\"POD\", namespace=~\"benchmark-.*\", container=~\".*-proxy\",cluster=\"$cluster\",container!=\"\"}", "legendFormat": "{{container}} Memory", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Sidecar Memory usage - Load generator ", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 8, "y": 12 }, "hiddenSeries": false, "id": 55, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "max(container_memory_working_set_bytes{container!~\"POD\", namespace=~\"$instance.*\", container=~\"(linkerd|istio)-proxy\",cluster=\"$cluster\",container!=\"\"}) by (container)", "legendFormat": "{{container}} Memory", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Sidecar Memory usage - applications (max. across all sidecars)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 16, "y": 12 }, "hiddenSeries": false, "id": 56, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(container_memory_working_set_bytes{container!~\"POD\", namespace=~\"linkerd\", container!~\".*-proxy\",cluster=\"$cluster\",container!=\"\"})", "legendFormat": "Linkerd total Memory", "refId": "E" }, { "expr": "sum(container_memory_working_set_bytes{container!~\"POD\", namespace=~\"(istio-.*)\", container!~\".*-proxy\",cluster=\"$cluster\",container!=\"\"})", "legendFormat": "Istio total Memory", "refId": "F" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Memory usage - Service mesh control plane", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 0, "y": 18 }, "hiddenSeries": false, "id": 57, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Memory", "yaxis": 2 }, { "alias": "linkerd-proxy Memory", "yaxis": 2 }, { "alias": "istio-proxy Memory", "yaxis": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=~\"benchmark-.*\", container=~\".*-proxy\",cluster=\"$cluster\",container!=\"\"}", "format": "time_series", "instant": false, "legendFormat": "{{container}} CPU seconds", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Sidecar CPU usage - Load generator ", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 8, "y": 18 }, "hiddenSeries": false, "id": 58, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "max(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=~\"$instance.*\", container=~\"(linkerd|istio)-proxy\",cluster=\"$cluster\",container!=\"\"}) by (container)", "format": "time_series", "instant": false, "legendFormat": "{{container}} CPU seconds", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Sidecar CPU usage - applications (max. across all sidecars)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 16, "y": 18 }, "hiddenSeries": false, "id": 59, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Memory", "yaxis": 2 }, { "alias": "linkerd: destination CPU seconds", "yaxis": 2 }, { "alias": "Linkerd total Memory", "yaxis": 2 }, { "alias": "Istio total Memory", "yaxis": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=~\"linkerd\", container!~\".*-proxy\",cluster=\"$cluster\",container!=\"\"})", "legendFormat": "Linkerd total CPU seconds", "refId": "C" }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=~\"istio-.*\", container!~\".*-proxy\",cluster=\"$cluster\",container!=\"\"})", "legendFormat": "Istio total CPU seconds", "refId": "D" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "CPU utilisation - Service mesh control plane", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "description": "", "fill": 1, "fillGradient": 1, "gridPos": { "h": 7, "w": 6, "x": 0, "y": 24 }, "hiddenSeries": false, "id": 39, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Mem total", "yaxis": 2 }, { "alias": "Mem used", "yaxis": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_node_loadavg{kind!=\"raw\",exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": false, "legendFormat": "{{kind}} {{interval}}", "refId": "A" }, { "expr": "wrk2_benchmark_node_meminfo{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",kind=~\"(used|total)\",cluster=\"$cluster\"}*1000", "legendFormat": "Mem {{kind}}", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Load generator node relative CPU load and memory utilisation", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": "2", "min": "0", "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 1, "gridPos": { "h": 7, "w": 6, "x": 6, "y": 24 }, "hiddenSeries": false, "id": 32, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=~\"$instance.*\", container!=\"POD\",cluster=\"$cluster\"}", "legendFormat": "{{container}}-{{namespace}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Application CPU consumption", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 1, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 24 }, "hiddenSeries": false, "id": 50, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "instance:node_load1_per_cpu:ratio{cluster=\"$cluster\"}", "legendFormat": "{{instance}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Cluster node loadavg (1m) per CPU thread", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "content": "
\n
Benchmark results (updated after a benchmark run has concluded.)
", "datasource": null, "gridPos": { "h": 2, "w": 24, "x": 0, "y": 31 }, "id": 37, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "decimals": null, "format": "dateTimeAsIso", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 33 }, "id": 46, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_runtime{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",kind=\"start\",cluster=\"$cluster\"} * 1000", "instant": true, "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "started", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "decimals": null, "format": "dateTimeAsIso", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 2, "y": 33 }, "id": 47, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_runtime{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",kind=\"end\",cluster=\"$cluster\"} * 1000", "instant": true, "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "concluded", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "decimals": null, "format": "s", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 1, "x": 4, "y": 33 }, "id": 48, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_runtime{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",kind=\"duration\",cluster=\"$cluster\"}", "instant": true, "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "length", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 5, "y": 33 }, "id": 43, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "sum(wrk2_benchmark_run_average_tcp_reconnect_rate{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"})", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Avg. TCP reconnects", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 7, "y": 33 }, "id": 34, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_thread_count{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Load generator threads", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 9, "y": 33 }, "id": 28, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_requested_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Requested RPS", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "datasource": null, "gridPos": { "h": 11, "w": 13, "x": 11, "y": 33 }, "id": 17, "options": { "displayMode": "gradient", "fieldOptions": { "calcs": [ "lastNotNull" ], "defaults": { "decimals": 3, "mappings": [], "max": 10000, "min": 0, "thresholds": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 600 }, { "color": "red", "value": 1000 } ], "unit": "ms" }, "override": {}, "values": false }, "orientation": "vertical" }, "pluginVersion": "6.5.0", "targets": [ { "expr": "wrk2_benchmark_latency_ms{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "format": "time_series", "instant": true, "intervalFactor": 1, "legendFormat": "{{p}} percentile", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Latency percentile histogram (milliseconds)", "transparent": true, "type": "bargauge" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 5, "y": 35 }, "id": 27, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_requests{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Requests sent", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "decbytes", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 7, "y": 35 }, "id": 26, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_bytes_read{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Total bytes read", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 9, "y": 35 }, "id": 44, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Effective RPS", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "columns": [], "datasource": null, "fontSize": "100%", "gridPos": { "h": 7, "w": 5, "x": 0, "y": 36 }, "id": 24, "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 0, "desc": true }, "styles": [ { "alias": "Time", "dateFormat": "YYYY-MM-DD HH:mm:ss", "pattern": "Time", "type": "hidden" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 2, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "expr": "wrk2_benchmark_url_call_count{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "legendFormat": "{{url}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "URL call counts", "transform": "timeseries_to_rows", "transparent": true, "type": "table" }, { "columns": [], "datasource": null, "fontSize": "100%", "gridPos": { "h": 7, "w": 2, "x": 5, "y": 37 }, "id": 22, "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 0, "desc": true }, "styles": [ { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": null, "link": false, "mappingType": 1, "pattern": "Time", "thresholds": [], "type": "hidden", "unit": "short" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 2, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "expr": "wrk2_benchmark_socket_errors{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "legendFormat": "Socket {{t}}", "refId": "A" }, { "expr": "wrk2_benchmark_http_errors{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "legendFormat": "HTTP ret != 200", "refId": "B" }, { "expr": "wrk2_benchmark_requests_timed_out{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "legendFormat": "HTTP timeout", "refId": "C" } ], "timeFrom": null, "timeShift": null, "title": "Transport Errors", "transform": "timeseries_to_rows", "transparent": true, "type": "table" }, { "cacheTimeout": null, "columns": [], "datasource": null, "description": "", "fontSize": "100%", "gridPos": { "h": 7, "w": 4, "x": 7, "y": 37 }, "id": 45, "links": [], "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 0, "desc": true }, "styles": [ { "alias": "Time", "dateFormat": "YYYY-MM-DD HH:mm:ss", "pattern": "Time", "type": "hidden" }, { "alias": "", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "Value", "thresholds": [ "0.8", "1" ], "type": "number", "unit": "short" } ], "targets": [ { "expr": "wrk2_benchmark_run_node_loadavg{kind!=\"raw\",exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "instant": true, "legendFormat": "{{kind}} {{interval}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Load generator node(s) per core / thread CPU load", "transform": "timeseries_to_rows", "transparent": true, "type": "table" }, { "datasource": null, "gridPos": { "h": 48, "w": 24, "x": 0, "y": 44 }, "id": 18, "options": { "displayMode": "gradient", "fieldOptions": { "calcs": [ "lastNotNull" ], "defaults": { "decimals": 3, "mappings": [], "max": 10000, "min": 0, "thresholds": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 600 }, { "color": "red", "value": 1000 } ], "unit": "ms" }, "override": {}, "values": false }, "orientation": "horizontal" }, "pluginVersion": "6.5.0", "targets": [ { "expr": "wrk2_benchmark_latency_detailed_ms{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",cluster=\"$cluster\"}", "format": "time_series", "instant": true, "intervalFactor": 1, "legendFormat": " {{p}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Detailed latency percentile histogram (milliseconds)", "transparent": true, "type": "bargauge" } ], "refresh": false, "schemaVersion": 21, "style": "dark", "tags": [], "templating": { "list": [ { "allValue": null, "current": { "text": "bc-ams1-2020724212341", "value": "bc-ams1-2020724212341" }, "datasource": "Prometheus", "definition": "wrk2_benchmark_progress", "hide": 0, "includeAll": false, "label": "Cluster", "multi": false, "name": "cluster", "options": [], "query": "wrk2_benchmark_progress", "refresh": 2, "regex": "/.*cluster=\"([^\"]*).*/", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "text": "bare-metal", "value": "bare-metal" }, "datasource": "Prometheus", "definition": "wrk2_benchmark_progress{cluster=\"$cluster\"}", "hide": 0, "includeAll": false, "label": "Benchmark job", "multi": false, "name": "job", "options": [], "query": "wrk2_benchmark_progress{cluster=\"$cluster\"}", "refresh": 2, "regex": "/.*exported_job=\"([^\"]*).*/", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "text": "emojivoto", "value": "emojivoto" }, "datasource": "Prometheus", "definition": "wrk2_benchmark_progress{cluster=\"$cluster\",exported_job=\"$job\"}", "hide": 0, "includeAll": false, "label": "Target application", "multi": false, "name": "instance", "options": [], "query": "wrk2_benchmark_progress{cluster=\"$cluster\",exported_job=\"$job\"}", "refresh": 2, "regex": "/.*exported_instance=\"([^\"]*).*/", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "text": "2020-07-27_03:45:41", "value": "2020-07-27_03:45:41" }, "datasource": "Prometheus", "definition": "wrk2_benchmark_progress{cluster=\"$cluster\",exported_job=\"$job\",exported_instance=\"$instance\"}", "hide": 0, "includeAll": false, "label": "Benchmark run", "multi": false, "name": "run", "options": [], "query": "wrk2_benchmark_progress{cluster=\"$cluster\",exported_job=\"$job\",exported_instance=\"$instance\"}", "refresh": 2, "regex": "/.*run=\"([^\"]*).*/", "skipUrlSync": false, "sort": 2, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "2020-07-27T07:54:53.000Z", "to": "2020-07-27T08:05:58.000Z" }, "timepicker": { "refresh_intervals": [ "1s", "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "wrk2 benchmark cockpit (orchestrator)", "uid": null, "version": 9 } } ================================================ FILE: dashboards/grafana-wrk2-cockpit.json ================================================ { "meta": { "type": "db", "canSave": true, "canEdit": true, "canAdmin": false, "canStar": true, "slug": "wrk2-benchmark-cockpit", "expires": "0001-01-01T00:00:00Z", "created": "2020-07-23T17:21:04Z", "updated": "2020-07-23T17:23:23Z", "updatedBy": "admin", "createdBy": "Anonymous", "version": 2, "hasAcl": false, "isFolder": false, "folderId": 0, "folderTitle": "General", "folderUrl": "", "provisioned": false, "provisionedExternalId": "" }, "dashboard": { "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": 27, "iteration": 1595524872819, "links": [], "panels": [ { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 24, "x": 0, "y": 0 }, "id": 8, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_progress{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",status=\"init\"}", "instant": true, "legendFormat": "{{exported_job}}: {{exported_instance}} {{run}} ", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "name" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "decimals": 1, "format": "s", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 4, "w": 2, "x": 0, "y": 2 }, "id": 35, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "pluginVersion": "6.5.0", "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_duration{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Benchmark duration", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "avg" }, { "datasource": null, "gridPos": { "h": 4, "w": 4, "x": 2, "y": 2 }, "id": 13, "options": { "displayMode": "lcd", "fieldOptions": { "calcs": [ "lastNotNull" ], "defaults": { "mappings": [], "max": 100, "min": 0, "thresholds": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "override": {}, "values": false }, "orientation": "horizontal" }, "pluginVersion": "6.5.0", "targets": [ { "expr": "wrk2_benchmark_progress{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",status=~\"(init|run)\"}", "instant": true, "legendFormat": "{{status}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Progress", "transparent": true, "type": "bargauge" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 10, "w": 10, "x": 6, "y": 2 }, "hiddenSeries": false, "id": 4, "legend": { "alignAsTable": false, "avg": false, "current": true, "max": false, "min": false, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(wrk2_benchmark_average_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"})", "instant": false, "legendFormat": "Average RPS", "refId": "A" }, { "expr": "sum(wrk2_benchmark_current_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"})", "instant": false, "legendFormat": "Current RPS", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Overall RPS (average and current)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 5, "w": 8, "x": 16, "y": 2 }, "hiddenSeries": false, "id": 15, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_current_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": false, "legendFormat": "{{label}}{{thread}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Current RPS, per thread", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 6 }, "id": 51, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_progress{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",status=\"init\"}", "instant": true, "legendFormat": "{{rps}}", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Requested RPS", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "name" }, { "cacheTimeout": null, "datasource": null, "gridPos": { "h": 3, "w": 4, "x": 2, "y": 6 }, "id": 2, "links": [], "options": { "fieldOptions": { "calcs": [ "lastNotNull" ], "defaults": { "mappings": [ { "id": 0, "op": "=", "text": "N/A", "type": 1, "value": "null" } ], "max": 100, "min": 0, "nullValueMode": "connected", "thresholds": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ], "unit": "none" }, "override": {}, "values": false }, "orientation": "horizontal", "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "6.5.0", "targets": [ { "expr": "sum(wrk2_benchmark_average_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"})", "instant": true, "legendFormat": "Average RPS", "refId": "B" }, { "expr": "sum(wrk2_benchmark_current_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"})", "instant": true, "legendFormat": "Current RPS", "refId": "C" } ], "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "gauge" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "decimals": 1, "fill": 1, "fillGradient": 0, "gridPos": { "h": 5, "w": 8, "x": 16, "y": 7 }, "hiddenSeries": false, "id": 14, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_average_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": false, "legendFormat": "{{label}}{{thread}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Average RPS, per thread", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 9 }, "id": 11, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_thread_count{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Thread count", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 2, "y": 9 }, "id": 40, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "sum(wrk2_benchmark_requests{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"})", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Requests sent", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 4, "y": 9 }, "id": 10, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "sum(wrk2_benchmark_responses{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"})", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Responses received", "transparent": true, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 0, "y": 12 }, "hiddenSeries": false, "id": 54, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "container_memory_working_set_bytes{container!~\"POD\", namespace=~\"benchmark-.*\", container=~\".*-proxy\",container!=\"\"}", "legendFormat": "{{container}} Memory", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Sidecar Memory usage - Load generator ", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 8, "y": 12 }, "hiddenSeries": false, "id": 55, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "max(container_memory_working_set_bytes{container!~\"POD\", namespace=~\"$instance.*\", container=~\"(linkerd|istio)-proxy\",container!=\"\"}) by (container)", "legendFormat": "{{container}} Memory", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Sidecar Memory usage - applications (max. across all sidecars)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 16, "y": 12 }, "hiddenSeries": false, "id": 56, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(container_memory_working_set_bytes{container!~\"POD\", namespace=~\"linkerd\", container!~\".*-proxy\",container!=\"\"})", "legendFormat": "Linkerd total Memory", "refId": "E" }, { "expr": "sum(container_memory_working_set_bytes{container!~\"POD\", namespace=~\"(istio-.*)\", container!~\".*-proxy\",container!=\"\"})", "legendFormat": "Istio total Memory", "refId": "F" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Memory usage - Service mesh control plane", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 0, "y": 18 }, "hiddenSeries": false, "id": 57, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Memory", "yaxis": 2 }, { "alias": "linkerd-proxy Memory", "yaxis": 2 }, { "alias": "istio-proxy Memory", "yaxis": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=~\"benchmark-.*\", container=~\".*-proxy\",container!=\"\"}", "format": "time_series", "instant": false, "legendFormat": "{{container}} CPU seconds", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Sidecar CPU usage - Load generator ", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 8, "y": 18 }, "hiddenSeries": false, "id": 58, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "max(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=~\"$instance.*\", container=~\"(linkerd|istio)-proxy\",container!=\"\"}) by (container)", "format": "time_series", "instant": false, "legendFormat": "{{container}} CPU seconds", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Sidecar CPU usage - applications (max. across all sidecars)", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 16, "y": 18 }, "hiddenSeries": false, "id": 59, "legend": { "alignAsTable": true, "avg": false, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Memory", "yaxis": 2 }, { "alias": "linkerd: destination CPU seconds", "yaxis": 2 }, { "alias": "Linkerd total Memory", "yaxis": 2 }, { "alias": "Istio total Memory", "yaxis": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=~\"linkerd\", container!~\".*-proxy\",container!=\"\"})", "legendFormat": "Linkerd total CPU seconds", "refId": "C" }, { "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=~\"istio-.*\", container!~\".*-proxy\",container!=\"\"})", "legendFormat": "Istio total CPU seconds", "refId": "D" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "CPU utilisation - Service mesh control plane", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "description": "", "fill": 1, "fillGradient": 1, "gridPos": { "h": 7, "w": 6, "x": 0, "y": 24 }, "hiddenSeries": false, "id": 39, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Mem total", "yaxis": 2 }, { "alias": "Mem used", "yaxis": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_node_loadavg{kind!=\"raw\",exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": false, "legendFormat": "{{kind}} {{interval}}", "refId": "A" }, { "expr": "wrk2_benchmark_node_meminfo{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",kind=~\"(used|total)\"}*1000", "legendFormat": "Mem {{kind}}", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Load generator node relative CPU load and memory utilisation", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": "2", "min": "0", "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 1, "gridPos": { "h": 7, "w": 6, "x": 6, "y": 24 }, "hiddenSeries": false, "id": 32, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=~\"$instance.*\", container!=\"POD\"}", "legendFormat": "{{container}}-{{namespace}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Application CPU consumption", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fill": 1, "fillGradient": 1, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 24 }, "hiddenSeries": false, "id": 50, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "instance:node_load1_per_cpu:ratio", "legendFormat": "{{instance}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Cluster node loadavg (1m) per CPU thread", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "content": "
\n
Benchmark results (updated after a benchmark run has concluded.)
", "datasource": null, "gridPos": { "h": 2, "w": 24, "x": 0, "y": 31 }, "id": 37, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "decimals": null, "format": "dateTimeAsIso", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 33 }, "id": 46, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_runtime{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",kind=\"start\"} * 1000", "instant": true, "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "started", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "decimals": null, "format": "dateTimeAsIso", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 2, "y": 33 }, "id": 47, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_runtime{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",kind=\"end\"} * 1000", "instant": true, "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "concluded", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "decimals": null, "format": "s", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 1, "x": 4, "y": 33 }, "id": 48, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_runtime{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\",kind=\"duration\"}", "instant": true, "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "length", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 5, "y": 33 }, "id": 43, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "sum(wrk2_benchmark_run_average_tcp_reconnect_rate{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"})", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Avg. TCP reconnects", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 7, "y": 33 }, "id": 34, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_thread_count{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Load generator threads", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 9, "y": 33 }, "id": 28, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_requested_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "legendFormat": "", "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Requested RPS", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "datasource": null, "gridPos": { "h": 11, "w": 13, "x": 11, "y": 33 }, "id": 17, "options": { "displayMode": "gradient", "fieldOptions": { "calcs": [ "lastNotNull" ], "defaults": { "decimals": 3, "mappings": [], "max": 10000, "min": 0, "thresholds": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 600 }, { "color": "red", "value": 1000 } ], "unit": "ms" }, "override": {}, "values": false }, "orientation": "vertical" }, "pluginVersion": "6.5.0", "targets": [ { "expr": "wrk2_benchmark_latency_ms{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "format": "time_series", "instant": true, "intervalFactor": 1, "legendFormat": "{{p}} percentile", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Latency percentile histogram (milliseconds)", "transparent": true, "type": "bargauge" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 5, "y": 35 }, "id": 27, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_requests{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Requests sent", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "decbytes", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 7, "y": 35 }, "id": 26, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_bytes_read{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Total bytes read", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": null, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 2, "x": 9, "y": 35 }, "id": 44, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false, "ymax": null, "ymin": null }, "tableColumn": "", "targets": [ { "expr": "wrk2_benchmark_run_rps{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "refId": "A" } ], "thresholds": "", "timeFrom": null, "timeShift": null, "title": "Effective RPS", "transparent": true, "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "columns": [], "datasource": null, "fontSize": "100%", "gridPos": { "h": 7, "w": 5, "x": 0, "y": 36 }, "id": 24, "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 0, "desc": true }, "styles": [ { "alias": "Time", "dateFormat": "YYYY-MM-DD HH:mm:ss", "pattern": "Time", "type": "hidden" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 2, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "expr": "wrk2_benchmark_url_call_count{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "legendFormat": "{{url}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "URL call counts", "transform": "timeseries_to_rows", "transparent": true, "type": "table" }, { "columns": [], "datasource": null, "fontSize": "100%", "gridPos": { "h": 7, "w": 2, "x": 5, "y": 37 }, "id": 22, "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 0, "desc": true }, "styles": [ { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": null, "link": false, "mappingType": 1, "pattern": "Time", "thresholds": [], "type": "hidden", "unit": "short" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 2, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "expr": "wrk2_benchmark_socket_errors{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "legendFormat": "Socket {{t}}", "refId": "A" }, { "expr": "wrk2_benchmark_http_errors{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "legendFormat": "HTTP ret != 200", "refId": "B" }, { "expr": "wrk2_benchmark_requests_timed_out{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "legendFormat": "HTTP timeout", "refId": "C" } ], "timeFrom": null, "timeShift": null, "title": "Transport Errors", "transform": "timeseries_to_rows", "transparent": true, "type": "table" }, { "cacheTimeout": null, "columns": [], "datasource": null, "description": "", "fontSize": "100%", "gridPos": { "h": 7, "w": 4, "x": 7, "y": 37 }, "id": 45, "links": [], "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 0, "desc": true }, "styles": [ { "alias": "Time", "dateFormat": "YYYY-MM-DD HH:mm:ss", "pattern": "Time", "type": "hidden" }, { "alias": "", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "Value", "thresholds": [ "0.8", "1" ], "type": "number", "unit": "short" } ], "targets": [ { "expr": "wrk2_benchmark_run_node_loadavg{kind!=\"raw\",exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "instant": true, "legendFormat": "{{kind}} {{interval}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Load generator node(s) per core / thread CPU load", "transform": "timeseries_to_rows", "transparent": true, "type": "table" }, { "datasource": null, "gridPos": { "h": 48, "w": 24, "x": 0, "y": 44 }, "id": 18, "options": { "displayMode": "gradient", "fieldOptions": { "calcs": [ "lastNotNull" ], "defaults": { "decimals": 3, "mappings": [], "max": 10000, "min": 0, "thresholds": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 600 }, { "color": "red", "value": 1000 } ], "unit": "ms" }, "override": {}, "values": false }, "orientation": "horizontal" }, "pluginVersion": "6.5.0", "targets": [ { "expr": "wrk2_benchmark_latency_detailed_ms{exported_instance=\"$instance\",run=\"$run\",exported_job=\"$job\"}", "format": "time_series", "instant": true, "intervalFactor": 1, "legendFormat": " {{p}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Detailed latency percentile histogram (milliseconds)", "transparent": true, "type": "bargauge" } ], "refresh": "", "schemaVersion": 21, "style": "dark", "tags": [], "templating": { "list": [ { "allValue": null, "current": { "isNone": true, "selected": false, "text": "None", "value": "" }, "datasource": "Prometheus", "definition": "wrk2_benchmark_progress", "hide": 0, "includeAll": false, "label": "Benchmark job", "multi": false, "name": "job", "options": [], "query": "wrk2_benchmark_progress", "refresh": 2, "regex": "/.*exported_job=\"([^\"]*).*/", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "isNone": true, "selected": false, "text": "None", "value": "" }, "datasource": "Prometheus", "definition": "wrk2_benchmark_progress{exported_job=\"$job\"}", "hide": 0, "includeAll": false, "label": "Target application", "multi": false, "name": "instance", "options": [], "query": "wrk2_benchmark_progress{exported_job=\"$job\"}", "refresh": 2, "regex": "/.*exported_instance=\"([^\"]*).*/", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "isNone": true, "selected": false, "text": "None", "value": "" }, "datasource": "Prometheus", "definition": "wrk2_benchmark_progress{exported_job=\"$job\",exported_instance=\"$instance\"}", "hide": 0, "includeAll": false, "label": "Benchmark run", "multi": false, "name": "run", "options": [], "query": "wrk2_benchmark_progress{exported_job=\"$job\",exported_instance=\"$instance\"}", "refresh": 2, "regex": "/.*run=\"([^\"]*).*/", "skipUrlSync": false, "sort": 2, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-5m", "to": "now" }, "timepicker": { "refresh_intervals": [ "1s", "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "wrk2 benchmark cockpit", "uid": null, "version": 2 } } ================================================ FILE: dashboards/grafana-wrk2-summary-orchestrator.json ================================================ { "meta": { "type": "db", "canSave": true, "canEdit": true, "canAdmin": false, "canStar": true, "slug": "wrk2-summary-orchestrator", "expires": "0001-01-01T00:00:00Z", "created": "2020-07-28T11:50:20Z", "updated": "2020-07-28T13:18:16Z", "updatedBy": "admin", "createdBy": "admin", "version": 21, "hasAcl": false, "isFolder": false, "folderId": 0, "folderTitle": "General", "folderUrl": "", "provisioned": false, "provisionedExternalId": "" }, "dashboard": { "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": 29, "iteration": 1595941631187, "links": [], "panels": [ { "content": "

Benchmark latency summary

\n
\n

Bare Metal, Linkerd, and Istio compared

", "datasource": null, "gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 }, "id": 44, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.5 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 0, "y": 3 }, "id": 12, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.75 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 3, "y": 3 }, "id": 36, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.9 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 6, "y": 3 }, "id": 37, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.99 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 9, "y": 3 }, "id": 38, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.999 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 12, "y": 3 }, "id": 43, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.9999 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 15, "y": 3 }, "id": 41, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.99999 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 18, "y": 3 }, "id": 40, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
1.0 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 21, "y": 3 }, "id": 39, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 0, "y": 5 }, "hiddenSeries": false, "id": 2, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 1, "y": 5 }, "hiddenSeries": false, "id": 14, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 2, "y": 5 }, "hiddenSeries": false, "id": 23, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 3, "y": 5 }, "hiddenSeries": false, "id": 3, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 4, "y": 5 }, "hiddenSeries": false, "id": 15, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 5, "y": 5 }, "hiddenSeries": false, "id": 24, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 6, "y": 5 }, "hiddenSeries": false, "id": 5, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 7, "y": 5 }, "hiddenSeries": false, "id": 16, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 8, "y": 5 }, "hiddenSeries": false, "id": 25, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 9, "y": 5 }, "hiddenSeries": false, "id": 4, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 10, "y": 5 }, "hiddenSeries": false, "id": 17, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 11, "y": 5 }, "hiddenSeries": false, "id": 26, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 12, "y": 5 }, "hiddenSeries": false, "id": 7, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 13, "y": 5 }, "hiddenSeries": false, "id": 18, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 14, "y": 5 }, "hiddenSeries": false, "id": 27, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 15, "y": 5 }, "hiddenSeries": false, "id": 6, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 16, "y": 5 }, "hiddenSeries": false, "id": 19, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 17, "y": 5 }, "hiddenSeries": false, "id": 28, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 18, "y": 5 }, "hiddenSeries": false, "id": 9, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 19, "y": 5 }, "hiddenSeries": false, "id": 20, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 20, "y": 5 }, "hiddenSeries": false, "id": 29, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 21, "y": 5 }, "hiddenSeries": false, "id": 8, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 0, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 0.5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 22, "y": 5 }, "hiddenSeries": false, "id": 21, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 23, "y": 5 }, "hiddenSeries": false, "id": 30, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "content": "
\n

Bare Metal latency percentiles
", "datasource": null, "gridPos": { "h": 2, "w": 24, "x": 0, "y": 14 }, "id": 63, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 0, "y": 16 }, "hiddenSeries": false, "id": 45, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.5 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 2, "y": 16 }, "hiddenSeries": false, "id": 46, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.75 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 4, "y": 16 }, "hiddenSeries": false, "id": 48, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 6, "y": 16 }, "hiddenSeries": false, "id": 47, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 8, "y": 16 }, "hiddenSeries": false, "id": 49, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 10, "y": 16 }, "hiddenSeries": false, "id": 50, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 12, "y": 16 }, "hiddenSeries": false, "id": 51, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 14, "y": 16 }, "hiddenSeries": false, "id": 52, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "1.0 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "columns": [], "datasource": "Prometheus", "fontSize": "100%", "gridPos": { "h": 9, "w": 8, "x": 16, "y": 16 }, "id": 33, "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 6, "desc": false }, "styles": [ { "alias": "benchmark run (click to open in cockpit)", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD_HH:mm:ss", "decimals": 2, "link": true, "linkTargetBlank": true, "linkTooltip": "Go to run ${__cell_4}.", "linkUrl": "/dashboard/db/wrk2-benchmark-cockpit-orchestrator?var-cluster=${__cell_1}&var-job=bare-metal&var-instance=${__cell_3}&var-run=${__cell_4}&from=${__cell_5}&to=${__cell_2}", "mappingType": 1, "pattern": "source_run", "thresholds": [], "type": "number", "unit": "dateTimeAsIso", "valueMaps": [] }, { "alias": "", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "Value", "thresholds": [ "500", "5000" ], "type": "number", "unit": "ms" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "(Time|exported_instance|end|start)", "thresholds": [], "type": "hidden", "unit": "short" } ], "targets": [ { "expr": "max(wrk2_benchmark_summary_latency_ms{exported_job=\"bare-metal\",requested_rps=\"$rps\", p=\"1.0\",source_run!~\"$exclude_runs\"}) by (exported_instance,start,end,source_run,cluster,value)", "format": "table", "hide": false, "instant": true, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Peak latencies (1.0 percentile)", "transform": "table", "transparent": true, "type": "table" }, { "content": "
\n

Linkerd latency percentiles
", "datasource": null, "gridPos": { "h": 2, "w": 24, "x": 0, "y": 25 }, "id": 62, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 0, "y": 27 }, "hiddenSeries": false, "id": 54, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.5 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 2, "y": 27 }, "hiddenSeries": false, "id": 55, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.75 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 4, "y": 27 }, "hiddenSeries": false, "id": 56, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 6, "y": 27 }, "hiddenSeries": false, "id": 57, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 8, "y": 27 }, "hiddenSeries": false, "id": 58, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 10, "y": 27 }, "hiddenSeries": false, "id": 59, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 12, "y": 27 }, "hiddenSeries": false, "id": 60, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 14, "y": 27 }, "hiddenSeries": false, "id": 61, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "1.0 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "columns": [], "datasource": "Prometheus", "fontSize": "100%", "gridPos": { "h": 9, "w": 8, "x": 16, "y": 27 }, "id": 76, "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 1, "desc": true }, "styles": [ { "alias": "benchmark run (click to open in cockpit)", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD_HH:mm:ss", "decimals": 2, "link": true, "linkTargetBlank": true, "linkTooltip": "Go to run ${__cell_4}.", "linkUrl": "/dashboard/db/wrk2-benchmark-cockpit-orchestrator?var-cluster=${__cell_1}&var-job=svcmesh-linkerd&var-instance=${__cell_3}&var-run=${__cell_4}&from=${__cell_5}&to=${__cell_2}", "mappingType": 1, "pattern": "source_run", "thresholds": [], "type": "number", "unit": "dateTimeAsIso", "valueMaps": [] }, { "alias": "", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "Value", "thresholds": [ "500", "5000" ], "type": "number", "unit": "ms" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "(Time|exported_instance|end|start)", "thresholds": [], "type": "hidden", "unit": "short" } ], "targets": [ { "expr": "max(wrk2_benchmark_summary_latency_ms{exported_job=\"svcmesh-linkerd\",requested_rps=\"$rps\", p=\"1.0\",source_run!~\"$exclude_runs\"}) by (exported_instance,start,end,source_run,cluster,value)", "format": "table", "hide": false, "instant": true, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Peak latencies (1.0 percentile)", "transform": "table", "transparent": true, "type": "table" }, { "content": "
\n

Istio latency percentiles
", "datasource": null, "gridPos": { "h": 2, "w": 24, "x": 0, "y": 36 }, "id": 53, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 0, "y": 38 }, "hiddenSeries": false, "id": 64, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.5 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 2, "y": 38 }, "hiddenSeries": false, "id": 65, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.75 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 4, "y": 38 }, "hiddenSeries": false, "id": 72, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 6, "y": 38 }, "hiddenSeries": false, "id": 67, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 8, "y": 38 }, "hiddenSeries": false, "id": 71, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 10, "y": 38 }, "hiddenSeries": false, "id": 73, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 12, "y": 38 }, "hiddenSeries": false, "id": 74, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 14, "y": 38 }, "hiddenSeries": false, "id": 75, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "1.0 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "columns": [], "datasource": "Prometheus", "fontSize": "100%", "gridPos": { "h": 9, "w": 8, "x": 16, "y": 38 }, "id": 77, "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 5, "desc": true }, "styles": [ { "alias": "benchmark run (click to open in cockpit)", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD_HH:mm:ss", "decimals": 2, "link": true, "linkTargetBlank": true, "linkTooltip": "Go to run ${__cell_4}.", "linkUrl": "/dashboard/db/wrk2-benchmark-cockpit-orchestrator?var-cluster=${__cell_1}&var-job=svcmesh-istio&var-instance=${__cell_3}&var-run=${__cell_4}&from=${__cell_5}&to=${__cell_2}", "mappingType": 1, "pattern": "source_run", "thresholds": [], "type": "number", "unit": "dateTimeAsIso", "valueMaps": [] }, { "alias": "", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "Value", "thresholds": [ "500", "5000" ], "type": "number", "unit": "ms" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "(Time|exported_instance|end|start)", "thresholds": [], "type": "hidden", "unit": "short" } ], "targets": [ { "expr": "max(wrk2_benchmark_summary_latency_ms{exported_job=\"svcmesh-istio\",requested_rps=\"$rps\", p=\"1.0\",source_run!~\"$exclude_runs\"}) by (exported_instance,start,end,source_run,cluster,value)", "format": "table", "hide": false, "instant": true, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Peak latencies (1.0 percentile)", "transform": "table", "transparent": true, "type": "table" } ], "refresh": false, "schemaVersion": 21, "style": "dark", "tags": [], "templating": { "list": [ { "allValue": null, "current": { "tags": [], "text": "1500.0", "value": "1500.0" }, "datasource": "Prometheus", "definition": "wrk2_benchmark_summary_latency_ms", "hide": 0, "includeAll": false, "label": "Requested RPS", "multi": false, "name": "rps", "options": [], "query": "wrk2_benchmark_summary_latency_ms", "refresh": 2, "regex": "/.*requested_rps=\"([^\"]*).*/", "skipUrlSync": false, "sort": 4, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "tags": [], "text": "No exclusion", "value": "No exclusion" }, "hide": 0, "includeAll": false, "label": "Exclude", "multi": false, "name": "exclude", "options": [ { "selected": false, "text": "run", "value": "run" }, { "selected": true, "text": "No exclusion", "value": "No exclusion" } ], "query": "run,No exclusion", "skipUrlSync": false, "type": "custom" }, { "allValue": null, "current": { "text": "None", "value": [ "" ] }, "datasource": "Prometheus", "definition": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\"}", "hide": 0, "includeAll": false, "label": "Runs to exclude", "multi": true, "name": "exclude_runs", "options": [ { "isNone": true, "selected": true, "text": "None", "value": "" } ], "query": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\"}", "refresh": 0, "regex": "/.*source_$exclude=\"([^\"]*)\".*/", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-5m", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "wrk2 Summary (orchestrator)", "uid": null, "version": 21 } } ================================================ FILE: dashboards/grafana-wrk2-summary.json ================================================ { "meta": { "type": "db", "canSave": true, "canEdit": true, "canAdmin": false, "canStar": true, "slug": "wrk2-summary", "expires": "0001-01-01T00:00:00Z", "created": "2020-07-25T15:25:31Z", "updated": "2020-07-28T13:32:27Z", "updatedBy": "admin", "createdBy": "Anonymous", "version": 15, "hasAcl": false, "isFolder": false, "folderId": 0, "folderTitle": "General", "folderUrl": "", "provisioned": false, "provisionedExternalId": "" }, "dashboard": { "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": 27, "iteration": 1595943063198, "links": [], "panels": [ { "content": "

Benchmark latency summary

\n
\n

Bare Metal, Linkerd, and Istio compared

", "datasource": null, "gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 }, "id": 44, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.5 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 0, "y": 3 }, "id": 12, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.75 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 3, "y": 3 }, "id": 36, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.9 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 6, "y": 3 }, "id": 37, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.99 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 9, "y": 3 }, "id": 38, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.999 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 12, "y": 3 }, "id": 43, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.9999 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 15, "y": 3 }, "id": 41, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
0.99999 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 18, "y": 3 }, "id": 40, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "content": "
\n
1.0 percentile
", "datasource": null, "gridPos": { "h": 2, "w": 3, "x": 21, "y": 3 }, "id": 39, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 0, "y": 5 }, "hiddenSeries": false, "id": 2, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 1, "y": 5 }, "hiddenSeries": false, "id": 14, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 2, "y": 5 }, "hiddenSeries": false, "id": 23, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 3, "y": 5 }, "hiddenSeries": false, "id": 3, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 4, "y": 5 }, "hiddenSeries": false, "id": 15, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 5, "y": 5 }, "hiddenSeries": false, "id": 24, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 6, "y": 5 }, "hiddenSeries": false, "id": 5, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 7, "y": 5 }, "hiddenSeries": false, "id": 16, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 8, "y": 5 }, "hiddenSeries": false, "id": 25, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 9, "y": 5 }, "hiddenSeries": false, "id": 4, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 10, "y": 5 }, "hiddenSeries": false, "id": 17, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 11, "y": 5 }, "hiddenSeries": false, "id": 26, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 12, "y": 5 }, "hiddenSeries": false, "id": 7, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 13, "y": 5 }, "hiddenSeries": false, "id": 18, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 14, "y": 5 }, "hiddenSeries": false, "id": 27, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 15, "y": 5 }, "hiddenSeries": false, "id": 6, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 16, "y": 5 }, "hiddenSeries": false, "id": 19, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 17, "y": 5 }, "hiddenSeries": false, "id": 28, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 18, "y": 5 }, "hiddenSeries": false, "id": 9, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 19, "y": 5 }, "hiddenSeries": false, "id": 20, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 20, "y": 5 }, "hiddenSeries": false, "id": 29, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 21, "y": 5 }, "hiddenSeries": false, "id": 8, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 0, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 0.5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "bare", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 22, "y": 5 }, "hiddenSeries": false, "id": 21, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "linkerd", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 1, "x": 23, "y": 5 }, "hiddenSeries": false, "id": 30, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "istio", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": false }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "content": "
\n

Bare Metal latency percentiles
", "datasource": null, "gridPos": { "h": 2, "w": 24, "x": 0, "y": 14 }, "id": 63, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 0, "y": 16 }, "hiddenSeries": false, "id": 45, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.5 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 2, "y": 16 }, "hiddenSeries": false, "id": 46, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.75 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 4, "y": 16 }, "hiddenSeries": false, "id": 48, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 6, "y": 16 }, "hiddenSeries": false, "id": 47, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 8, "y": 16 }, "hiddenSeries": false, "id": 49, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 10, "y": 16 }, "hiddenSeries": false, "id": 50, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 12, "y": 16 }, "hiddenSeries": false, "id": 51, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 14, "y": 16 }, "hiddenSeries": false, "id": 52, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"bare-metal\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "1.0 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "columns": [], "datasource": "Prometheus", "fontSize": "100%", "gridPos": { "h": 9, "w": 8, "x": 16, "y": 16 }, "id": 33, "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 4, "desc": true }, "styles": [ { "alias": "benchmark run (click to open in cockpit)", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD_HH:mm:ss", "decimals": 2, "link": true, "linkTargetBlank": true, "linkTooltip": "Go to run ${__cell_3}.", "linkUrl": "/dashboard/db/wrk2-benchmark-cockpit?var-job=bare-metal&var-instance=${__cell_2}&var-run=${__cell_3}&from=${__cell_4}&to=${__cell_1}", "mappingType": 1, "pattern": "source_run", "thresholds": [], "type": "number", "unit": "dateTimeAsIso", "valueMaps": [] }, { "alias": "", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "Value", "thresholds": [ "500", "5000" ], "type": "number", "unit": "ms" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "(Time|exported_instance|end|start)", "thresholds": [], "type": "hidden", "unit": "short" } ], "targets": [ { "expr": "max(wrk2_benchmark_summary_latency_ms{exported_job=\"bare-metal\",requested_rps=\"$rps\", p=\"1.0\",source_run!~\"$exclude_runs\"}) by (exported_instance,start,end,source_run,value)", "format": "table", "hide": false, "instant": true, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Peak latencies (1.0 percentile)", "transform": "table", "transparent": true, "type": "table" }, { "content": "
\n

Linkerd latency percentiles
", "datasource": null, "gridPos": { "h": 2, "w": 24, "x": 0, "y": 25 }, "id": 62, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 0, "y": 27 }, "hiddenSeries": false, "id": 54, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.5 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 2, "y": 27 }, "hiddenSeries": false, "id": 55, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.75 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 4, "y": 27 }, "hiddenSeries": false, "id": 56, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 6, "y": 27 }, "hiddenSeries": false, "id": 57, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 8, "y": 27 }, "hiddenSeries": false, "id": 58, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 10, "y": 27 }, "hiddenSeries": false, "id": 59, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 12, "y": 27 }, "hiddenSeries": false, "id": 60, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 14, "y": 27 }, "hiddenSeries": false, "id": 61, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"svcmesh-linkerd\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "1.0 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "columns": [], "datasource": "Prometheus", "fontSize": "100%", "gridPos": { "h": 9, "w": 8, "x": 16, "y": 27 }, "id": 76, "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 4, "desc": true }, "styles": [ { "alias": "benchmark run (click to open in cockpit)", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD_HH:mm:ss", "decimals": 2, "link": true, "linkTargetBlank": true, "linkTooltip": "Go to run ${__cell_3}.", "linkUrl": "/dashboard/db/wrk2-benchmark-cockpit?var-job=svcmesh-linkerd&var-instance=${__cell_2}&var-run=${__cell_3}&from=${__cell_4}&to=${__cell_1}", "mappingType": 1, "pattern": "source_run", "thresholds": [], "type": "number", "unit": "dateTimeAsIso", "valueMaps": [] }, { "alias": "", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "Value", "thresholds": [ "500", "5000" ], "type": "number", "unit": "ms" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "(Time|exported_instance|end|start)", "thresholds": [], "type": "hidden", "unit": "short" } ], "targets": [ { "expr": "max(wrk2_benchmark_summary_latency_ms{exported_job=\"svcmesh-linkerd\",requested_rps=\"$rps\", p=\"1.0\",source_run!~\"$exclude_runs\"}) by (exported_instance,start,end,source_run,value)", "format": "table", "hide": false, "instant": true, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Peak latencies (1.0 percentile)", "transform": "table", "transparent": true, "type": "table" }, { "content": "
\n

Istio latency percentiles
", "datasource": null, "gridPos": { "h": 2, "w": 24, "x": 0, "y": 36 }, "id": 53, "mode": "html", "options": {}, "timeFrom": null, "timeShift": null, "title": "", "transparent": true, "type": "text" }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 0, "y": 38 }, "hiddenSeries": false, "id": 64, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.5\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.5 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 2, "y": 38 }, "hiddenSeries": false, "id": 65, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.75\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.75 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 4, "y": 38 }, "hiddenSeries": false, "id": 72, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 6, "y": 38 }, "hiddenSeries": false, "id": 67, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 8, "y": 38 }, "hiddenSeries": false, "id": 71, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 10, "y": 38 }, "hiddenSeries": false, "id": 73, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.9999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.9999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 12, "y": 38 }, "hiddenSeries": false, "id": 74, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"0.99999\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "0.99999 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": null, "fill": 3, "fillGradient": 0, "gridPos": { "h": 9, "w": 2, "x": 14, "y": 38 }, "hiddenSeries": false, "id": 75, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.5.0", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\",p=\"1.0\",exported_job=\"svcmesh-istio\",source_run!~\"$exclude_runs\"}", "format": "time_series", "instant": false, "legendFormat": "Run {{source_run}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "1.0 percentile", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": false, "values": [] }, "yaxes": [ { "format": "ms", "label": null, "logBase": 2, "max": "30000", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "columns": [], "datasource": "Prometheus", "fontSize": "100%", "gridPos": { "h": 9, "w": 8, "x": 16, "y": 38 }, "id": 77, "options": {}, "pageSize": null, "showHeader": true, "sort": { "col": 4, "desc": true }, "styles": [ { "alias": "benchmark run (click to open in cockpit)", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD_HH:mm:ss", "decimals": 2, "link": true, "linkTargetBlank": true, "linkTooltip": "Go to run ${__cell_3}.", "linkUrl": "/dashboard/db/wrk2-benchmark-cockpit?var-job=svcmesh-istio&var-instance=${__cell_2}&var-run=${__cell_3}&from=${__cell_4}&to=${__cell_1}", "mappingType": 1, "pattern": "source_run", "thresholds": [], "type": "number", "unit": "dateTimeAsIso", "valueMaps": [] }, { "alias": "", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "Value", "thresholds": [ "500", "5000" ], "type": "number", "unit": "ms" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "(Time|exported_instance|end|start)", "thresholds": [], "type": "hidden", "unit": "short" } ], "targets": [ { "expr": "max(wrk2_benchmark_summary_latency_ms{exported_job=\"svcmesh-istio\",requested_rps=\"$rps\", p=\"1.0\",source_run!~\"$exclude_runs\"}) by (exported_instance,start,end,source_run,value)", "format": "table", "hide": false, "instant": true, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Peak latencies (1.0 percentile)", "transform": "table", "transparent": true, "type": "table" } ], "refresh": false, "schemaVersion": 21, "style": "dark", "tags": [], "templating": { "list": [ { "allValue": null, "current": { "text": "70000", "value": "70000" }, "datasource": "Prometheus", "definition": "wrk2_benchmark_summary_latency_ms", "hide": 0, "includeAll": false, "label": "Requested RPS", "multi": false, "name": "rps", "options": [], "query": "wrk2_benchmark_summary_latency_ms", "refresh": 2, "regex": "/.*requested_rps=\"([^\"]*).*/", "skipUrlSync": false, "sort": 4, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": "run", "value": "run" }, "hide": 0, "includeAll": false, "label": "Exclude", "multi": false, "name": "exclude", "options": [ { "selected": true, "text": "No exclusion", "value": "No exclusion" }, { "selected": false, "text": "run", "value": "run" } ], "query": "No exclusion,run", "skipUrlSync": false, "type": "custom" }, { "allValue": null, "current": { "text": "2020-07-27_07:30:31", "value": "2020-07-27_07:30:31" }, "datasource": "Prometheus", "definition": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\"}", "hide": 0, "includeAll": false, "label": "Runs to exclude", "multi": true, "name": "exclude_runs", "options": [ { "isNone": true, "selected": true, "text": "None", "value": "" } ], "query": "wrk2_benchmark_summary_latency_ms{requested_rps=\"$rps\"}", "refresh": 0, "regex": "/.*source_$exclude=\"([^\"]*)\".*/", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-5m", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "wrk2 Summary", "uid": null, "version": 15 } } ================================================ FILE: dashboards/upload_dashboard.sh ================================================ #!/bin/bash [ $# -lt 3 ] && { echo echo "$0 - Upload a Grafana dashboard back-up (JOSON file) to Grafana" echo "Usage: $0 " echo exit 1 } apikey="$1" dashboard="$2" host="$3" echo "Uploading dashboard file $dashboard" out=$(mktemp) cat "$dashboard" \ | jq '. * {overwrite: true, dashboard: {id: null}}' \ | curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $apikey" \ http://$host/api/dashboards/import -d @- | tee $out echo -e "\nDashboard available at $host/$(cat "$out" | jq -r '.importedUrl')" rm -f "$out" ================================================ FILE: metrics-merger/Dockerfile ================================================ FROM alpine MAINTAINER Kinvolk RUN apk add --update --no-cache python3 py-pip RUN pip install prometheus-http-client prometheus-client COPY ./merger.py / RUN chmod 755 ./merger.py ENTRYPOINT ["/usr/bin/python3", "/merger.py"] ================================================ FILE: metrics-merger/README.md ================================================ # Service mesh benchmark automation metrics merger The `merger.py` tool and accompanying Docker build recipe implement results merging of individual benchmark runs. `merger.py` will query individual run results from Prometheus, merge the data to create a summary, then publish the summary to a push gateway. The merger job should run after every benchmark, to keep the [summary dashboard](../dashboards/grafana-wrk2-summary.json) up to date. `merger.py` will merge all data of completed runs (`{status="done"}`) of (currently hard-coded) `bare-metal`, `svcmesh-linkerd`, and `svcmesh-istio` jobs, The benchmark starter script `config/run_benchmark.sh` will use these job names. # Usage ## Build ```shell $ docker build -t merger . ``` ## Run ```shell $ docker run -ti --net host merger ``` e.g. ```shell $ docker run -ti --net host merger http://localhost:9090 localhost:9091 ``` ## Run in a cluster Kinvolk maintains a [docker image at quay.io](https://quay.io/repository/kinvolk/svcmesh-bench-results-merger) A convenience YAML file is supplied for manual deployment: ```shell $ kubectl apply -f metrics-merger.yaml ``` ================================================ FILE: metrics-merger/merger.py ================================================ #!/usr/bin/env python3 import json import time import pprint from sys import argv, exit from os import environ from collections import OrderedDict from prometheus_http_client import Prometheus from prometheus_client import CollectorRegistry, Gauge, push_to_gateway def get_series(p, series): m = p.series([series]) j = json.loads(m) return j.get("data",[]) # -- def get_results(p, query, past_days=7): # Returns results of a range query, so we pick up older runs' latencies now = time.time() start_ts = now - (60 * 60 * 24 * past_days) m = p.query_rang(metric=query,start=start_ts, end=now, step=3600) j = json.loads(m) return j.get("data",{}).get("result") # -- def get_completed_runs(p, mesh): s = get_series(p, 'wrk2_benchmark_progress{exported_job="%s",status="done"}'%(mesh,)) r = sorted([ i.get("run") for i in s ]) return r # -- def run_time_info(p, run, past_days=7): info = {} for kind in ["start", "end", "duration"]: res = get_results(p, 'wrk2_benchmark_run_runtime{kind="%s",run="%s"}' % (kind,run), past_days) try: info[kind] = int(res[0]["values"][0][1]) except IndexError: print(" !!! Run %s lacks '%s' metric." % (run,kind)) return None return info # -- def get_latency_histogram(run,detailed=False,past_days=7): # return RPS, histogram of a single run as dict # , {: , ...} # e.g.: 500, {0.5: 399, 0.75: 478, 0.9: 589, ...} ret=OrderedDict() if detailed: detailed="detailed_" else: detailed="" out=[] rps=0 for res in get_results( p, 'wrk2_benchmark_latency_%sms{run="%s"}' %(detailed,run,), past_days): perc = float(res["metric"]["p"]) rps = float(res["metric"].get("rps",0)) lat = float(res["values"][0][1]) ret[perc] = lat out.append("%s: %s" % (perc,lat)) if detailed == "": print(" Run %s @%sRPS (%s): %s" % (run, rps, "coarse" if detailed == "" else "detailed", "\t".join(out))) return rps, ret # -- def get_latency_histograms(p, mesh, detailed=False, past_days=7): # get all runs for a given service mesh. # Returns dict of latency percentiles: # { : [ , , , ...], :...}, # : [...]} # and info (doct) for each run (rps, start end, duration) if False == detailed: print("Mesh %s" %(mesh,)) histograms={} info = {} for run in get_completed_runs(p, mesh): rps, h = get_latency_histogram(run, detailed, past_days) i = run_time_info(p, run, past_days) if not i: continue info[run] = i info[run]["rps"] = rps for perc,lat in h.items(): if histograms.get(perc, False): histograms[perc][run]=lat else: histograms[perc] = OrderedDict({run:lat}) # sort runs' latencies for each percentile for perc in histograms.keys(): histograms[perc] = {k: v for k, v in sorted(histograms[perc].items(), key=lambda item: item[1])} return histograms, info # -- def create_summary_gauge(p, mesh, r, detailed=False, past_days=7): histograms, info = get_latency_histograms(p, mesh, detailed, past_days) if detailed: detailed="detailed_" else: detailed="" g = Gauge('wrk2_benchmark_summary_latency_%sms' % (detailed,), '%s latency summary' % (detailed,), labelnames=[ "p","source_run", "requested_rps", "start", "end", "duration"], registry=r) percs_count=0 # create latency entries for all runs, per percentile for perc, latencies in histograms.items(): percs_count = percs_count + 1 for run, lat in latencies.items(): g.labels(p=perc, source_run=run, requested_rps=info[run]["rps"], start=info[run]["start"]*1000, # dashboard link fix: set end to 1min after actual end end = (info[run]["end"] + 60) *1000, duration=info[run]["duration"]).set(lat) return g, percs_count, len(info) # -- # # -- main -- # if 3 > len(argv): print( 'Command line error: Prometheus URL and push gateway are required.') print('Usage:') print(' %s []' % (argv[0],)) exit(1) prometheus_url = argv[1] pgw_url = argv[2] past_days=7 if 4 == len(argv): past_days=int(argv[3]) environ['PROMETHEUS_URL'] = prometheus_url p = Prometheus() for mesh in ["bare-metal", "svcmesh-linkerd", "svcmesh-istio"]: r = CollectorRegistry() workaround = mesh g, percs, runs = create_summary_gauge(p, mesh, r, past_days=past_days) dg, dpercs, druns = create_summary_gauge(p, mesh, r, detailed=True, past_days=past_days) print("%s: %d runs with %d percentiles (coarse)" % (mesh, runs, percs)) print("%s: %d runs with %d percentiles (detailed)" % (mesh, druns, dpercs)) push_to_gateway( pgw_url, job=mesh, grouping_key={"instance":"emojivoto"}, registry=r) ================================================ FILE: scripts/run_benchmarks.sh ================================================ #!/bin/bash script_location="$(dirname "${BASH_SOURCE[0]}")" function grace() { grace=10 [ -n "$2" ] && grace="$2" while true; do eval $1 if [ $? -eq 0 ]; then sleep 1 grace=10 continue fi if [ $grace -gt 0 ]; then sleep 1 echo "grace period: $grace" grace=$(($grace-1)) continue fi break done } # -- function check_meshed() { local ns_prefix="$1" echo "Checking for unmeshed pods in '$ns_prefix'" kubectl get pods --all-namespaces \ | grep "$ns_prefix" | grep -vE '[012]/2' [ $? -ne 0 ] && return 0 return 1 } # -- function install_emojivoto() { local mesh="$1" echo "Installing emojivoto." for num in $(seq 0 1 59); do { kubectl create namespace emojivoto-$num [ "$mesh" == "istio" ] && \ kubectl label namespace emojivoto-$num istio-injection=enabled helm install emojivoto-$num --namespace emojivoto-$num \ ${script_location}/../configs/emojivoto/ } & done wait grace "kubectl get pods --all-namespaces | grep emojivoto | grep -v Running" 10 } # -- function restart_emojivoto_pods() { for num in $(seq 0 1 59); do local ns="emojivoto-$num" echo "Restarting pods in $ns" { local pods="$(kubectl get -n "$ns" pods | grep -vE '^NAME' | awk '{print $1}')" kubectl delete -n "$ns" pods $pods --wait; } & done wait grace "kubectl get pods --all-namespaces | grep emojivoto | grep -v Running" 10 } # -- function delete_emojivoto() { echo "Deleting emojivoto." for i in $(seq 0 1 59); do { helm uninstall emojivoto-$i --namespace emojivoto-$i; kubectl delete namespace emojivoto-$i --wait; } & done wait grace "kubectl get namespaces | grep emojivoto" } # -- function run() { echo " Running '$@'" $@ } # -- function install_benchmark() { local mesh="$1" local rps="$2" local duration=600 local init_delay=10 local app_count=$(kubectl get namespaces | grep emojivoto | wc -l) echo "Running $mesh benchmark" kubectl create ns benchmark [ "$mesh" == "istio" ] && \ kubectl label namespace benchmark istio-injection=enabled if [ "$mesh" != "bare-metal" ] ; then helm install benchmark --namespace benchmark \ --set wrk2.serviceMesh="$mesh" \ --set wrk2.app.count="$app_count" \ --set wrk2.RPS="$rps" \ --set wrk2.duration=$duration \ --set wrk2.connections=128 \ --set wrk2.initDelay=$init_delay \ ${script_location}/../configs/benchmark/ else helm install benchmark --namespace benchmark \ --set wrk2.app.count="$app_count" \ --set wrk2.RPS="$rps" \ --set wrk2.duration=$duration \ --set wrk2.initDelay=$init_delay \ --set wrk2.connections=128 \ ${script_location}/../configs/benchmark/ fi } # -- function run_bench() { local mesh="$1" local rps="$2" install_benchmark "$mesh" "$rps" grace "kubectl get pods -n benchmark | grep wrk2-prometheus | grep -v Running" 10 echo "Benchmark started." while kubectl get jobs -n benchmark \ | grep wrk2-prometheus \ | grep -qv 1/1; do kubectl logs \ --tail 1 -n benchmark jobs/wrk2-prometheus -c wrk2-prometheus sleep 10 done echo "Benchmark concluded. Updating summary metrics." helm install --create-namespace --namespace metrics-merger \ metrics-merger ${script_location}/../configs/metrics-merger/ sleep 5 while kubectl get jobs -n metrics-merger \ | grep wrk2-metrics-merger \ | grep -v "1/1"; do sleep 1 done kubectl logs -n metrics-merger jobs/wrk2-metrics-merger echo "Cleaning up." helm uninstall benchmark --namespace benchmark kubectl delete ns benchmark --wait helm uninstall --namespace metrics-merger metrics-merger kubectl delete ns metrics-merger --wait } # -- function istio_extra_cleanup() { # this is ugly but istio-system namespace gets stuck sometimes kubectl get -n istio-system \ istiooperators.install.istio.io \ istiocontrolplane \ -o json \ | sed 's/"istio-finalizer.install.istio.io"//' \ | kubectl apply -f - lokoctl component delete experimental-istio-operator \ --confirm --delete-namespace kubectl delete --now --timeout=10s $(kubectl get clusterroles -o name | grep istio) kubectl delete --now --timeout=10s $(kubectl get clusterrolebindings -o name | grep istio) kubectl delete --now --timeout=10s $(kubectl get crd -o name | grep istio) kubectl delete --now --timeout=10s \ $(kubectl get validatingwebhookconfigurations -o name | grep istio) kubectl delete --now --timeout=10s \ $(kubectl get mutatingwebhookconfigurations -o name | grep istio) } # -- function delete_istio() { lokoctl component delete experimental-istio-operator --delete-namespace --confirm [ $? -ne 0 ] && { # this sometimes fails with a namespace error, works the 2nd time sleep 5 lokoctl component delete experimental-istio-operator --delete-namespace --confirm; } grace "kubectl get namespaces | grep istio-operator" 1 kubectl delete namespace istio-system --now --timeout=30s for i in $(seq 20); do istio_extra_cleanup kubectl get namespaces | grep istio-system || break sleep 1 done } # -- function run_benchmarks() { for rps in 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 5500; do for repeat in 1 2 3 4 5; do echo "########## Run #$repeat w/ $rps RPS" echo " +++ bare metal benchmark" install_emojivoto bare-metal run_bench bare-metal $rps delete_emojivoto echo " +++ linkerd benchmark" echo "Installing linkerd" lokoctl component apply experimental-linkerd [ $? -ne 0 ] && { # this sometimes fails with a namespace error, works the 2nd time sleep 5 lokoctl component apply experimental-linkerd; } grace "kubectl get pods --all-namespaces | grep linkerd | grep -v Running" install_emojivoto linkerd run_bench linkerd $rps delete_emojivoto echo "Removing linkerd" lokoctl component delete experimental-linkerd --delete-namespace --confirm kubectl delete namespace linkerd --now --timeout=30s grace "kubectl get namespaces | grep linkerd" echo " +++ istio benchmark" echo "Installing istio" lokoctl component apply experimental-istio-operator grace "kubectl get pods --all-namespaces | grep istio-operator | grep -v Running" sleep 30 # extra sleep to let istio initialise. Sidecar injection will # fail otherwise. install_emojivoto istio while true; do check_meshed "emojivoto-" && { echo " ++ Emojivoto is fully meshed." break; } echo " !!! Emojivoto is not fully meshed." echo " Deleting and re-deploying Istio." delete_istio lokoctl component apply experimental-istio-operator grace "kubectl get pods --all-namespaces | grep istio-operator | grep -v Running" sleep 30 echo " !!! Restarting all Emojivoto pods." restart_emojivoto_pods done run_bench istio $rps delete_emojivoto echo "Removing istio" delete_istio done done } # -- if [ "$(basename $0)" = "run_benchmarks.sh" ] ; then run_benchmarks $@ fi