From 497ec393b1c4292b4ba47ad84fbe4b3c52c9ebd8 Mon Sep 17 00:00:00 2001 From: Brave Cobra Date: Thu, 25 Nov 2021 21:33:08 +0100 Subject: [PATCH] Removed shell variant --- docs/installation-argocd.md | 7 +- docs/installation-shell.md | 40 - docs/installation-terraform.md | 45 +- docs/introduction.md | 21 +- docs/preparation/cli.md | 127 +- docs/preparation/k3d.md | 44 +- docs/preparation/kind.md | 37 +- mkdocs.yml | 8 +- src/shell/Makefile | 253 -- src/shell/argocd/argo-values.yaml | 214 - .../cert-manager/crds/cluster-issuer.yaml | 8 - src/shell/coredns/coredns.yaml | 29 - src/shell/coredns/test-dns-job.yaml | 13 - .../crds/elasticsearch-ingress.yaml | 24 - .../elasticsearch/crds/elasticsearch.yaml | 31 - .../elasticsearch/crds/kibana-ingress.yaml | 24 - src/shell/elasticsearch/crds/kibana.yaml | 41 - .../elasticsearch/crds/serviceaccount.yaml | 14 - src/shell/elasticsearch/eck-values.yaml | 1 - .../crds/identity-cert.yaml | 15 - .../identityserver4admin-values.yaml | 106 - .../identityserver4-admin/mssql-values.yaml | 23 - src/shell/jaeger/crds/all-in-one.yaml | 27 - .../jaeger/crds/jaeger-admin-service.yaml | 18 - src/shell/jaeger/crds/jaeger-cert.yaml | 13 - src/shell/jaeger/crds/udp-ingress.yaml | 13 - src/shell/jaeger/jaeger-values.yaml | 4 - src/shell/linkerd/crds/ingress.yaml | 32 - src/shell/linkerd/crds/linkerd-cert.yaml | 64 - src/shell/linkerd/linkerd-jaeger-values.yaml | 36 - src/shell/linkerd/linkerd-values.yaml | 6 - src/shell/linkerd/linkerd-viz-values.yaml | 10 - src/shell/loki/loki-values.yaml | 12 - src/shell/loki/promtail-values.yaml | 12 - src/shell/metrics/metrics-values.yaml | 7 - .../argocd/argocd-grafana-dashboard.json | 3995 ----------------- .../argocd/argocd-grafana-dashboard.yaml | 1486 ------ .../jaeger/jaeger-grafana-dashboard.json | 2669 ----------- .../jaeger/jaeger-grafana-dashboard.yaml | 913 ---- .../loki/loki-monitor-dashboard.json | 2385 ---------- .../loki/loki-monitor-dashboard.yaml | 835 ---- .../loki/loki-promtail-dashboard.json | 409 -- .../loki/loki-promtail-dashboard.yaml | 145 - .../prometheus/crds/dashboards/readme.md | 33 - .../traefik/traefik-grafana-dashboard.json | 1416 ------ .../traefik/traefik-grafana-dashboard.yaml | 483 -- src/shell/prometheus/crds/jaeger-monitor.yaml | 18 - .../prometheus/crds/prometheus-cert.yaml | 14 - .../prometheus/crds/traefik-monitor.yaml | 20 - src/shell/prometheus/crds/traefik-rules.yaml | 21 - src/shell/prometheus/prometheus-values.yaml | 183 - src/shell/traefik/crds/cert-store.yaml | 9 - src/shell/traefik/crds/dashboard.yaml | 17 - .../crds/http-redirect-middleware.yaml | 7 - src/shell/traefik/crds/traefik-cert.yaml | 16 - .../traefik/crds/traefik-metrics-service.yaml | 13 - src/shell/traefik/traefik-values.yaml | 94 - .../vault/crds/vault-auth-serviceaccount.yaml | 13 - src/shell/vault/vault-admin-policy.json | 14 - src/shell/vault/vault-values.yaml | 47 - src/terraform/modules/metrics/main.tf | 2 - .../prometheus/crds/dashboards/readme.md | 18 +- 62 files changed, 152 insertions(+), 16502 deletions(-) delete mode 100644 docs/installation-shell.md delete mode 100644 src/shell/Makefile delete mode 100644 src/shell/argocd/argo-values.yaml delete mode 100644 src/shell/cert-manager/crds/cluster-issuer.yaml delete mode 100644 src/shell/coredns/coredns.yaml delete mode 100644 src/shell/coredns/test-dns-job.yaml delete mode 100644 src/shell/elasticsearch/crds/elasticsearch-ingress.yaml delete mode 100644 src/shell/elasticsearch/crds/elasticsearch.yaml delete mode 100644 src/shell/elasticsearch/crds/kibana-ingress.yaml delete mode 100644 src/shell/elasticsearch/crds/kibana.yaml delete mode 100644 src/shell/elasticsearch/crds/serviceaccount.yaml delete mode 100644 src/shell/elasticsearch/eck-values.yaml delete mode 100644 src/shell/identityserver4-admin/crds/identity-cert.yaml delete mode 100644 src/shell/identityserver4-admin/identityserver4admin-values.yaml delete mode 100644 src/shell/identityserver4-admin/mssql-values.yaml delete mode 100644 src/shell/jaeger/crds/all-in-one.yaml delete mode 100644 src/shell/jaeger/crds/jaeger-admin-service.yaml delete mode 100644 src/shell/jaeger/crds/jaeger-cert.yaml delete mode 100644 src/shell/jaeger/crds/udp-ingress.yaml delete mode 100644 src/shell/jaeger/jaeger-values.yaml delete mode 100644 src/shell/linkerd/crds/ingress.yaml delete mode 100644 src/shell/linkerd/crds/linkerd-cert.yaml delete mode 100644 src/shell/linkerd/linkerd-jaeger-values.yaml delete mode 100644 src/shell/linkerd/linkerd-values.yaml delete mode 100644 src/shell/linkerd/linkerd-viz-values.yaml delete mode 100644 src/shell/loki/loki-values.yaml delete mode 100644 src/shell/loki/promtail-values.yaml delete mode 100644 src/shell/metrics/metrics-values.yaml delete mode 100644 src/shell/prometheus/crds/dashboards/argocd/argocd-grafana-dashboard.json delete mode 100644 src/shell/prometheus/crds/dashboards/argocd/argocd-grafana-dashboard.yaml delete mode 100644 src/shell/prometheus/crds/dashboards/jaeger/jaeger-grafana-dashboard.json delete mode 100644 src/shell/prometheus/crds/dashboards/jaeger/jaeger-grafana-dashboard.yaml delete mode 100644 src/shell/prometheus/crds/dashboards/loki/loki-monitor-dashboard.json delete mode 100644 src/shell/prometheus/crds/dashboards/loki/loki-monitor-dashboard.yaml delete mode 100644 src/shell/prometheus/crds/dashboards/loki/loki-promtail-dashboard.json delete mode 100644 src/shell/prometheus/crds/dashboards/loki/loki-promtail-dashboard.yaml delete mode 100644 src/shell/prometheus/crds/dashboards/readme.md delete mode 100644 src/shell/prometheus/crds/dashboards/traefik/traefik-grafana-dashboard.json delete mode 100644 src/shell/prometheus/crds/dashboards/traefik/traefik-grafana-dashboard.yaml delete mode 100644 src/shell/prometheus/crds/jaeger-monitor.yaml delete mode 100644 src/shell/prometheus/crds/prometheus-cert.yaml delete mode 100644 src/shell/prometheus/crds/traefik-monitor.yaml delete mode 100644 src/shell/prometheus/crds/traefik-rules.yaml delete mode 100644 src/shell/prometheus/prometheus-values.yaml delete mode 100644 src/shell/traefik/crds/cert-store.yaml delete mode 100644 src/shell/traefik/crds/dashboard.yaml delete mode 100644 src/shell/traefik/crds/http-redirect-middleware.yaml delete mode 100644 src/shell/traefik/crds/traefik-cert.yaml delete mode 100644 src/shell/traefik/crds/traefik-metrics-service.yaml delete mode 100644 src/shell/traefik/traefik-values.yaml delete mode 100644 src/shell/vault/crds/vault-auth-serviceaccount.yaml delete mode 100644 src/shell/vault/vault-admin-policy.json delete mode 100644 src/shell/vault/vault-values.yaml diff --git a/docs/installation-argocd.md b/docs/installation-argocd.md index dd2994ee..e67601eb 100644 --- a/docs/installation-argocd.md +++ b/docs/installation-argocd.md @@ -7,12 +7,13 @@ Open `C:\Windows\system32\drivers\etc\hosts` in an editor as `Administrator` and ```text 127.0.0.1 k8s.local infrastructure.k8s.local traefik.infrastructure.k8s.local -127.0.0.1 jaeger.infrastructure.k8s.local prometheus.infrastructure.k8s.local grafana.infrastructure.k8s.local -127.0.0.1 seq.infrastructure.k8s.local -127.0.0.1 consul.infrastructure.k8s.local vault.infrastructure.k8s.local +127.0.0.1 jaeger.infrastructure.k8s.local prometheus.infrastructure.k8s.local +127.0.0.1 grafana.infrastructure.k8s.local +127.0.0.1 vault.infrastructure.k8s.local 127.0.0.1 es.infrastructure.k8s.local kibana.infrastructure.k8s.local 127.0.0.1 login.k8s.local admin.login.k8s.local api.login.k8s.local 127.0.0.1 argo.k8s.local +127.0.0.1 linkerd.infrastructure.k8s.local ``` ## Generating the CA certificate k8s secret with mkcert diff --git a/docs/installation-shell.md b/docs/installation-shell.md deleted file mode 100644 index e3d3fe1f..00000000 --- a/docs/installation-shell.md +++ /dev/null @@ -1,40 +0,0 @@ -# Installation - -## Prerequisites - -Check you have all the [cli tools](./preparation/cli.md) installed and that you can connect to a running cluster. - -```bash -kubectl cluster-info --context kind-devinfra -``` - -> When you created your local cluster on windows and now runnign WSL, copy your windows context to your WSL installation. - -```bash -cp /mnt/c/users/>/.kube/config ~/.kube/config -``` - -## Update Local DNS - -Since we are running completely locally, we want to add some entries to the hosts file to forward domainnames to our locally running cluster. -On Windows, open `C:\Windows\system32\drivers\etc\hosts` in an editor as `Administrator` and add the following entries. -On linux edit your `/etc/hosts` file as root. - -```text -127.0.0.1 k8s.local infrastructure.k8s.local traefik.infrastructure.k8s.local -127.0.0.1 jaeger.infrastructure.k8s.local prometheus.infrastructure.k8s.local grafana.infrastructure.k8s.local -# 127.0.0.1 seq.infrastructure.k8s.local -127.0.0.1 vault.infrastructure.k8s.local -127.0.0.1 es.infrastructure.k8s.local kibana.infrastructure.k8s.local -127.0.0.1 login.k8s.local admin.login.k8s.local api.login.k8s.local -127.0.0.1 argo.k8s.local -127.0.0.1 linkerd.infrastructure.k8s.local -``` - -## Installer - -Next run the installer in a Linux/WSL shell: - -```bash -make -f ./src/shell/Makefile install -``` diff --git a/docs/installation-terraform.md b/docs/installation-terraform.md index 6b355bbf..cfb5c922 100644 --- a/docs/installation-terraform.md +++ b/docs/installation-terraform.md @@ -1,3 +1,4 @@ + # Installation ## Prerequisites @@ -8,11 +9,12 @@ Check you have all the [cli tools](./preparation/cli.md) installed and that you kubectl cluster-info --context ``` -> When you created your local cluster on windows and now running WSL, copy your windows context to your WSL installation. +!!!Note + When you created your local cluster on windows and now running WSL, copy your windows context to your WSL installation. -```bash -cp /mnt/c/users//.kube/config ~/.kube/config -``` + ```bash + cp /mnt/c/users//.kube/config ~/.kube/config + ``` ## Update Local DNS @@ -22,8 +24,8 @@ On Linux edit your `/etc/hosts` file as root. ```text 127.0.0.1 k8s.local infrastructure.k8s.local traefik.infrastructure.k8s.local -127.0.0.1 jaeger.infrastructure.k8s.local prometheus.infrastructure.k8s.local grafana.infrastructure.k8s.local -# 127.0.0.1 seq.infrastructure.k8s.local +127.0.0.1 jaeger.infrastructure.k8s.local prometheus.infrastructure.k8s.local +127.0.0.1 grafana.infrastructure.k8s.local 127.0.0.1 vault.infrastructure.k8s.local 127.0.0.1 es.infrastructure.k8s.local kibana.infrastructure.k8s.local 127.0.0.1 login.k8s.local admin.login.k8s.local api.login.k8s.local @@ -33,22 +35,23 @@ On Linux edit your `/etc/hosts` file as root. ## Installer -### Linux/WSL +=== "Linux/WSL" -Next run the installer in a Linux/WSL shell: + Next run the installer in a Linux/WSL shell: -```bash -cd src/terraform -./generate-certificate.sh -terraform init -terraform apply -auto-approve -``` + ```bash + helm repo update + cd src/terraform + ./generate-certificate.sh + terraform init + terraform apply -auto-approve + ``` -### Windows +=== "Windows" -```bash -cd src/terraform -./generate-certificate.ps1 -terraform init -terraform apply -auto-approve -``` + ```bash + cd src/terraform + ./generate-certificate.ps1 + terraform init + terraform apply -auto-approve + ``` diff --git a/docs/introduction.md b/docs/introduction.md index e485a8ec..a259acce 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -2,13 +2,14 @@ Using proven opensource software projects, this repo builds a coherent dev environment that offers similar services that the big cloud providers also offer: -| Provides | Used | AWS | Azure | Google | -| ------------ | ------------- | ------------------- | ---------------------- | ------ | -| Logging | loki/promtail | CloudWatch | | | -| Tracing | jaeger | X-Ray | AppInsights | | -| Metrics | prometheus | CloudWatch | | | -| Dashboards | grafana | CloudWatch | | | -| Service Mesh | linkerd | AppMesh | | | -| Ingress | traefik | CloudFront | | | -| Secrets | vault | SSM | Azure Vault | | -| Certificates | cert-manager | Certificate Manager | management certificate | | +| Capability | This repo | AWS | Azure | Google | +| ------------ | ------------- | ---------------------- | ---------------------- | ------ | +| Logging | loki/promtail | CloudWatch | AppInsights | | +| Tracing | jaeger | X-Ray | AppInsights | | +| Metrics | prometheus | CloudWatch | AppInsights | | +| Dashboards | grafana | CloudWatch | AppInsights | | +| Service Mesh | linkerd | AppMesh | Open Service Mesh | | +| Ingress | traefik | CloudFront/API Gateway | Azure FrontDoor | | +| Secrets | vault | SSM | Azure Vault | | +| Certificates | cert-manager | Certificate Manager | Management Certificate | | +| Storage | minio | S3 | Azure Storage | | diff --git a/docs/preparation/cli.md b/docs/preparation/cli.md index 476d3446..99b10838 100644 --- a/docs/preparation/cli.md +++ b/docs/preparation/cli.md @@ -1,77 +1,58 @@ # Installing commandline tools -## Windows - -### Choco - Install/download the CLIs. -```powershell -choco install kind -choco install base64 -choco install mkcert -choco install kubernetes-cli -choco install kubernetes-helm -choco install linkerd2 -choco install k3d -``` - -### Installing the argoCD CLI - -Follow the [guide](https://argoproj.github.io/argo-cd/cli_installation/) - -```powershell -$version = (Invoke-RestMethod https://api.github.com/repos/argoproj/argo-cd/releases/latest).tag_name -$url = "https://github.com/argoproj/argo-cd/releases/download/" + $version + "/argocd-windows-amd64.exe" -$output = "argocd.exe" -Invoke-WebRequest -Uri $url -OutFile $output -``` - -For 2.0.3 an env variable needs to be set holding the name of the executable. This is missing from the docs. - -```powershell -$env:ARGOCD_BINARY_NAME = 'argocd' -``` - -Now move `argocd.exe` to a location in your PATH. - -## Linux/WSL - -```bash -sudo apt-get update -sudo apt-get install -y apt-transport-https ca-certificates curl wget libnss3-tools cl-base64 - -# kind (if needed) -curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64 -chmod +x ./kind -mv ./kind /usr/local/bin/kind - -# mkcert (if needed) -wget -O mkcert https://github.com/FiloSottile/mkcert/releases/download/v1.4.3/mkcert-v1.4.3-linux-amd64 -sudo mv mkcert-v1.4.3-linux-amd64 /usr/local/bin/mkcert -sudo chmod +x /usr/local/bin/mkcert - -# kubctl -sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg -echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list -sudo apt-get update -sudo apt-get install -y kubectl - -# helm -curl https://baltocdn.com/helm/signing.asc | sudo apt-key add - -sudo apt-get install apt-transport-https --yes -echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list -sudo apt-get update -sudo apt-get install helm - -# argocd (if needed) -sudo curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64 -sudo chmod +x /usr/local/bin/argocd - -#linkerd -curl -sL https://run.linkerd.io/install | sh -export PATH=$PATH:~/.linkerd2/bin - -#k3d (if needed) -wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash -``` +=== "Windows" + + ```powershell + choco install kind + choco install base64 + choco install mkcert + choco install kubernetes-cli + choco install kubernetes-helm + choco install linkerd2 + choco install k3d + choco install argocd-cli + choco install terraform + ``` + +=== "Linux" + + ```bash + sudo apt-get update + sudo apt-get install -y apt-transport-https ca-certificates curl wget libnss3-tools cl-base64 + + # kind (if needed) + curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64 + chmod +x ./kind + mv ./kind /usr/local/bin/kind + + # mkcert (if needed) + wget -O mkcert https://github.com/FiloSottile/mkcert/releases/download/v1.4.3/mkcert-v1.4.3-linux-amd64 + sudo mv mkcert-v1.4.3-linux-amd64 /usr/local/bin/mkcert + sudo chmod +x /usr/local/bin/mkcert + + # kubctl + sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg + echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list + sudo apt-get update + sudo apt-get install -y kubectl + + # helm + curl https://baltocdn.com/helm/signing.asc | sudo apt-key add - + sudo apt-get install apt-transport-https --yes + echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list + sudo apt-get update + sudo apt-get install helm + + # argocd (if needed) + sudo curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64 + sudo chmod +x /usr/local/bin/argocd + + #linkerd + curl -sL https://run.linkerd.io/install | sh + export PATH=$PATH:~/.linkerd2/bin + + #k3d (if needed) + wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + ``` diff --git a/docs/preparation/k3d.md b/docs/preparation/k3d.md index 3a63720b..54d2ef3d 100644 --- a/docs/preparation/k3d.md +++ b/docs/preparation/k3d.md @@ -1,24 +1,25 @@ + # K3D ## K3D installation ### K3D CLI installation -On Windows: +=== "Windows" -```Powershell -choco install k3d -``` + ```Powershell + choco install k3d + ``` -On linux: +=== "Linux" -```bash -wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash -``` + ```bash + wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + ``` ### Creating a cluster with terraform -Edit `terraform.tfvars` to your needs. Then run `terraform apply` to create the cluster. +Edit `terraform.tfvars` to your needs. By default it will create a 3-node cluster on a custom `Docker` network. Then run to create the cluster, run: ```shell cd ./src/clusters/k3d @@ -26,22 +27,27 @@ terraform init terraform apply --auto-approve ``` -When using WSL2 (Windows Subsystem for Linux), you need to copy the context configuration to your .kubeconfig file on the WSL2 home directory or the other way round, depending on which shell you use to run the terraform code. +!!! Note + When using `WSL2` (Windows Subsystem for Linux), you need to copy the context configuration to your `.kubeconfig` file on the `WSL2` home directory or the other way round, depending on which shell you use to run the terraform code. -```powershell -cp /mnt/c/users/$(whoami)/.kube/config ~/.kube/config -``` + ```powershell + cp /mnt/c/users/$(whoami)/.kube/config ~/.kube/config + ``` -or + or -```powershell -cp ~/.kube/config /mnt/c/users/$(whoami)/.kube/config -``` + ```powershell + cp ~/.kube/config /mnt/c/users/$(whoami)/.kube/config + ``` -The cluster creation automatically add configuration to connect to the new cluster +The cluster creation automatically add configuration to your `kubectl` contexts connect to so you can connect to the new cluster ```powershell kubectl cluster-info --context k3d-devinfra ``` -To delete the cluster again, just run `terraform destroy --auto-approve`. +To delete the cluster again, just run + +```shell +terraform destroy --auto-approve +``` diff --git a/docs/preparation/kind.md b/docs/preparation/kind.md index d4484107..d7042566 100644 --- a/docs/preparation/kind.md +++ b/docs/preparation/kind.md @@ -1,23 +1,25 @@ + # KinD ## KinD installation -Following the [quick-start](https://kind.sigs.k8s.io/docs/user/quick-start/), installing `kind` in fairly straightforward. +Following the [quick-start](https://kind.sigs.k8s.io/docs/user/quick-start/), installing `kind` is fairly straightforward. -On Windows: +=== "Windows" -```Powershell -choco install kind -``` + ```Powershell + choco install kind + ``` -On linux: +=== "Linux" -```bash -curl -sL https://run.linkerd.io/install | sh -export PATH=$PATH:~/.linkerd2/bin -``` + ```bash + curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64 + chmod +x ./kind + mv ./kind /some-dir-in-your-PATH/kind + ``` -### Creating a cluster with terraform +### Creating a cluster with `terraform` Edit `terraform.tfvars` to your needs. Then run `terraform apply` to create the cluster. @@ -27,6 +29,12 @@ terraform init terraform apply --auto-approve ``` +Verify with + +```hell +kubectl cluster-info --context kind-devinfra +``` + ### Creating a 3-node k8s-cluster An example of running a multi-node cluster on docker can be done with `kind`. There are some restrictions with Windows. The provided config `./src/clusters/kind/config-devinfra.yaml` provides a 3-node cluster. There is also a `traefik` ingress test setup to verify your networking configuration. @@ -58,10 +66,3 @@ When using WSL (Windows Subsystem for Linux), you need to copy the context confi ```powershell cp /mnt/c/users/$(whoami)/.kube/config ~/.kube/config ``` - -The same commands have been added to the `makefile` to simplify the creation of the cluster. - -```bash -make -f ./src/shell/Makefile create_cluster_wsl -make -f ./src/shell/Makefile clean -``` diff --git a/mkdocs.yml b/mkdocs.yml index a7767a43..7b2a6188 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,6 +1,8 @@ site_name: K8S Dev Infrastructure theme: name: material + features: + - content.tabs.link nav: - Home: 'index.md' - Introduction: 'introduction.md' @@ -15,7 +17,6 @@ nav: - Testing Ingress: './preparation/test-ingress-controller.md' - Install: - Terraform: './installation-terraform.md' - - Shell: './installation-shell.md' - ArgoCD: './installation-argocd.md' - About: - 'License': 'license.md' @@ -23,4 +24,7 @@ nav: dev_addr: '0.0.0.0:8080' markdown_extensions: - - pymdownx.tabbed \ No newline at end of file + - admonition + - pymdownx.superfences + - pymdownx.tabbed: + alternate_style: true \ No newline at end of file diff --git a/src/shell/Makefile b/src/shell/Makefile deleted file mode 100644 index af3359fc..00000000 --- a/src/shell/Makefile +++ /dev/null @@ -1,253 +0,0 @@ -SHELL := /bin/bash -_all: install - -metrics_helm_version=5.10.4 -traefik_helm_version=10.3.6 -certmanager_helm_version=v1.5.4 -jaeger_helm_version=2.25.0 -prometheus_helm_version=19.0.2 -loki_helm_version=2.6.0 -promtail_helm_version=3.8.1 -vault_helm_version=0.16.1 -elastic_helm_version=1.8.0 -mssql_helm_version=0.1.0 -identityserver4admin_helm_version=0.5.2 -argocd_helm_version=3.24.0 -linkerd_version=2.11.0 -linkerd_viz_version=2.11.0 -linkerd_jaeger_version=2.11.0 - -INSTALL_LINKERD ?= true -INSTALL_PROMETHEUS ?= true -INSTALL_LOKI ?= true -INSTALL_JAEGER ?= true -INSTALL_VAULT ?= true -INSTALL_ELASTICSEARCH ?= true -INSTALL_IDENTITYSERVER ?= true -INSTALL_ARGOCD ?= true - -### Don't edit after this line ### - -targets=.init .metrics .certmanager - -ifeq ($(INSTALL_LINKERD),true) - targets+= .linkerd .linkerd_viz -endif - targets+= .traefik -ifeq ($(INSTALL_PROMETHEUS),true) - targets+= .prometheus -endif -ifeq ($(INSTALL_LOKI),true) - targets+= .loki -endif -ifeq ($(INSTALL_JAEGER),true) - targets+= .jaeger -endif -ifeq ($(INSTALL_VAULT),true) - targets+= .vault -endif -ifeq ($(INSTALL_IDENTITYSERVER),true) - targets+= .identityserver -endif -ifeq ($(INSTALL_ARGOCD),true) - targets+= .argocd -endif -ifeq ($(INSTALL_ELASTICSEARCH),true) - targets+= .elasticsearch -endif - targets+= .output_creds - -create_cluster_wsl: create_cluster - @whoami | xargs -i cp /mnt/c/users/'{}'/.kube/config /mnt/c/users/'{}'/.kube/config.bak - @whoami | xargs -i cp ~/.kube/config /mnt/c/users/'{}'/.kube/config - -create_cluster: - @echo "Creating registry container" - @docker run -d --restart=always -p "127.0.0.1:5000:5000" --name "kind-registry" registry:2 - @kind create cluster --name=devinfra --config ./src/clusters/kind/config-devinfra.yaml - @docker network connect "kind" "kind-registry" - @kubectl apply -f ./src/clusters/kind/config-registry.yaml - @echo "Cluster created" -# @echo Adjusting fs.inotify.max_user_watches -# @sudo sysctl fs.inotify.max_user_watches=524288 -# @sudo sysctl fs.inotify.max_user_instances=512 -# You might need use the above command(s) to fix an error happening on a node when running promtail: Too many open files - -delete_cluster: - @kind delete cluster --name devinfra - @docker rm $(shell docker stop $(shell docker ps -a -q --filter ancestor=registry:2 --format="{{.ID}}")) - -install: $(targets) - -clean: delete_cluster - -.init: - @echo Generating CA vertificate - @mkdir -p ./src/certs -ifdef WSLENV - @cp $(shell wslpath `wslvar LOCALAPPDATA`)/mkcert/rootCA.pem ./src/certs/cacerts.crt - @cp $(shell wslpath `wslvar LOCALAPPDATA`)/mkcert/rootCA-key.pem ./src/certs/cacerts.key - @cp ./src/certs/cacerts.crt ~/.local/share/mkcert/rootCA.pem - @cp ./src/certs/cacerts.key ~/.local/share/mkcert/rootCA-key.pem - @mkcert -install -else - @mkcert -install - @cp ~/.local/share/mkcert/rootCA.pem ./src/certs/cacerts.crt - @cp ~/.local/share/mkcert/rootCA-key.pem ./src/certs/cacerts.key -endif - @kubectl create secret tls ca-key-pair --namespace=cert-manager --cert=./src/certs/cacerts.crt --key=./src/certs/cacerts.key --dry-run=client -o yaml > ./src/shell/cert-manager/crds/cacerts.yaml - - @helm repo add bitnami https://charts.bitnami.com/bitnami - @echo Creating namespaces - @helm repo add jetstack https://charts.jetstack.io - @kubectl create namespace cert-manager --dry-run=client -o yaml | kubectl apply -f - - - @helm repo add traefik https://helm.traefik.io/traefik - @kubectl create namespace traefik --dry-run=client -o yaml | kubectl apply -f - - @kubectl annotate --overwrite namespace traefik linkerd.io/inject=enabled -ifeq ($(INSTALL_PROMETHEUS),true) - @helm repo add prometheus-community https://prometheus-community.github.io/helm-charts - @helm repo add grafana https://grafana.github.io/helm-charts - @kubectl create namespace prometheus --dry-run=client -o yaml | kubectl apply -f - - @kubectl annotate --overwrite namespace prometheus linkerd.io/inject=enabled -endif -ifeq ($(INSTALL_LOKI), true) - @kubectl create namespace loki --dry-run=client -o yaml | kubectl apply -f - - @kubectl annotate --overwrite namespace loki linkerd.io/inject=enabled -endif -ifeq ($(INSTALL_JAEGER),true) - @helm repo add jaegertracing https://jaegertracing.github.io/helm-charts - @kubectl create namespace jaeger --dry-run=client -o yaml | kubectl apply -f - - @kubectl annotate --overwrite namespace jaeger linkerd.io/inject=enabled -endif -ifeq ($(INSTALL_ELASTICSEARCH),true) - @helm repo add elastic https://helm.elastic.co - @kubectl create namespace elasticsearch --dry-run=client -o yaml | kubectl apply -f - - @kubectl annotate --overwrite namespace elasticsearch linkerd.io/inject=enabled -endif -ifeq ($(INSTALL_IDENTITYSERVER),true) - @helm repo add identityserver4admin https://bravecobra.github.io/identityserver4.admin-helm/charts/ - @kubectl create namespace identityserver4 --dry-run=client -o yaml | kubectl apply -f - - @kubectl annotate --overwrite namespace identityserver4 linkerd.io/inject=enabled -endif -ifeq ($(INSTALL_ARGOCD),true) - @helm repo add argo https://argoproj.github.io/argo-helm - @kubectl create namespace argocd --dry-run=client -o yaml | kubectl apply -f - - @kubectl annotate --overwrite namespace argocd linkerd.io/inject=enabled -endif -ifeq ($(INSTALL_VAULT),true) - @helm repo add hashicorp https://helm.releases.hashicorp.com - @kubectl create namespace vault --dry-run=client -o yaml | kubectl apply -f - - @kubectl annotate --overwrite namespace vault linkerd.io/inject=enabled -endif -ifeq ($(INSTALL_LINKERD),true) - @helm repo add linkerd https://helm.linkerd.io/stable -# linkerd namespace - @kubectl create namespace linkerd --dry-run=client -o yaml | kubectl apply -f - - @kubectl annotate --overwrite namespace linkerd linkerd.io/inject=disabled - @kubectl label --overwrite namespaces linkerd config.linkerd.io/admission-webhooks=disabled -# linkerd-viz namespace -# @kubectl create namespace linkerd-viz --dry-run=client -o yaml | kubectl apply -f - -# @kubectl annotate --overwrite namespace linkerd-viz linkerd.io/inject=enabled -# @kubectl label --overwrite namespaces linkerd-viz config.linkerd.io/admission-webhooks=enabled -# linkerd-jaeger namespace -# @kubectl create namespace linkerd-jaeger --dry-run=client -o yaml | kubectl apply -f - -# @kubectl annotate --overwrite namespace linkerd-jaeger linkerd.io/inject=enabled -# @kubectl label --overwrite namespaces linkerd-jaeger config.linkerd.io/admission-webhooks=enabled - -endif - @helm repo update - -.metrics: .init - @helm upgrade --install --wait metrics-server bitnami/metrics-server -n kube-system --version=${metrics_helm_version} --values=./src/shell/metrics/metrics-values.yaml - -.certmanager: .init - @kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/${certmanager_helm_version}/cert-manager.crds.yaml - @helm upgrade --install --wait cert-manager jetstack/cert-manager -n cert-manager --version ${certmanager_helm_version} --set installCRDs=false - @kubectl apply -f ./src/shell/cert-manager/crds/ - -.traefik: .init - @kubectl apply -f ./src/shell/traefik/crds/traefik-cert.yaml - @sleep 10s - @helm upgrade --install --wait traefik traefik/traefik -n traefik --version ${traefik_helm_version} -f ./src/shell/traefik/traefik-values.yaml - @kubectl apply -f ./src/shell/traefik/crds/ - -.linkerd: .init - @kubectl apply -f ./src/shell/linkerd/crds/linkerd-cert.yaml - @sleep 10s - @kubectl get secret linkerd-identity-issuer -n linkerd -o jsonpath="{.data.tls\\.crt}" | base64 -d > ./src/shell/linkerd/crds/ca.crt - @helm upgrade --install --wait linkerd2 linkerd/linkerd2 -n linkerd --version ${linkerd_version} --set-file identityTrustAnchorsPEM=./src/shell/linkerd/crds/ca.crt --set identity.issuer.scheme=kubernetes.io/tls --set installNamespace=false -f ./src/shell/linkerd/linkerd-values.yaml - @sleep 10s - -.prometheus: .init - @helm upgrade --install --wait prometheus prometheus-community/kube-prometheus-stack -n prometheus --version ${prometheus_helm_version} -f ./src/shell/prometheus/prometheus-values.yaml -ifeq ($(INSTALL_ARGOCD),true) - @kubectl apply -f ./src/shell/prometheus/crds/dashboards/argocd/argocd-grafana-dashboard.yaml -endif -ifeq ($(INSTALL_JAEGER),true) - @kubectl apply -f ./src/shell/prometheus/crds/jaeger-monitor.yaml - @kubectl apply -f ./src/shell/prometheus/crds/dashboards/jaeger/jaeger-grafana-dashboard.yaml -endif -ifeq ($(INSTALL_LOKI),true) - @kubectl apply -f ./src/shell/prometheus/crds/dashboards/loki/loki-monitor-dashboard.yaml - @kubectl apply -f ./src/shell/prometheus/crds/dashboards/loki/loki-promtail-dashboard.yaml -endif - @kubectl apply -f ./src/shell/prometheus/crds/traefik-monitor.yaml - @kubectl apply -f ./src/shell/prometheus/crds/traefik-rules.yaml - @kubectl apply -f ./src/shell/prometheus/crds/prometheus-cert.yaml - @kubectl apply -f ./src/shell/prometheus/crds/dashboards/traefik/traefik-grafana-dashboard.yaml - - -.linkerd_viz: .init - @helm upgrade --install --wait linkerd-viz linkerd/linkerd-viz -n linkerd --version ${linkerd_viz_version} -f ./src/shell/linkerd/linkerd-viz-values.yaml - @kubectl apply -f ./src/shell/linkerd/crds/ingress.yaml - - -ifeq ($(INSTALL_JAEGER),true) - @helm upgrade --install --wait linkerd-jaeger linkerd/linkerd-jaeger -n linkerd --version ${linkerd_jaeger_version} -f ./src/shell/linkerd/linkerd-jaeger-values.yaml - @kubectl apply -f ./src/shell/linkerd/crds/ingress.yaml -endif - -.jaeger: .init - @helm upgrade --install --wait jaeger jaegertracing/jaeger-operator -n jaeger --version ${jaeger_helm_version} -f ./src/shell/jaeger/jaeger-values.yaml - @sleep 10s - @kubectl apply -f ./src/shell/jaeger/crds/ - -.loki: .init - @helm upgrade --install --wait loki grafana/loki -n loki --version ${loki_helm_version} -f ./src/shell/loki/loki-values.yaml - @helm upgrade --install --wait promtail grafana/promtail -n loki --version ${promtail_helm_version} -f ./src/shell/loki/promtail-values.yaml - -.vault: .init - @helm upgrade --install --wait vault hashicorp/vault -n vault --version ${vault_helm_version} -f ./src/shell/vault/vault-values.yaml - @kubectl apply -f ./src/shell/vault/crds/ - -.elasticsearch: .init - @helm upgrade --install --wait elastic-operator elastic/eck-operator -n elasticsearch --version ${elastic_helm_version} -f ./src/shell/elasticsearch/eck-values.yaml - @kubectl apply -f ./src/shell/elasticsearch/crds/ - -.identityserver: .init - @helm upgrade --install --wait mssql identityserver4admin/mssql -n identityserver4 --version ${mssql_helm_version} -f ./src/shell/identityserver4-admin/mssql-values.yaml - @kubectl get configmap coredns -n kube-system -o yaml > ./src/shell/coredns/coredns-orig.yaml - @if ! grep -q "identityserver4" ./src/shell/coredns/coredns-orig.yaml; then cat ./src/shell/coredns/coredns-orig.yaml | sed -e 's/ready/rewrite name login.k8s.local identityserver4-identity.identityserver4.svc.cluster.local\n rewrite name admin.login.k8s.local identityserver4-admin.identityserver4.svc.cluster.local\n ready/g' > ./src/shell/coredns/coredns-patched.yaml; kubectl apply -f ./src/shell/coredns/coredns-patched.yaml; fi; - @helm upgrade --install --wait identityserver4 identityserver4admin/identityserver4admin -n identityserver4 --version ${identityserver4admin_helm_version} -f ./src/shell/identityserver4-admin/identityserver4admin-values.yaml - @kubectl apply -f ./src/shell/identityserver4-admin/crds/identity-cert.yaml - -.argocd: .init - helm upgrade --install --wait argocd argo/argo-cd -n argocd --version ${argocd_helm_version} -f ./src/shell/argocd/argo-values.yaml - -.output_creds: -ifeq ($(INSTALL_ELASTICSEARCH),true) - @echo "Elasticsearch username: elastic" - @kubectl get secret elastic-es-es-elastic-user -n elasticsearch -o jsonpath='{.data.elastic}' | base64 -d | xargs echo "Elasticsearch password:$1" -endif -ifeq ($(INSTALL_ARGOCD),true) - @echo "ArgoCD username: admin" - @kubectl get secret argocd-initial-admin-secret -n argocd -o jsonpath="{.data.password}" | base64 -d | xargs echo "ArgoCD password:$1" -endif -ifeq ($(INSTALL_VAULT),true) - @echo "Vault token: root" -endif -ifeq ($(INSTALL_PROMETHEUS),true) - @kubectl get secret prometheus-grafana -n prometheus -o jsonpath="{.data.admin-user}" | base64 -d | xargs echo "Grafana user:$1" - @kubectl get secret prometheus-grafana -n prometheus -o jsonpath="{.data.admin-password}" | base64 -d | xargs echo "Grafana password:$1" -endif diff --git a/src/shell/argocd/argo-values.yaml b/src/shell/argocd/argo-values.yaml deleted file mode 100644 index 335f596f..00000000 --- a/src/shell/argocd/argo-values.yaml +++ /dev/null @@ -1,214 +0,0 @@ -# Override of: https://github.com/argoproj/argo-helm/blob/master/charts/argo-cd/values.yaml - -global: - image: - tag: v2.0.3 -server: - # resources: - # limits: - # cpu: 200m - # memory: 256Mi - # requests: - # cpu: 100m - # memory: 128Mi - ingress: - enabled: true - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd - labels: {} - hosts: - - argo.k8s.local - paths: - - / - extraPaths: - - path: /* - pathType: Prefix - backend: - service: - name: argocd-server - port: - number: 443 - tls: - - secretName: argocd-tls-certificate - hosts: - - argo.k8s.local - https: true - ingressGrpc: - enabled: true - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd - labels: {} - hosts: - - argo.k8s.local - paths: - - / - extraPaths: - - path: /* - pathType: Prefix - backend: - service: - name: argocd-server - port: - number: 443 - tls: - - secretName: argocd-tls-certificate - hosts: - - argo.k8s.local - https: true - extraArgs: [] - # - --insecure - certificate: - enabled: true - domain: argo.k8s.local - issuer: - kind: ClusterIssuer - name: selfsigned-ca-issuer - additionalHosts: [] - secretName: argocd-tls-certificate - config: - url: https://argo.k8s.local - repositories: | - - type: helm - name: stable - url: https://charts.helm.sh/stable - - type: helm - name: argo-cd - url: https://argoproj.github.io/argo-helm - - type: helm - name: cert-manager - url: https://charts.jetstack.io - - type: helm - name: traefik - url: https://helm.traefik.io/traefik - resource.customizations: | - argoproj.io/Application: - health.lua: | - hs = {} - hs.status = "Progressing" - hs.message = "" - if obj.status ~= nil then - if obj.status.health ~= nil then - hs.status = obj.status.health.status - if obj.status.health.message ~= nil then - hs.message = obj.status.health.message - end - end - end - return hs - jaegertracing.io/Jaeger: - health.lua: | - hs = {} - hs.status = "Healthy" - return hs - admissionregistration.k8s.io/ValidatingWebhookConfiguration: - ignoreDifferences: | - jsonPointers: - - /webhooks/0/clientConfig/caBundle - - /webhooks/1/clientConfig/caBundle - - /webhooks/2/clientConfig/caBundle - - /webhooks/3/clientConfig/caBundle - - /webhooks/4/clientConfig/caBundle - - /webhooks/5/clientConfig/caBundle - - /webhooks/6/clientConfig/caBundle - - /webhooks/7/clientConfig/caBundle - - /webhooks/8/clientConfig/caBundle - - /webhooks/9/clientConfig/caBundle - admissionregistration.k8s.io/MutatingWebhookConfiguration: - ignoreDifferences: | - jsonPointers: - - /webhooks/0/clientConfig/caBundle - - /webhooks/1/clientConfig/caBundle - - /webhooks/2/clientConfig/caBundle - - /webhooks/3/clientConfig/caBundle - - /webhooks/4/clientConfig/caBundle - - /webhooks/5/clientConfig/caBundle - - /webhooks/6/clientConfig/caBundle - - /webhooks/7/clientConfig/caBundle - metrics: - enabled: true - service: - annotations: {} - labels: {} - servicePort: 8082 - serviceMonitor: - namespace: argocd - enabled: true - interval: 30s - additionalLabels : - release: prometheus - # selector: - # prometheus: prometheus-kube-prometheus-prometheus - # namespace: prometheus - # additionalLabels: {} - -controller: - metrics: - enabled: true - service: - annotations: {} - labels: {} - servicePort: 8082 - serviceMonitor: - namespace: argocd - enabled: true - interval: 30s - additionalLabels : - release: prometheus - # resources: - # limits: - # cpu: 500m - # memory: 1Gi - # requests: - # cpu: 250m - # memory: 500Mi -dex: - enabled: false - # resources: - # limits: - # cpu: 50m - # memory: 64Mi - # requests: - # cpu: 10m - # memory: 32Mi -redis: - metrics: - enabled: true - service: - annotations: {} - labels: {} - servicePort: 8082 - serviceMonitor: - namespace: argocd - enabled: true - interval: 30s - additionalLabels : - release: prometheus - # resources: - # limits: - # cpu: 200m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 64Mi -repoServer: - metrics: - enabled: true - service: - annotations: {} - labels: {} - servicePort: 8082 - serviceMonitor: - namespace: argocd - enabled: true - interval: 30s - additionalLabels : - release: prometheus - # resources: - # limits: - # cpu: 50m - # memory: 128Mi - # requests: - # cpu: 10m - # memory: 64Mi \ No newline at end of file diff --git a/src/shell/cert-manager/crds/cluster-issuer.yaml b/src/shell/cert-manager/crds/cluster-issuer.yaml deleted file mode 100644 index 2cb7fd34..00000000 --- a/src/shell/cert-manager/crds/cluster-issuer.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: ClusterIssuer -metadata: - name: selfsigned-ca-issuer - namespace: cert-manager -spec: - ca: - secretName: ca-key-pair \ No newline at end of file diff --git a/src/shell/coredns/coredns.yaml b/src/shell/coredns/coredns.yaml deleted file mode 100644 index 3e3655dd..00000000 --- a/src/shell/coredns/coredns.yaml +++ /dev/null @@ -1,29 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: coredns - namespace: kube-system -data: - Corefile: | - .:53 { - errors - health { - lameduck 5s - } - rewrite name login.k8s.local identityserver4-identity.identityserver4.svc.cluster.local - rewrite name admin.login.k8s.local identityserver4-admin.identityserver4.svc.cluster.local - ready - kubernetes cluster.local in-addr.arpa ip6.arpa { - pods insecure - fallthrough in-addr.arpa ip6.arpa - ttl 30 - } - prometheus :9153 - forward . /etc/resolv.conf { - max_concurrent 1000 - } - cache 30 - loop - reload - loadbalance - } diff --git a/src/shell/coredns/test-dns-job.yaml b/src/shell/coredns/test-dns-job.yaml deleted file mode 100644 index 13713a8c..00000000 --- a/src/shell/coredns/test-dns-job.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: dns -spec: - template: - spec: - containers: - - name: dns - image: anubhavmishra/tiny-tools - command: ['dig', 'prometheus-grafana.prometheus.svc.cluster.local'] - restartPolicy: Never - backoffLimit: 4 \ No newline at end of file diff --git a/src/shell/elasticsearch/crds/elasticsearch-ingress.yaml b/src/shell/elasticsearch/crds/elasticsearch-ingress.yaml deleted file mode 100644 index c730ea18..00000000 --- a/src/shell/elasticsearch/crds/elasticsearch-ingress.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: elasticsearch - namespace: elasticsearch - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd -spec: - rules: - - host: es.infrastructure.k8s.local - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: elastic-es-es-http - port: - number: 9200 - tls: - - secretName: traefik-cert - hosts: - - es.infrastructure.k8s.local diff --git a/src/shell/elasticsearch/crds/elasticsearch.yaml b/src/shell/elasticsearch/crds/elasticsearch.yaml deleted file mode 100644 index cfbb41ae..00000000 --- a/src/shell/elasticsearch/crds/elasticsearch.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: elasticsearch.k8s.elastic.co/v1 -kind: Elasticsearch -metadata: - name: elastic-es - namespace: elasticsearch -spec: - version: 7.12.1 - http: - tls: - selfSignedCertificate: - disabled: true - nodeSets: - - name: default - count: 1 - config: - node.store.allow_mmap: false - podTemplate: - spec: - automountServiceAccountToken: true - serviceAccount: elastic-es - containers: - - name: elasticsearch - env: - - name: ES_JAVA_OPTS - value: -Xms1g -Xmx1g - resources: - requests: - memory: 1Gi - cpu: 0.5 - limits: - memory: 1Gi \ No newline at end of file diff --git a/src/shell/elasticsearch/crds/kibana-ingress.yaml b/src/shell/elasticsearch/crds/kibana-ingress.yaml deleted file mode 100644 index 67492ba2..00000000 --- a/src/shell/elasticsearch/crds/kibana-ingress.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: kibana - namespace: elasticsearch - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd -spec: - rules: - - host: kibana.infrastructure.k8s.local - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: elastic-kb-kb-http - port: - number: 5601 - tls: - - secretName: traefik-cert - hosts: - - kibana.infrastructure.k8s.local diff --git a/src/shell/elasticsearch/crds/kibana.yaml b/src/shell/elasticsearch/crds/kibana.yaml deleted file mode 100644 index 3c22b059..00000000 --- a/src/shell/elasticsearch/crds/kibana.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: kibana.k8s.elastic.co/v1 -kind: Kibana -metadata: - name: elastic-kb - namespace: elasticsearch -spec: - version: 7.12.1 - count: 1 - http: - tls: - selfSignedCertificate: - disabled: true - elasticsearchRef: # This connection does not go through the mesh - name: elastic-es - # config: - # elasticsearch.hosts: - # - http://127.0.0.1:9200 - # elasticsearch.username: elastic - # elasticsearch.ssl.verificationMode: none - podTemplate: - - spec: - automountServiceAccountToken: true - serviceAccount: elastic-kb - containers: - - name: kibana - env: - - name: NODE_OPTIONS - value: "--max-old-space-size=2048" - # - name: ELASTICSEARCH_PASSWORD - # valueFrom: - # secretKeyRef: - # name: elastic-es-es-elastic-user - # key: elastic - resources: - requests: - memory: 1Gi - cpu: 0.5 - limits: - memory: 1Gi - cpu: 1 \ No newline at end of file diff --git a/src/shell/elasticsearch/crds/serviceaccount.yaml b/src/shell/elasticsearch/crds/serviceaccount.yaml deleted file mode 100644 index 1fb0d50b..00000000 --- a/src/shell/elasticsearch/crds/serviceaccount.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# Service account for the Elasticsearch service (for ACL enforcement) -apiVersion: v1 -kind: ServiceAccount -metadata: - name: elastic-es - namespace: elasticsearch - ---- -# Service account for the Kibana service (for ACL enforcement) -apiVersion: v1 -kind: ServiceAccount -metadata: - name: elastic-kb - namespace: elasticsearch \ No newline at end of file diff --git a/src/shell/elasticsearch/eck-values.yaml b/src/shell/elasticsearch/eck-values.yaml deleted file mode 100644 index 7a92542b..00000000 --- a/src/shell/elasticsearch/eck-values.yaml +++ /dev/null @@ -1 +0,0 @@ -# Override of: https://github.com/elastic/cloud-on-k8s/blob/1.3/deploy/eck-operator/values.yaml \ No newline at end of file diff --git a/src/shell/identityserver4-admin/crds/identity-cert.yaml b/src/shell/identityserver4-admin/crds/identity-cert.yaml deleted file mode 100644 index e1e21fb1..00000000 --- a/src/shell/identityserver4-admin/crds/identity-cert.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: identity-cert - namespace: identityserver4 -spec: - secretName: identity-cert - issuerRef: - name: selfsigned-ca-issuer - kind: ClusterIssuer - commonName: identity-cert - dnsNames: - - 'login.k8s.local' - - 'admin.login.k8s.local' - - 'api.login.k8s.local' diff --git a/src/shell/identityserver4-admin/identityserver4admin-values.yaml b/src/shell/identityserver4-admin/identityserver4admin-values.yaml deleted file mode 100644 index de9e526e..00000000 --- a/src/shell/identityserver4-admin/identityserver4admin-values.yaml +++ /dev/null @@ -1,106 +0,0 @@ -# Override of : https://github.com/bravecobra/identityserver4.admin-helm/blob/develop/src/identityserver4admin/values.yaml - -seed: - seedidentity: - enabled: true - defaultSeed: true - defaultAdmin: - password: Pa$$word123 - email: your-admin@email.com - seedserverdata: - enabled: true - defaultSeed: true - -certificates: - certManager: - enabled: true - issuerRef: - name: selfsigned-ca-issuer - kind: ClusterIssuer - -admin: - protocol: https - domainName: admin.login.k8s.local - ssl: - enabled: true - secretName: identityserver4-cert-admin - service: - type: ClusterIP - port: 443 - podAnnotations: - "linkerd.io/inject": "enabled" - ingress: - enabled: true - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd - hosts: - - host: admin.login.k8s.local - paths: - - path: / - backend: - serviceName: identityserver4-admin - servicePort: 443 - tls: - - secretName: identity-cert - hosts: - - admin.login.k8s.local -identity: - protocol: https - domainName: login.k8s.local - ssl: - enabled: true - secretName: identityserver4-cert-identity - service: - type: ClusterIP - port: 443 - podAnnotations: - "linkerd.io/inject": "enabled" - ingress: - enabled: true - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd - hosts: - - host: login.k8s.local - paths: - - path: / - backend: - serviceName: identityserver4-identity - servicePort: 443 - tls: - - secretName: identity-cert - hosts: - - login.k8s.local -api: - enabled: true - protocol: https - domainName: api.login.k8s.local - ssl: - enabled: true - secretName: identityserver4-cert-api - service: - type: ClusterIP - port: 443 - podAnnotations: - "linkerd.io/inject": "enabled" - ingress: - enabled: true - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd - hosts: - - host: api.login.k8s.local - paths: - - path: / - backend: - serviceName: identityserver4-api - servicePort: 443 - tls: - - secretName: identity-cert - hosts: - - api.login.k8s.local -mssql: - enabled: false - auth: - password: Toughpass1! \ No newline at end of file diff --git a/src/shell/identityserver4-admin/mssql-values.yaml b/src/shell/identityserver4-admin/mssql-values.yaml deleted file mode 100644 index 93c87f52..00000000 --- a/src/shell/identityserver4-admin/mssql-values.yaml +++ /dev/null @@ -1,23 +0,0 @@ -mssql: - enabled: true - MSSQL_MEMORY_LIMIT_MB: 512 - pvc: - StorageClass: "standard" - userdbaccessMode: ReadWriteOnce - userdbsize: 1Gi - userlogaccessMode: ReadWriteOnce - userlogsize: 1Gi - tempdbaccessMode: ReadWriteOnce - tempsize: 500Mi - mssqldataaccessMode: ReadWriteOnce - mssqldbsize: 500Mi - resources: - limits: - memory: 512Mi - requests: - memory: 256Mi -resources: - limits: - memory: 500Mi - requests: - memory: 250Mi \ No newline at end of file diff --git a/src/shell/jaeger/crds/all-in-one.yaml b/src/shell/jaeger/crds/all-in-one.yaml deleted file mode 100644 index 11b28386..00000000 --- a/src/shell/jaeger/crds/all-in-one.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: jaegertracing.io/v1 -kind: Jaeger -metadata: - name: jaeger - namespace: jaeger -spec: - annotations: - "linkerd.io/inject": "enabled" - ingress: - enabled: true - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd - hosts: - - jaeger.infrastructure.k8s.local - path: / - pathType: Prefix - tls: - - secretName: jaeger-cert - hosts: - - jaeger.infrastructure.k8s.local - allInOne: - options: - query: - base-path: /jaeger - log-level: "debug" - memory.max-traces: 100000 diff --git a/src/shell/jaeger/crds/jaeger-admin-service.yaml b/src/shell/jaeger/crds/jaeger-admin-service.yaml deleted file mode 100644 index 933e84bf..00000000 --- a/src/shell/jaeger/crds/jaeger-admin-service.yaml +++ /dev/null @@ -1,18 +0,0 @@ -kind: Service -apiVersion: v1 -metadata: - name: jaeger-admin - labels: - app: jaeger - namespace: jaeger -spec: - selector: - app: jaeger - app.kubernetes.io/component: all-in-one - app.kubernetes.io/instance: jaeger - app.kubernetes.io/managed-by: jaeger-operator - app.kubernetes.io/name: jaeger - app.kubernetes.io/part-of: jaeger - ports: - - name: admin-http - port: 14269 diff --git a/src/shell/jaeger/crds/jaeger-cert.yaml b/src/shell/jaeger/crds/jaeger-cert.yaml deleted file mode 100644 index e6b960ba..00000000 --- a/src/shell/jaeger/crds/jaeger-cert.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: jaeger-cert - namespace: jaeger -spec: - secretName: jaeger-cert - issuerRef: - name: selfsigned-ca-issuer - kind: ClusterIssuer - commonName: jaeger-cert - dnsNames: - - 'jaeger.infrastructure.k8s.local' diff --git a/src/shell/jaeger/crds/udp-ingress.yaml b/src/shell/jaeger/crds/udp-ingress.yaml deleted file mode 100644 index 5a48b7dc..00000000 --- a/src/shell/jaeger/crds/udp-ingress.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: traefik.containo.us/v1alpha1 -kind: IngressRouteUDP -metadata: - name: jaegeragentudp - namespace: jaeger - -spec: - entryPoints: # [1] - - streaming - routes: # [2] - - services: # [3] - - name: jaeger-agent # [4] - port: 6831 # [5] \ No newline at end of file diff --git a/src/shell/jaeger/jaeger-values.yaml b/src/shell/jaeger/jaeger-values.yaml deleted file mode 100644 index e0d56bd6..00000000 --- a/src/shell/jaeger/jaeger-values.yaml +++ /dev/null @@ -1,4 +0,0 @@ -# Override of : https://github.com/jaegertracing/helm-charts/blob/main/charts/jaeger-operator/values.yaml -# rbac: -# create: true -# clusterRole: true \ No newline at end of file diff --git a/src/shell/linkerd/crds/ingress.yaml b/src/shell/linkerd/crds/ingress.yaml deleted file mode 100644 index e9c66bc6..00000000 --- a/src/shell/linkerd/crds/ingress.yaml +++ /dev/null @@ -1,32 +0,0 @@ -apiVersion: v1 -kind: Secret -type: Opaque -metadata: - name: web-ingress-auth - namespace: linkerd-viz -data: - auth: YWRtaW46JGFwcjEkbjdDdTZnSGwkRTQ3b2dmN0NPOE5SWWpFakJPa1dNLgoK ---- -# apiVersion: networking.k8s.io/v1beta1 # for k8s < v1.19 -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: web-ingress - namespace: linkerd-viz - annotations: - ingress.kubernetes.io/custom-request-headers: l5d-dst-override:web.linkerd-viz.svc.cluster.local:8084 - traefik.ingress.kubernetes.io/auth-type: basic - traefik.ingress.kubernetes.io/auth-secret: web-ingress-auth -spec: - ingressClassName: traefik - rules: - - host: linkerd.infrastructure.k8s.local - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: web - port: - number: 8084 \ No newline at end of file diff --git a/src/shell/linkerd/crds/linkerd-cert.yaml b/src/shell/linkerd/crds/linkerd-cert.yaml deleted file mode 100644 index 25e5609c..00000000 --- a/src/shell/linkerd/crds/linkerd-cert.yaml +++ /dev/null @@ -1,64 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: ClusterIssuer -metadata: - name: selfsigning-issuer -spec: - selfSigned: {} ---- -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: linkerd-trust-anchor - namespace: linkerd -spec: - secretName: linkerd-trust-anchor - # duration: 48h - # renewBefore: 25h - issuerRef: - name: selfsigning-issuer - kind: ClusterIssuer - commonName: linkerd-trust-anchor - dnsNames: - - identity.linkerd.cluster.local - isCA: true - privateKey: - algorithm: ECDSA - # usages: - # - cert sign - # - crl sign - # - server auth - # - client auth ---- - -apiVersion: cert-manager.io/v1 -kind: Issuer -metadata: - name: linkerd-trust-anchor - namespace: linkerd -spec: - ca: - secretName: linkerd-trust-anchor ---- -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: linkerd-identity-issuer - namespace: linkerd -spec: - secretName: linkerd-identity-issuer - duration: 48h - renewBefore: 25h - issuerRef: - name: linkerd-trust-anchor - kind: Issuer - commonName: identity.linkerd.cluster.local - dnsNames: - - identity.linkerd.cluster.local - isCA: true - privateKey: - algorithm: ECDSA - usages: - - cert sign - - crl sign - - server auth - - client auth \ No newline at end of file diff --git a/src/shell/linkerd/linkerd-jaeger-values.yaml b/src/shell/linkerd/linkerd-jaeger-values.yaml deleted file mode 100644 index 965e87cc..00000000 --- a/src/shell/linkerd/linkerd-jaeger-values.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# Override of: https://github.com/linkerd/linkerd2/blob/main/jaeger/charts/linkerd-jaeger/values.yaml -jaeger: - enabled: false -collector: - enabled: true - config: | - receivers: - otlp: - protocols: - grpc: - http: - opencensus: - zipkin: - jaeger: - protocols: - grpc: - thrift_http: - thrift_compact: - thrift_binary: - processors: - batch: - extensions: - health_check: - exporters: - jaeger: - endpoint: jaeger-collector.jaeger.svc.cluster.local:14250 - insecure: true - service: - extensions: [health_check] - pipelines: - traces: - receivers: [otlp,opencensus,zipkin,jaeger] - processors: [batch] - exporters: [jaeger] -# webhook: -# collectorSvcAddr: collector.linkerd-jaeger:55678 \ No newline at end of file diff --git a/src/shell/linkerd/linkerd-values.yaml b/src/shell/linkerd/linkerd-values.yaml deleted file mode 100644 index 1650e1a2..00000000 --- a/src/shell/linkerd/linkerd-values.yaml +++ /dev/null @@ -1,6 +0,0 @@ -# Override of: https://github.com/linkerd/linkerd2/blob/main/charts/linkerd2/values.yaml -namespace: linkerd -identity: - issuer: - scheme: kubernetes.io/tls -# controlPlaneTracing: true \ No newline at end of file diff --git a/src/shell/linkerd/linkerd-viz-values.yaml b/src/shell/linkerd/linkerd-viz-values.yaml deleted file mode 100644 index 76a99de4..00000000 --- a/src/shell/linkerd/linkerd-viz-values.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# Override of: https://github.com/linkerd/linkerd2/blob/main/viz/charts/linkerd-viz/values.yaml - -dashboard: - enforcedHostRegexp: "^linkerd\\.infrastructure\\.k8s\\.local$" -prometheusUrl: http://prometheus-kube-prometheus-prometheus.prometheus:9090 -prometheus: - enabled: false -# grafana: -# enabled: false -jaegerUrl: jaeger-query.jaeger:16686 diff --git a/src/shell/loki/loki-values.yaml b/src/shell/loki/loki-values.yaml deleted file mode 100644 index 411fe250..00000000 --- a/src/shell/loki/loki-values.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# Override of: https://github.com/grafana/loki/blob/main/production/helm/loki/values.yaml - -podAnnotations: - "linkerd.io/inject": "enabled" - -tracing: - jaegerAgentHost: jaeger-agent.jaeger.svc.cluster.local - -serviceMonitor: - enabled: true - additionalLabels: - release: "prometheus" \ No newline at end of file diff --git a/src/shell/loki/promtail-values.yaml b/src/shell/loki/promtail-values.yaml deleted file mode 100644 index 998e29d0..00000000 --- a/src/shell/loki/promtail-values.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# Override of: https://github.com/grafana/loki/blob/main/production/helm/promtail/values.yaml -config: - lokiAddress: http://loki.loki.svc.cluster.local:3100/loki/api/v1/push - -podAnnotations: - prometheus.io/scrape: "true" - prometheus.io/port: "http-metrics" - -serviceMonitor: - enabled: true - labels: - release: "prometheus" \ No newline at end of file diff --git a/src/shell/metrics/metrics-values.yaml b/src/shell/metrics/metrics-values.yaml deleted file mode 100644 index b08e93a8..00000000 --- a/src/shell/metrics/metrics-values.yaml +++ /dev/null @@ -1,7 +0,0 @@ -# Override of : https://github.com/bitnami/charts/blob/master/bitnami/metrics-server/values.yaml - -extraArgs: - kubelet-insecure-tls: true - kubelet-preferred-address-types: InternalIP -apiService: - create: true \ No newline at end of file diff --git a/src/shell/prometheus/crds/dashboards/argocd/argocd-grafana-dashboard.json b/src/shell/prometheus/crds/dashboards/argocd/argocd-grafana-dashboard.json deleted file mode 100644 index 88ef7215..00000000 --- a/src/shell/prometheus/crds/dashboards/argocd/argocd-grafana-dashboard.json +++ /dev/null @@ -1,3995 +0,0 @@ -{ - "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": 1, - "iteration": 1605574886303, - "links": [], - "panels": [ - { - "collapsed": false, - "datasource": "$datasource", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 68, - "panels": [], - "title": "Overview", - "type": "row" - }, - { - "content": "![argoimage](https://avatars1.githubusercontent.com/u/30269780?s=110&v=4)", - "datasource": "$datasource", - "gridPos": { - "h": 4, - "w": 2, - "x": 0, - "y": 1 - }, - "id": 26, - "links": [], - "mode": "markdown", - "options": {}, - "title": "", - "transparent": true, - "type": "text" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "$datasource", - "format": "dtdurations", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 3, - "x": 2, - "y": 1 - }, - "id": 32, - "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 - }, - "tableColumn": "", - "targets": [ - { - "expr": "time() - max(process_start_time_seconds{job=\"argocd-server-metrics\",namespace=~\"$namespace\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": "", - "title": "Uptime", - "type": "singlestat", - "valueFontSize": "70%", - "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": "$datasource", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 3, - "x": 5, - "y": 1 - }, - "id": 94, - "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": true - }, - "tableColumn": "", - "targets": [ - { - "expr": "count(count by (server) (argocd_cluster_info{namespace=~\"$namespace\"}))", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Clusters", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "0", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorPostfix": false, - "colorPrefix": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "$datasource", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 3, - "x": 8, - "y": 1 - }, - "id": 75, - "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" - } - ], - "repeat": null, - "repeatDirection": "h", - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "tableColumn": "", - "targets": [ - { - "expr": "sum(argocd_app_info{namespace=~\"$namespace\",dest_server=~\"$cluster\",health_status=~\"$health_status\",sync_status=~\"$sync_status\"})", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Applications", - "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": "$datasource", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 4, - "w": 3, - "x": 11, - "y": 1 - }, - "id": 107, - "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": true - }, - "tableColumn": "", - "targets": [ - { - "expr": "count(count by (repo) (argocd_app_info{namespace=~\"$namespace\"}))", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "Repositories", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "0", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "datasource": "$datasource", - "gridPos": { - "h": 4, - "w": 3, - "x": 14, - "y": 1 - }, - "id": 100, - "links": [], - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [ - { - "id": 0, - "op": "=", - "text": "0", - "type": 1, - "value": "null" - } - ], - "max": 100, - "min": 0, - "nullValueMode": "connected", - "thresholds": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ], - "unit": "none" - }, - "override": {}, - "overrides": [], - "values": false - }, - "orientation": "horizontal", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.5.2", - "repeatDirection": "h", - "targets": [ - { - "expr": "sum(argocd_app_info{namespace=~\"$namespace\",dest_server=~\"$cluster\",operation!=\"\"})", - "format": "time_series", - "instant": true, - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Operations", - "type": "gauge" - }, - { - "aliasColors": {}, - "bars": false, - "cacheTimeout": null, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "decimals": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 4, - "w": 7, - "x": 17, - "y": 1 - }, - "hiddenSeries": false, - "id": 28, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "sum(argocd_app_info{namespace=~\"$namespace\",dest_server=~\"$cluster\",health_status=~\"$health_status\",sync_status=~\"$sync_status\"}) by (namespace)", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{namespace}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Applications", - "tooltip": { - "shared": false, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "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 - } - }, - { - "collapsed": true, - "datasource": "$datasource", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 5 - }, - "id": 77, - "panels": [ - { - "aliasColors": { - "Degraded": "semi-dark-red", - "Healthy": "green", - "Missing": "semi-dark-purple", - "Progressing": "semi-dark-blue", - "Suspended": "semi-dark-orange", - "Unknown": "rgb(255, 255, 255)" - }, - "bars": false, - "cacheTimeout": null, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "decimals": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 6 - }, - "hiddenSeries": false, - "id": 105, - "interval": "", - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "hideEmpty": false, - "hideZero": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sideWidth": null, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(argocd_app_info{namespace=~\"$namespace\",dest_server=~\"$cluster\",health_status=~\"$health_status\",sync_status=~\"$sync_status\",health_status!=\"\"}) by (health_status)", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{health_status}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Health Status", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 2, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": { - "Degraded": "semi-dark-red", - "Healthy": "green", - "Missing": "semi-dark-purple", - "OutOfSync": "semi-dark-yellow", - "Progressing": "semi-dark-blue", - "Suspended": "semi-dark-orange", - "Synced": "semi-dark-green", - "Unknown": "rgb(255, 255, 255)" - }, - "bars": false, - "cacheTimeout": null, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "decimals": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 6 - }, - "hiddenSeries": false, - "id": 106, - "interval": "", - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "hideEmpty": false, - "hideZero": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sideWidth": null, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(argocd_app_info{namespace=~\"$namespace\",dest_server=~\"$cluster\",health_status=~\"$health_status\",sync_status=~\"$sync_status\",health_status!=\"\"}) by (sync_status)", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{sync_status}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Sync Status", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 2, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - } - ], - "title": "Application Status", - "type": "row" - }, - { - "collapsed": true, - "datasource": "$datasource", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 6 - }, - "id": 104, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "decimals": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 3 - }, - "hiddenSeries": false, - "id": 56, - "interval": "", - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 1, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "sum(round(increase(argocd_app_sync_total{namespace=~\"$namespace\",dest_server=~\"$cluster\"}[$interval]))) by ($grouping)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{$grouping}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Sync Activity", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "short", - "label": "", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "decimals": -12, - "format": "short", - "label": "", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "decimals": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 9 - }, - "hiddenSeries": false, - "id": 73, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "hideEmpty": true, - "hideZero": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "sum(round(increase(argocd_app_sync_total{namespace=~\"$namespace\",phase=~\"Error|Failed\",dest_server=~\"$cluster\"}[$interval]))) by ($grouping, phase)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{phase}}: {{$grouping}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Sync Failures", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "none", - "label": "", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": "", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - } - ], - "title": "Sync Stats", - "type": "row" - }, - { - "collapsed": true, - "datasource": "$datasource", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 7 - }, - "id": 64, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 12 - }, - "hiddenSeries": false, - "id": 58, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": false, - "rightSide": true, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(argocd_app_reconcile_count{namespace=~\"$namespace\",dest_server=~\"$cluster\"}[$interval])) by ($grouping)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{$grouping}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Reconciliation Activity", - "tooltip": { - "shared": false, - "sort": 2, - "value_type": "individual" - }, - "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 - } - }, - { - "cards": { - "cardPadding": null, - "cardRound": null - }, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateSpectral", - "exponent": 0.5, - "min": null, - "mode": "spectrum" - }, - "dataFormat": "tsbuckets", - "datasource": "$datasource", - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 18 - }, - "heatmap": {}, - "hideZeroBuckets": false, - "highlightCards": true, - "id": 60, - "legend": { - "show": true - }, - "links": [], - "options": {}, - "reverseYBuckets": false, - "targets": [ - { - "expr": "sum(increase(argocd_app_reconcile_bucket{namespace=~\"$namespace\"}[$interval])) by (le)", - "format": "heatmap", - "instant": false, - "intervalFactor": 10, - "legendFormat": "{{le}}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Reconciliation Performance", - "tooltip": { - "show": true, - "showHistogram": true - }, - "tooltipDecimals": 0, - "type": "heatmap", - "xAxis": { - "show": true - }, - "xBucketNumber": null, - "xBucketSize": null, - "yAxis": { - "decimals": null, - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true, - "splitFactor": null - }, - "yBucketBound": "auto", - "yBucketNumber": null, - "yBucketSize": null - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 25 - }, - "hiddenSeries": false, - "id": 80, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sideWidth": null, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(argocd_app_k8s_request_total{namespace=~\"$namespace\",server=~\"$cluster\"}[$interval])) by (verb, resource_kind)", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "{{verb}} {{resource_kind}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "K8s API Activity", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 31 - }, - "hiddenSeries": false, - "id": 96, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideZero": true, - "max": true, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": null, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(workqueue_depth{namespace=~\"$namespace\",name=~\"app_.*\"}) by (name)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Workqueue Depth", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "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": "$datasource", - "decimals": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 31 - }, - "hiddenSeries": false, - "id": 98, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideZero": false, - "max": true, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(argocd_kubectl_exec_pending{namespace=~\"$namespace\"}) by (command)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{command}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Pending kubectl run", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "short", - "label": "", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "decimals": 0, - "format": "short", - "label": "", - "logBase": 1, - "max": null, - "min": "0", - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - } - ], - "title": "Controller Stats", - "type": "row" - }, - { - "collapsed": true, - "datasource": "$datasource", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 102, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 26 - }, - "hiddenSeries": false, - "id": 34, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": false, - "rightSide": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "go_memstats_heap_alloc_bytes{job=\"argocd-metrics\",namespace=~\"$namespace\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{namespace}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Memory Usage", - "tooltip": { - "shared": false, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "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": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 33 - }, - "hiddenSeries": false, - "id": 108, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": true, - "min": false, - "rightSide": true, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(process_cpu_seconds_total{job=\"argocd-metrics\",namespace=~\"$namespace\"}[1m])", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{namespace}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "CPU Usage", - "tooltip": { - "shared": false, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 1, - "format": "none", - "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": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 40 - }, - "hiddenSeries": false, - "id": 62, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": false, - "hideZero": false, - "max": true, - "min": false, - "rightSide": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "go_goroutines{job=\"argocd-metrics\",namespace=~\"$namespace\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{namespace}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Goroutines", - "tooltip": { - "shared": false, - "sort": 2, - "value_type": "individual" - }, - "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 - } - } - ], - "title": "Controller Telemetry", - "type": "row" - }, - { - "collapsed": true, - "datasource": "$datasource", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 88, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 27 - }, - "hiddenSeries": false, - "id": 90, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(argocd_cluster_api_resource_objects{namespace=~\"$namespace\",server=~\"$cluster\"}) by (server)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{server}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Resource Objects Count", - "tooltip": { - "shared": false, - "sort": 2, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 34 - }, - "hiddenSeries": false, - "id": 92, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "hideEmpty": true, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": " sum(argocd_cluster_api_resources{namespace=~\"$namespace\",server=~\"$cluster\"}) by (server)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{server}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "API Resources Count", - "tooltip": { - "shared": false, - "sort": 2, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 40 - }, - "hiddenSeries": false, - "id": 86, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(argocd_cluster_events_total{namespace=~\"$namespace\",server=~\"$cluster\"}[$interval])) by (server)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{server}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Cluster Events Count", - "tooltip": { - "shared": false, - "sort": 2, - "value_type": "individual" - }, - "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 - } - } - ], - "title": "Cluster Stats", - "type": "row" - }, - { - "collapsed": true, - "datasource": "$datasource", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 10 - }, - "id": 70, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 7 - }, - "hiddenSeries": false, - "id": 82, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(argocd_git_request_total{request_type=\"ls-remote\", namespace=~\"$namespace\"}[10m])) by (namespace)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{namespace}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Git Requests (ls-remote)", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 7 - }, - "hiddenSeries": false, - "id": 84, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(argocd_git_request_total{request_type=\"fetch\", namespace=~\"$namespace\"}[10m])) by (namespace)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{namespace}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Git Requests (checkout)", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "", - "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 - } - }, - { - "cards": { - "cardPadding": null, - "cardRound": null - }, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateSpectral", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "tsbuckets", - "datasource": "$datasource", - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 15 - }, - "heatmap": {}, - "hideZeroBuckets": false, - "highlightCards": true, - "id": 114, - "legend": { - "show": false - }, - "options": {}, - "reverseYBuckets": false, - "targets": [ - { - "expr": "sum(increase(argocd_git_request_duration_seconds_bucket{request_type=\"fetch\", namespace=~\"$namespace\"}[$interval])) by (le)", - "format": "heatmap", - "intervalFactor": 10, - "legendFormat": "{{le}}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Git Fetch Performance", - "tooltip": { - "show": true, - "showHistogram": false - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "xBucketNumber": null, - "xBucketSize": null, - "yAxis": { - "decimals": null, - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true, - "splitFactor": null - }, - "yBucketBound": "auto", - "yBucketNumber": null, - "yBucketSize": null - }, - { - "cards": { - "cardPadding": null, - "cardRound": null - }, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateSpectral", - "exponent": 0.5, - "mode": "spectrum" - }, - "dataFormat": "tsbuckets", - "datasource": "$datasource", - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 15 - }, - "heatmap": {}, - "hideZeroBuckets": false, - "highlightCards": true, - "id": 116, - "legend": { - "show": false - }, - "options": {}, - "reverseYBuckets": false, - "targets": [ - { - "expr": "sum(increase(argocd_git_request_duration_seconds_bucket{request_type=\"ls-remote\", namespace=~\"$namespace\"}[$interval])) by (le)", - "format": "heatmap", - "intervalFactor": 10, - "legendFormat": "{{le}}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Git Ls-Remote Performance", - "tooltip": { - "show": true, - "showHistogram": false - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "xBucketNumber": null, - "xBucketSize": null, - "yAxis": { - "decimals": null, - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true, - "splitFactor": null - }, - "yBucketBound": "auto", - "yBucketNumber": null, - "yBucketSize": null - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 23 - }, - "hiddenSeries": false, - "id": 71, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "go_memstats_heap_alloc_bytes{job=\"argocd-repo-server\",namespace=~\"$namespace\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Memory Used", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "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": "$datasource", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 31 - }, - "hiddenSeries": false, - "id": 72, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "go_goroutines{job=\"argocd-repo-server\",namespace=~\"$namespace\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Goroutines", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "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 - } - } - ], - "title": "Repo Server Stats", - "type": "row" - }, - { - "collapsed": true, - "datasource": "$datasource", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 11 - }, - "id": 66, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "fill": 1, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 89 - }, - "id": 61, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "go_memstats_heap_alloc_bytes{job=\"argocd-server-metrics\",namespace=~\"$namespace\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Memory Used", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "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": "$datasource", - "fill": 1, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 97 - }, - "id": 36, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": false, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "go_goroutines{job=\"argocd-server-metrics\",namespace=~\"$namespace\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Goroutines", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 106 - }, - "id": 38, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "go_gc_duration_seconds{job=\"argocd-server-metrics\", quantile=\"1\", namespace=~\"$namespace\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{pod}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "GC Time Quantiles", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "#### gRPC Services:", - "gridPos": { - "h": 2, - "w": 24, - "x": 0, - "y": 115 - }, - "id": 54, - "links": [], - "mode": "markdown", - "title": "", - "transparent": true, - "type": "text" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "decimals": null, - "fill": 1, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 117 - }, - "id": 40, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sort": "total", - "sortDesc": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(grpc_server_handled_total{job=\"argocd-server-metrics\",grpc_service=\"application.ApplicationService\",namespace=~\"$namespace\"}[$interval])) by (grpc_code, grpc_method)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{grpc_code}},{{grpc_method}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "ApplicationService Requests", - "tooltip": { - "shared": false, - "sort": 2, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 117 - }, - "id": 42, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(grpc_server_handled_total{job=\"argocd-server-metrics\",grpc_service=\"cluster.ClusterService\",namespace=~\"$namespace\"}[$interval])) by (grpc_code, grpc_method)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{grpc_code}},{{grpc_method}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "ClusterService Requests", - "tooltip": { - "shared": false, - "sort": 2, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 126 - }, - "id": 44, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(grpc_server_handled_total{job=\"argocd-server-metrics\",grpc_service=\"project.ProjectService\",namespace=~\"$namespace\"}[$interval])) by (grpc_code, grpc_method)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{grpc_code}},{{grpc_method}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "ProjectService Requests", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 126 - }, - "id": 46, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(grpc_server_handled_total{job=\"argocd-server-metrics\",grpc_service=\"repository.RepositoryService\",namespace=~\"$namespace\"}[$interval])) by (grpc_code, grpc_method)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{grpc_code}},{{grpc_method}}", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "yaxis": "left" - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "RepositoryService Requests", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 135 - }, - "id": 48, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(grpc_server_handled_total{job=\"argocd-server-metrics\",grpc_service=\"session.SessionService\",namespace=~\"$namespace\"}[$interval])) by (grpc_code, grpc_method)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{grpc_code}},{{grpc_method}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "SessionService Requests", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 135 - }, - "id": 49, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(grpc_server_handled_total{job=\"argocd-server-metrics\",grpc_service=\"version.VersionService\",namespace=~\"$namespace\"}[$interval])) by (grpc_code, grpc_method)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{grpc_code}},{{grpc_method}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "VersionService Requests", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 144 - }, - "id": 50, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(grpc_server_handled_total{job=\"argocd-server-metrics\",grpc_service=\"account.AccountService\",namespace=~\"$namespace\"}[$interval])) by (grpc_code, grpc_method)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{grpc_code}},{{grpc_method}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "AccountService Requests", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "$datasource", - "fill": 1, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 144 - }, - "id": 99, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "paceLength": 10, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(grpc_server_handled_total{job=\"argocd-server-metrics\",grpc_service=\"settings.SettingsService\",namespace=~\"$namespace\"}[$interval])) by (grpc_code, grpc_method)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{grpc_code}},{{grpc_method}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "SettingsService Requests", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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 - } - } - ], - "title": "Server Stats", - "type": "row" - }, - { - "collapsed": true, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 12 - }, - "id": 110, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 9 - }, - "hiddenSeries": false, - "id": 112, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "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(increase(argocd_redis_request_total{namespace=~\"$namespace\"}[$interval])) by (failed)", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Requests by result", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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 - } - } - ], - "title": "Redis Stats", - "type": "row" - } - ], - "refresh": false, - "schemaVersion": 21, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "current": { - "text": "Prometheus", - "value": "Prometheus" - }, - "hide": 0, - "includeAll": false, - "label": null, - "multi": false, - "name": "datasource", - "options": [], - "query": "prometheus", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "allValue": ".*", - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": "$datasource", - "definition": "label_values(kube_pod_info, namespace)", - "hide": 0, - "includeAll": true, - "label": null, - "multi": false, - "name": "namespace", - "options": [], - "query": "label_values(kube_pod_info, namespace)", - "refresh": 1, - "regex": ".*argocd.*", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "auto": true, - "auto_count": 30, - "auto_min": "1m", - "current": { - "selected": false, - "text": "auto", - "value": "$__auto_interval_interval" - }, - "hide": 0, - "label": null, - "name": "interval", - "options": [ - { - "selected": true, - "text": "auto", - "value": "$__auto_interval_interval" - }, - { - "selected": false, - "text": "1m", - "value": "1m" - }, - { - "selected": false, - "text": "5m", - "value": "5m" - }, - { - "selected": false, - "text": "10m", - "value": "10m" - }, - { - "selected": false, - "text": "30m", - "value": "30m" - }, - { - "selected": false, - "text": "1h", - "value": "1h" - }, - { - "selected": false, - "text": "2h", - "value": "2h" - }, - { - "selected": false, - "text": "4h", - "value": "4h" - }, - { - "selected": false, - "text": "8h", - "value": "8h" - } - ], - "query": "1m,5m,10m,30m,1h,2h,4h,8h", - "refresh": 2, - "skipUrlSync": false, - "type": "interval" - }, - { - "allValue": "", - "current": { - "selected": true, - "text": "namespace", - "value": "namespace" - }, - "hide": 0, - "includeAll": false, - "label": null, - "multi": false, - "name": "grouping", - "options": [ - { - "selected": true, - "text": "namespace", - "value": "namespace" - }, - { - "selected": false, - "text": "name", - "value": "name" - }, - { - "selected": false, - "text": "project", - "value": "project" - } - ], - "query": "namespace,name,project", - "skipUrlSync": false, - "type": "custom" - }, - { - "allValue": ".*", - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": "$datasource", - "definition": "label_values(argocd_cluster_info, server)", - "hide": 0, - "includeAll": true, - "label": null, - "multi": false, - "name": "cluster", - "options": [], - "query": "label_values(argocd_cluster_info, server)", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": ".*", - "current": { - "selected": true, - "text": "All", - "value": "$__all" - }, - "hide": 0, - "includeAll": true, - "label": null, - "multi": false, - "name": "health_status", - "options": [ - { - "selected": true, - "text": "All", - "value": "$__all" - }, - { - "selected": false, - "text": "Healthy", - "value": "Healthy" - }, - { - "selected": false, - "text": "Progressing", - "value": "Progressing" - }, - { - "selected": false, - "text": "Suspended", - "value": "Suspended" - }, - { - "selected": false, - "text": "Missing", - "value": "Missing" - }, - { - "selected": false, - "text": "Degraded", - "value": "Degraded" - }, - { - "selected": false, - "text": "Unknown", - "value": "Unknown" - } - ], - "query": "Healthy,Progressing,Suspended,Missing,Degraded,Unknown", - "skipUrlSync": false, - "type": "custom" - }, - { - "allValue": ".*", - "current": { - "selected": true, - "text": "All", - "value": "$__all" - }, - "hide": 0, - "includeAll": true, - "label": null, - "multi": false, - "name": "sync_status", - "options": [ - { - "selected": true, - "text": "All", - "value": "$__all" - }, - { - "selected": false, - "text": "Synced", - "value": "Synced" - }, - { - "selected": false, - "text": "OutOfSync", - "value": "OutOfSync" - }, - { - "selected": false, - "text": "Unknown", - "value": "Unknown" - } - ], - "query": "Synced,OutOfSync,Unknown", - "skipUrlSync": false, - "type": "custom" - } - ] - }, - "time": { - "from": "now-30m", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "timezone": "", - "title": "ArgoCD", - "uid": "LCAgc9rWz", - "version": 1 - } \ No newline at end of file diff --git a/src/shell/prometheus/crds/dashboards/argocd/argocd-grafana-dashboard.yaml b/src/shell/prometheus/crds/dashboards/argocd/argocd-grafana-dashboard.yaml deleted file mode 100644 index 403559ea..00000000 --- a/src/shell/prometheus/crds/dashboards/argocd/argocd-grafana-dashboard.yaml +++ /dev/null @@ -1,1486 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: argocd-dashboard - namespace: argocd - labels: - grafana_dashboard: "1" - annotations: - k8s-sidecar-target-directory: /tmp/dashboards/Infrastructure -data: - argocd-dashboard.json: "{\r\n \"annotations\": {\r\n \"list\": [\r\n {\r\n - \ \"builtIn\": 1,\r\n \"datasource\": \"-- Grafana --\",\r\n - \ \"enable\": true,\r\n \"hide\": true,\r\n \"iconColor\": - \"rgba(0, 211, 255, 1)\",\r\n \"name\": \"Annotations & Alerts\",\r\n - \ \"type\": \"dashboard\"\r\n }\r\n ]\r\n },\r\n \"editable\": - true,\r\n \"gnetId\": null,\r\n \"graphTooltip\": 0,\r\n \"id\": 1,\r\n - \ \"iteration\": 1605574886303,\r\n \"links\": [],\r\n \"panels\": [\r\n - \ {\r\n \"collapsed\": false,\r\n \"datasource\": \"$datasource\",\r\n - \ \"gridPos\": {\r\n \"h\": 1,\r\n \"w\": 24,\r\n \"x\": - 0,\r\n \"y\": 0\r\n },\r\n \"id\": 68,\r\n \"panels\": - [],\r\n \"title\": \"Overview\",\r\n \"type\": \"row\"\r\n },\r\n - \ {\r\n \"content\": \"![argoimage](https://avatars1.githubusercontent.com/u/30269780?s=110&v=4)\",\r\n - \ \"datasource\": \"$datasource\",\r\n \"gridPos\": {\r\n \"h\": - 4,\r\n \"w\": 2,\r\n \"x\": 0,\r\n \"y\": 1\r\n },\r\n - \ \"id\": 26,\r\n \"links\": [],\r\n \"mode\": \"markdown\",\r\n - \ \"options\": {},\r\n \"title\": \"\",\r\n \"transparent\": - true,\r\n \"type\": \"text\"\r\n },\r\n {\r\n \"cacheTimeout\": - null,\r\n \"colorBackground\": false,\r\n \"colorValue\": false,\r\n - \ \"colors\": [\r\n \"#299c46\",\r\n \"rgba(237, 129, - 40, 0.89)\",\r\n \"#d44a3a\"\r\n ],\r\n \"datasource\": - \"$datasource\",\r\n \"format\": \"dtdurations\",\r\n \"gauge\": - {\r\n \"maxValue\": 100,\r\n \"minValue\": 0,\r\n \"show\": - false,\r\n \"thresholdLabels\": false,\r\n \"thresholdMarkers\": - true\r\n },\r\n \"gridPos\": {\r\n \"h\": 4,\r\n \"w\": - 3,\r\n \"x\": 2,\r\n \"y\": 1\r\n },\r\n \"id\": - 32,\r\n \"interval\": null,\r\n \"links\": [],\r\n \"mappingType\": - 1,\r\n \"mappingTypes\": [\r\n {\r\n \"name\": \"value - to text\",\r\n \"value\": 1\r\n },\r\n {\r\n \"name\": - \"range to text\",\r\n \"value\": 2\r\n }\r\n ],\r\n - \ \"maxDataPoints\": 100,\r\n \"nullPointMode\": \"connected\",\r\n - \ \"nullText\": null,\r\n \"options\": {},\r\n \"postfix\": - \"\",\r\n \"postfixFontSize\": \"50%\",\r\n \"prefix\": \"\",\r\n - \ \"prefixFontSize\": \"50%\",\r\n \"rangeMaps\": [\r\n {\r\n - \ \"from\": \"null\",\r\n \"text\": \"N/A\",\r\n \"to\": - \"null\"\r\n }\r\n ],\r\n \"sparkline\": {\r\n \"fillColor\": - \"rgba(31, 118, 189, 0.18)\",\r\n \"full\": false,\r\n \"lineColor\": - \"rgb(31, 120, 193)\",\r\n \"show\": false\r\n },\r\n \"tableColumn\": - \"\",\r\n \"targets\": [\r\n {\r\n \"expr\": \"time() - - max(process_start_time_seconds{job=\\\"argocd-server-metrics\\\",namespace=~\\\"$namespace\\\"})\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - \"\",\r\n \"title\": \"Uptime\",\r\n \"type\": \"singlestat\",\r\n - \ \"valueFontSize\": \"70%\",\r\n \"valueMaps\": [\r\n {\r\n - \ \"op\": \"=\",\r\n \"text\": \"N/A\",\r\n \"value\": - \"null\"\r\n }\r\n ],\r\n \"valueName\": \"current\"\r\n - \ },\r\n {\r\n \"cacheTimeout\": null,\r\n \"colorBackground\": - false,\r\n \"colorValue\": false,\r\n \"colors\": [\r\n \"#299c46\",\r\n - \ \"rgba(237, 129, 40, 0.89)\",\r\n \"#d44a3a\"\r\n ],\r\n - \ \"datasource\": \"$datasource\",\r\n \"format\": \"none\",\r\n - \ \"gauge\": {\r\n \"maxValue\": 100,\r\n \"minValue\": - 0,\r\n \"show\": false,\r\n \"thresholdLabels\": false,\r\n - \ \"thresholdMarkers\": true\r\n },\r\n \"gridPos\": {\r\n - \ \"h\": 4,\r\n \"w\": 3,\r\n \"x\": 5,\r\n \"y\": - 1\r\n },\r\n \"id\": 94,\r\n \"interval\": null,\r\n \"links\": - [],\r\n \"mappingType\": 1,\r\n \"mappingTypes\": [\r\n {\r\n - \ \"name\": \"value to text\",\r\n \"value\": 1\r\n },\r\n - \ {\r\n \"name\": \"range to text\",\r\n \"value\": - 2\r\n }\r\n ],\r\n \"maxDataPoints\": 100,\r\n \"nullPointMode\": - \"connected\",\r\n \"nullText\": null,\r\n \"options\": {},\r\n - \ \"postfix\": \"\",\r\n \"postfixFontSize\": \"50%\",\r\n \"prefix\": - \"\",\r\n \"prefixFontSize\": \"50%\",\r\n \"rangeMaps\": [\r\n - \ {\r\n \"from\": \"null\",\r\n \"text\": \"N/A\",\r\n - \ \"to\": \"null\"\r\n }\r\n ],\r\n \"sparkline\": - {\r\n \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\r\n \"full\": - false,\r\n \"lineColor\": \"rgb(31, 120, 193)\",\r\n \"show\": - true\r\n },\r\n \"tableColumn\": \"\",\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"count(count by (server) (argocd_cluster_info{namespace=~\\\"$namespace\\\"}))\",\r\n - \ \"format\": \"time_series\",\r\n \"instant\": false,\r\n - \ \"intervalFactor\": 1,\r\n \"refId\": \"A\"\r\n }\r\n - \ ],\r\n \"thresholds\": \"\",\r\n \"timeFrom\": null,\r\n - \ \"timeShift\": null,\r\n \"title\": \"Clusters\",\r\n \"type\": - \"singlestat\",\r\n \"valueFontSize\": \"80%\",\r\n \"valueMaps\": - [\r\n {\r\n \"op\": \"=\",\r\n \"text\": \"0\",\r\n - \ \"value\": \"null\"\r\n }\r\n ],\r\n \"valueName\": - \"current\"\r\n },\r\n {\r\n \"cacheTimeout\": null,\r\n \"colorBackground\": - false,\r\n \"colorPostfix\": false,\r\n \"colorPrefix\": false,\r\n - \ \"colorValue\": false,\r\n \"colors\": [\r\n \"#299c46\",\r\n - \ \"rgba(237, 129, 40, 0.89)\",\r\n \"#d44a3a\"\r\n ],\r\n - \ \"datasource\": \"$datasource\",\r\n \"format\": \"none\",\r\n - \ \"gauge\": {\r\n \"maxValue\": 100,\r\n \"minValue\": - 0,\r\n \"show\": false,\r\n \"thresholdLabels\": false,\r\n - \ \"thresholdMarkers\": true\r\n },\r\n \"gridPos\": {\r\n - \ \"h\": 4,\r\n \"w\": 3,\r\n \"x\": 8,\r\n \"y\": - 1\r\n },\r\n \"id\": 75,\r\n \"interval\": null,\r\n \"links\": - [],\r\n \"mappingType\": 1,\r\n \"mappingTypes\": [\r\n {\r\n - \ \"name\": \"value to text\",\r\n \"value\": 1\r\n },\r\n - \ {\r\n \"name\": \"range to text\",\r\n \"value\": - 2\r\n }\r\n ],\r\n \"maxDataPoints\": 100,\r\n \"nullPointMode\": - \"connected\",\r\n \"nullText\": null,\r\n \"options\": {},\r\n - \ \"postfix\": \"\",\r\n \"postfixFontSize\": \"50%\",\r\n \"prefix\": - \"\",\r\n \"prefixFontSize\": \"50%\",\r\n \"rangeMaps\": [\r\n - \ {\r\n \"from\": \"null\",\r\n \"text\": \"N/A\",\r\n - \ \"to\": \"null\"\r\n }\r\n ],\r\n \"repeat\": - null,\r\n \"repeatDirection\": \"h\",\r\n \"sparkline\": {\r\n \"fillColor\": - \"rgba(31, 118, 189, 0.18)\",\r\n \"full\": false,\r\n \"lineColor\": - \"rgb(31, 120, 193)\",\r\n \"show\": true\r\n },\r\n \"tableColumn\": - \"\",\r\n \"targets\": [\r\n {\r\n \"expr\": \"sum(argocd_app_info{namespace=~\\\"$namespace\\\",dest_server=~\\\"$cluster\\\",health_status=~\\\"$health_status\\\",sync_status=~\\\"$sync_status\\\"})\",\r\n - \ \"format\": \"time_series\",\r\n \"instant\": false,\r\n - \ \"intervalFactor\": 1,\r\n \"refId\": \"A\"\r\n }\r\n - \ ],\r\n \"thresholds\": \"\",\r\n \"timeFrom\": null,\r\n - \ \"timeShift\": null,\r\n \"title\": \"Applications\",\r\n \"type\": - \"singlestat\",\r\n \"valueFontSize\": \"80%\",\r\n \"valueMaps\": - [\r\n {\r\n \"op\": \"=\",\r\n \"text\": \"N/A\",\r\n - \ \"value\": \"null\"\r\n }\r\n ],\r\n \"valueName\": - \"current\"\r\n },\r\n {\r\n \"cacheTimeout\": null,\r\n \"colorBackground\": - false,\r\n \"colorValue\": false,\r\n \"colors\": [\r\n \"#299c46\",\r\n - \ \"rgba(237, 129, 40, 0.89)\",\r\n \"#d44a3a\"\r\n ],\r\n - \ \"datasource\": \"$datasource\",\r\n \"format\": \"none\",\r\n - \ \"gauge\": {\r\n \"maxValue\": 100,\r\n \"minValue\": - 0,\r\n \"show\": false,\r\n \"thresholdLabels\": false,\r\n - \ \"thresholdMarkers\": true\r\n },\r\n \"gridPos\": {\r\n - \ \"h\": 4,\r\n \"w\": 3,\r\n \"x\": 11,\r\n \"y\": - 1\r\n },\r\n \"id\": 107,\r\n \"interval\": null,\r\n \"links\": - [],\r\n \"mappingType\": 1,\r\n \"mappingTypes\": [\r\n {\r\n - \ \"name\": \"value to text\",\r\n \"value\": 1\r\n },\r\n - \ {\r\n \"name\": \"range to text\",\r\n \"value\": - 2\r\n }\r\n ],\r\n \"maxDataPoints\": 100,\r\n \"nullPointMode\": - \"connected\",\r\n \"nullText\": null,\r\n \"options\": {},\r\n - \ \"postfix\": \"\",\r\n \"postfixFontSize\": \"50%\",\r\n \"prefix\": - \"\",\r\n \"prefixFontSize\": \"50%\",\r\n \"rangeMaps\": [\r\n - \ {\r\n \"from\": \"null\",\r\n \"text\": \"N/A\",\r\n - \ \"to\": \"null\"\r\n }\r\n ],\r\n \"sparkline\": - {\r\n \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\r\n \"full\": - false,\r\n \"lineColor\": \"rgb(31, 120, 193)\",\r\n \"show\": - true\r\n },\r\n \"tableColumn\": \"\",\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"count(count by (repo) (argocd_app_info{namespace=~\\\"$namespace\\\"}))\",\r\n - \ \"format\": \"time_series\",\r\n \"instant\": false,\r\n - \ \"intervalFactor\": 1,\r\n \"refId\": \"A\"\r\n }\r\n - \ ],\r\n \"thresholds\": \"\",\r\n \"timeFrom\": null,\r\n - \ \"timeShift\": null,\r\n \"title\": \"Repositories\",\r\n \"type\": - \"singlestat\",\r\n \"valueFontSize\": \"80%\",\r\n \"valueMaps\": - [\r\n {\r\n \"op\": \"=\",\r\n \"text\": \"0\",\r\n - \ \"value\": \"null\"\r\n }\r\n ],\r\n \"valueName\": - \"current\"\r\n },\r\n {\r\n \"cacheTimeout\": null,\r\n \"datasource\": - \"$datasource\",\r\n \"gridPos\": {\r\n \"h\": 4,\r\n \"w\": - 3,\r\n \"x\": 14,\r\n \"y\": 1\r\n },\r\n \"id\": - 100,\r\n \"links\": [],\r\n \"options\": {\r\n \"fieldOptions\": - {\r\n \"calcs\": [\r\n \"lastNotNull\"\r\n ],\r\n - \ \"defaults\": {\r\n \"mappings\": [\r\n {\r\n - \ \"id\": 0,\r\n \"op\": \"=\",\r\n \"text\": - \"0\",\r\n \"type\": 1,\r\n \"value\": \"null\"\r\n - \ }\r\n ],\r\n \"max\": 100,\r\n \"min\": - 0,\r\n \"nullValueMode\": \"connected\",\r\n \"thresholds\": - [\r\n {\r\n \"color\": \"green\",\r\n \"value\": - null\r\n },\r\n {\r\n \"color\": - \"red\",\r\n \"value\": 80\r\n }\r\n ],\r\n - \ \"unit\": \"none\"\r\n },\r\n \"override\": - {},\r\n \"overrides\": [],\r\n \"values\": false\r\n },\r\n - \ \"orientation\": \"horizontal\",\r\n \"showThresholdLabels\": - false,\r\n \"showThresholdMarkers\": true\r\n },\r\n \"pluginVersion\": - \"6.5.2\",\r\n \"repeatDirection\": \"h\",\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"sum(argocd_app_info{namespace=~\\\"$namespace\\\",dest_server=~\\\"$cluster\\\",operation!=\\\"\\\"})\",\r\n - \ \"format\": \"time_series\",\r\n \"instant\": true,\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"timeFrom\": - null,\r\n \"timeShift\": null,\r\n \"title\": \"Operations\",\r\n - \ \"type\": \"gauge\"\r\n },\r\n {\r\n \"aliasColors\": - {},\r\n \"bars\": false,\r\n \"cacheTimeout\": null,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"$datasource\",\r\n - \ \"decimals\": null,\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 4,\r\n \"w\": 7,\r\n - \ \"x\": 17,\r\n \"y\": 1\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 28,\r\n \"legend\": {\r\n \"alignAsTable\": - true,\r\n \"avg\": false,\r\n \"current\": true,\r\n \"hideEmpty\": - true,\r\n \"hideZero\": true,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"rightSide\": true,\r\n \"show\": true,\r\n \"sort\": - \"current\",\r\n \"sortDesc\": true,\r\n \"total\": false,\r\n - \ \"values\": true\r\n },\r\n \"lines\": true,\r\n \"linewidth\": - 1,\r\n \"links\": [],\r\n \"nullPointMode\": \"connected\",\r\n - \ \"options\": {\r\n \"dataLinks\": []\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pointradius\": 2,\r\n \"points\": - false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": true,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"sum(argocd_app_info{namespace=~\\\"$namespace\\\",dest_server=~\\\"$cluster\\\",health_status=~\\\"$health_status\\\",sync_status=~\\\"$sync_status\\\"}) - by (namespace)\",\r\n \"format\": \"time_series\",\r\n \"instant\": - false,\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"{{namespace}}\",\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n - \ \"thresholds\": [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Applications\",\r\n - \ \"tooltip\": {\r\n \"shared\": false,\r\n \"sort\": - 2,\r\n \"value_type\": \"individual\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": - \"time\",\r\n \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"decimals\": - 0,\r\n \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"collapsed\": true,\r\n \"datasource\": - \"$datasource\",\r\n \"gridPos\": {\r\n \"h\": 1,\r\n \"w\": - 24,\r\n \"x\": 0,\r\n \"y\": 5\r\n },\r\n \"id\": - 77,\r\n \"panels\": [\r\n {\r\n \"aliasColors\": {\r\n - \ \"Degraded\": \"semi-dark-red\",\r\n \"Healthy\": \"green\",\r\n - \ \"Missing\": \"semi-dark-purple\",\r\n \"Progressing\": - \"semi-dark-blue\",\r\n \"Suspended\": \"semi-dark-orange\",\r\n - \ \"Unknown\": \"rgb(255, 255, 255)\"\r\n },\r\n \"bars\": - false,\r\n \"cacheTimeout\": null,\r\n \"dashLength\": 10,\r\n - \ \"dashes\": false,\r\n \"datasource\": \"$datasource\",\r\n - \ \"decimals\": null,\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": - 12,\r\n \"x\": 0,\r\n \"y\": 6\r\n },\r\n - \ \"hiddenSeries\": false,\r\n \"id\": 105,\r\n \"interval\": - \"\",\r\n \"legend\": {\r\n \"alignAsTable\": true,\r\n - \ \"avg\": false,\r\n \"current\": true,\r\n \"hideEmpty\": - false,\r\n \"hideZero\": false,\r\n \"max\": false,\r\n - \ \"min\": false,\r\n \"rightSide\": true,\r\n \"show\": - true,\r\n \"sideWidth\": null,\r\n \"sort\": \"current\",\r\n - \ \"sortDesc\": true,\r\n \"total\": false,\r\n \"values\": - true\r\n },\r\n \"lines\": true,\r\n \"linewidth\": - 1,\r\n \"links\": [],\r\n \"nullPointMode\": \"null as zero\",\r\n - \ \"options\": {\r\n \"dataLinks\": []\r\n },\r\n - \ \"paceLength\": 10,\r\n \"percentage\": false,\r\n \"pointradius\": - 2,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - false,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"sum(argocd_app_info{namespace=~\\\"$namespace\\\",dest_server=~\\\"$cluster\\\",health_status=~\\\"$health_status\\\",sync_status=~\\\"$sync_status\\\",health_status!=\\\"\\\"}) - by (health_status)\",\r\n \"format\": \"time_series\",\r\n \"instant\": - false,\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"{{health_status}}\",\r\n \"refId\": \"A\"\r\n }\r\n - \ ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n - \ \"title\": \"Health Status\",\r\n \"tooltip\": {\r\n \"shared\": - true,\r\n \"sort\": 2,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n - \ \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 2,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {\r\n \"Degraded\": \"semi-dark-red\",\r\n - \ \"Healthy\": \"green\",\r\n \"Missing\": \"semi-dark-purple\",\r\n - \ \"OutOfSync\": \"semi-dark-yellow\",\r\n \"Progressing\": - \"semi-dark-blue\",\r\n \"Suspended\": \"semi-dark-orange\",\r\n - \ \"Synced\": \"semi-dark-green\",\r\n \"Unknown\": \"rgb(255, - 255, 255)\"\r\n },\r\n \"bars\": false,\r\n \"cacheTimeout\": - null,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n - \ \"datasource\": \"$datasource\",\r\n \"decimals\": null,\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 12,\r\n \"x\": - 12,\r\n \"y\": 6\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 106,\r\n \"interval\": \"\",\r\n \"legend\": - {\r\n \"alignAsTable\": true,\r\n \"avg\": false,\r\n - \ \"current\": true,\r\n \"hideEmpty\": false,\r\n \"hideZero\": - false,\r\n \"max\": false,\r\n \"min\": false,\r\n \"rightSide\": - true,\r\n \"show\": true,\r\n \"sideWidth\": null,\r\n - \ \"sort\": \"current\",\r\n \"sortDesc\": true,\r\n - \ \"total\": false,\r\n \"values\": true\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 1,\r\n \"links\": - [],\r\n \"nullPointMode\": \"null as zero\",\r\n \"options\": - {\r\n \"dataLinks\": []\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pointradius\": 2,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(argocd_app_info{namespace=~\\\"$namespace\\\",dest_server=~\\\"$cluster\\\",health_status=~\\\"$health_status\\\",sync_status=~\\\"$sync_status\\\",health_status!=\\\"\\\"}) - by (sync_status)\",\r\n \"format\": \"time_series\",\r\n \"instant\": - false,\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"{{sync_status}}\",\r\n \"refId\": \"A\"\r\n }\r\n - \ ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n - \ \"title\": \"Sync Status\",\r\n \"tooltip\": {\r\n \"shared\": - true,\r\n \"sort\": 2,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n - \ \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 2,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n }\r\n - \ ],\r\n \"title\": \"Application Status\",\r\n \"type\": - \"row\"\r\n },\r\n {\r\n \"collapsed\": true,\r\n \"datasource\": - \"$datasource\",\r\n \"gridPos\": {\r\n \"h\": 1,\r\n \"w\": - 24,\r\n \"x\": 0,\r\n \"y\": 6\r\n },\r\n \"id\": - 104,\r\n \"panels\": [\r\n {\r\n \"aliasColors\": {},\r\n - \ \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"$datasource\",\r\n \"decimals\": - null,\r\n \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 24,\r\n \"x\": - 0,\r\n \"y\": 3\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 56,\r\n \"interval\": \"\",\r\n \"legend\": - {\r\n \"alignAsTable\": true,\r\n \"avg\": false,\r\n - \ \"current\": true,\r\n \"hideEmpty\": true,\r\n \"hideZero\": - true,\r\n \"max\": false,\r\n \"min\": false,\r\n \"rightSide\": - true,\r\n \"show\": true,\r\n \"sort\": \"total\",\r\n - \ \"sortDesc\": true,\r\n \"total\": true,\r\n \"values\": - true\r\n },\r\n \"lines\": true,\r\n \"linewidth\": - 1,\r\n \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n - \ \"options\": {\r\n \"dataLinks\": []\r\n },\r\n - \ \"paceLength\": 10,\r\n \"percentage\": false,\r\n \"pointradius\": - 1,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - true,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"sum(round(increase(argocd_app_sync_total{namespace=~\\\"$namespace\\\",dest_server=~\\\"$cluster\\\"}[$interval]))) - by ($grouping)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{$grouping}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Sync Activity\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"decimals\": - 0,\r\n \"format\": \"short\",\r\n \"label\": \"\",\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - \"0\",\r\n \"show\": true\r\n },\r\n {\r\n - \ \"decimals\": -12,\r\n \"format\": \"short\",\r\n - \ \"label\": \"\",\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"decimals\": null,\r\n \"fill\": 1,\r\n - \ \"fillGradient\": 0,\r\n \"gridPos\": {\r\n \"h\": - 5,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 9\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": - 73,\r\n \"legend\": {\r\n \"alignAsTable\": true,\r\n - \ \"avg\": false,\r\n \"current\": false,\r\n \"hideEmpty\": - true,\r\n \"hideZero\": false,\r\n \"max\": false,\r\n - \ \"min\": false,\r\n \"rightSide\": true,\r\n \"show\": - true,\r\n \"sort\": \"total\",\r\n \"sortDesc\": true,\r\n - \ \"total\": true,\r\n \"values\": true\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 1,\r\n \"links\": - [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": {\r\n - \ \"dataLinks\": []\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pointradius\": 2,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [],\r\n \"spaceLength\": 10,\r\n \"stack\": true,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(round(increase(argocd_app_sync_total{namespace=~\\\"$namespace\\\",phase=~\\\"Error|Failed\\\",dest_server=~\\\"$cluster\\\"}[$interval]))) - by ($grouping, phase)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{phase}}: {{$grouping}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Sync Failures\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"decimals\": - 0,\r\n \"format\": \"none\",\r\n \"label\": \"\",\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - \"0\",\r\n \"show\": true\r\n },\r\n {\r\n - \ \"format\": \"short\",\r\n \"label\": \"\",\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n - \ \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n }\r\n ],\r\n \"title\": \"Sync - Stats\",\r\n \"type\": \"row\"\r\n },\r\n {\r\n \"collapsed\": - true,\r\n \"datasource\": \"$datasource\",\r\n \"gridPos\": {\r\n - \ \"h\": 1,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 7\r\n },\r\n \"id\": 64,\r\n \"panels\": [\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"$datasource\",\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 24,\r\n \"x\": - 0,\r\n \"y\": 12\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 58,\r\n \"legend\": {\r\n \"alignAsTable\": - true,\r\n \"avg\": true,\r\n \"current\": true,\r\n - \ \"max\": true,\r\n \"min\": false,\r\n \"rightSide\": - true,\r\n \"show\": true,\r\n \"sort\": \"total\",\r\n - \ \"sortDesc\": true,\r\n \"total\": true,\r\n \"values\": - true\r\n },\r\n \"lines\": true,\r\n \"linewidth\": - 1,\r\n \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n - \ \"options\": {\r\n \"dataLinks\": []\r\n },\r\n - \ \"paceLength\": 10,\r\n \"percentage\": false,\r\n \"pointradius\": - 2,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - false,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"sum(increase(argocd_app_reconcile_count{namespace=~\\\"$namespace\\\",dest_server=~\\\"$cluster\\\"}[$interval])) - by ($grouping)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{$grouping}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Reconciliation Activity\",\r\n \"tooltip\": - {\r\n \"shared\": false,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"cards\": {\r\n \"cardPadding\": null,\r\n - \ \"cardRound\": null\r\n },\r\n \"color\": - {\r\n \"cardColor\": \"#b4ff00\",\r\n \"colorScale\": - \"sqrt\",\r\n \"colorScheme\": \"interpolateSpectral\",\r\n \"exponent\": - 0.5,\r\n \"min\": null,\r\n \"mode\": \"spectrum\"\r\n - \ },\r\n \"dataFormat\": \"tsbuckets\",\r\n \"datasource\": - \"$datasource\",\r\n \"gridPos\": {\r\n \"h\": 7,\r\n - \ \"w\": 24,\r\n \"x\": 0,\r\n \"y\": 18\r\n - \ },\r\n \"heatmap\": {},\r\n \"hideZeroBuckets\": - false,\r\n \"highlightCards\": true,\r\n \"id\": 60,\r\n - \ \"legend\": {\r\n \"show\": true\r\n },\r\n - \ \"links\": [],\r\n \"options\": {},\r\n \"reverseYBuckets\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(increase(argocd_app_reconcile_bucket{namespace=~\\\"$namespace\\\"}[$interval])) - by (le)\",\r\n \"format\": \"heatmap\",\r\n \"instant\": - false,\r\n \"intervalFactor\": 10,\r\n \"legendFormat\": - \"{{le}}\",\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n - \ \"timeFrom\": null,\r\n \"timeShift\": null,\r\n \"title\": - \"Reconciliation Performance\",\r\n \"tooltip\": {\r\n \"show\": - true,\r\n \"showHistogram\": true\r\n },\r\n \"tooltipDecimals\": - 0,\r\n \"type\": \"heatmap\",\r\n \"xAxis\": {\r\n \"show\": - true\r\n },\r\n \"xBucketNumber\": null,\r\n \"xBucketSize\": - null,\r\n \"yAxis\": {\r\n \"decimals\": null,\r\n \"format\": - \"short\",\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true,\r\n \"splitFactor\": - null\r\n },\r\n \"yBucketBound\": \"auto\",\r\n \"yBucketNumber\": - null,\r\n \"yBucketSize\": null\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"$datasource\",\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 24,\r\n \"x\": - 0,\r\n \"y\": 25\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 80,\r\n \"legend\": {\r\n \"alignAsTable\": - true,\r\n \"avg\": true,\r\n \"current\": true,\r\n - \ \"hideEmpty\": true,\r\n \"hideZero\": true,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"rightSide\": true,\r\n - \ \"show\": true,\r\n \"sideWidth\": null,\r\n \"sort\": - \"current\",\r\n \"sortDesc\": true,\r\n \"total\": - false,\r\n \"values\": true\r\n },\r\n \"lines\": - true,\r\n \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"null as zero\",\r\n \"options\": {\r\n \"dataLinks\": - []\r\n },\r\n \"paceLength\": 10,\r\n \"percentage\": - false,\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(increase(argocd_app_k8s_request_total{namespace=~\\\"$namespace\\\",server=~\\\"$cluster\\\"}[$interval])) - by (verb, resource_kind)\",\r\n \"format\": \"time_series\",\r\n - \ \"instant\": false,\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"{{verb}} {{resource_kind}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"K8s API Activity\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": - 12,\r\n \"x\": 0,\r\n \"y\": 31\r\n },\r\n - \ \"hiddenSeries\": false,\r\n \"id\": 96,\r\n \"legend\": - {\r\n \"alignAsTable\": true,\r\n \"avg\": true,\r\n - \ \"current\": true,\r\n \"hideZero\": true,\r\n \"max\": - true,\r\n \"min\": false,\r\n \"rightSide\": false,\r\n - \ \"show\": true,\r\n \"sideWidth\": null,\r\n \"total\": - false,\r\n \"values\": true\r\n },\r\n \"lines\": - true,\r\n \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"null\",\r\n \"options\": {\r\n \"dataLinks\": []\r\n - \ },\r\n \"percentage\": false,\r\n \"pointradius\": - 2,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - false,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"sum(workqueue_depth{namespace=~\\\"$namespace\\\",name=~\\\"app_.*\\\"}) - by (name)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{name}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Workqueue Depth\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": \"0\",\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": \"0\",\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"decimals\": null,\r\n \"fill\": 1,\r\n - \ \"fillGradient\": 0,\r\n \"gridPos\": {\r\n \"h\": - 7,\r\n \"w\": 12,\r\n \"x\": 12,\r\n \"y\": - 31\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": - 98,\r\n \"legend\": {\r\n \"alignAsTable\": true,\r\n - \ \"avg\": true,\r\n \"current\": true,\r\n \"hideZero\": - false,\r\n \"max\": true,\r\n \"min\": false,\r\n \"show\": - true,\r\n \"total\": false,\r\n \"values\": true\r\n - \ },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"dataLinks\": []\r\n },\r\n \"percentage\": - false,\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(argocd_kubectl_exec_pending{namespace=~\\\"$namespace\\\"}) by (command)\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{command}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Pending kubectl run\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"decimals\": - 0,\r\n \"format\": \"short\",\r\n \"label\": \"\",\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - \"0\",\r\n \"show\": true\r\n },\r\n {\r\n - \ \"decimals\": 0,\r\n \"format\": \"short\",\r\n - \ \"label\": \"\",\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": \"0\",\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n }\r\n - \ ],\r\n \"title\": \"Controller Stats\",\r\n \"type\": \"row\"\r\n - \ },\r\n {\r\n \"collapsed\": true,\r\n \"datasource\": - \"$datasource\",\r\n \"gridPos\": {\r\n \"h\": 1,\r\n \"w\": - 24,\r\n \"x\": 0,\r\n \"y\": 8\r\n },\r\n \"id\": - 102,\r\n \"panels\": [\r\n {\r\n \"aliasColors\": {},\r\n - \ \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"$datasource\",\r\n \"fill\": - 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n \"h\": - 7,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 26\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": - 34,\r\n \"legend\": {\r\n \"alignAsTable\": true,\r\n - \ \"avg\": true,\r\n \"current\": true,\r\n \"max\": - true,\r\n \"min\": false,\r\n \"rightSide\": true,\r\n - \ \"show\": true,\r\n \"sort\": \"current\",\r\n \"sortDesc\": - true,\r\n \"total\": false,\r\n \"values\": true\r\n - \ },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"connected\",\r\n - \ \"options\": {\r\n \"dataLinks\": []\r\n },\r\n - \ \"paceLength\": 10,\r\n \"percentage\": false,\r\n \"pointradius\": - 5,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - false,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"go_memstats_heap_alloc_bytes{job=\\\"argocd-metrics\\\",namespace=~\\\"$namespace\\\"}\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{namespace}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Memory Usage\",\r\n \"tooltip\": - {\r\n \"shared\": false,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"bytes\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": - 24,\r\n \"x\": 0,\r\n \"y\": 33\r\n },\r\n - \ \"hiddenSeries\": false,\r\n \"id\": 108,\r\n \"legend\": - {\r\n \"alignAsTable\": true,\r\n \"avg\": true,\r\n - \ \"current\": true,\r\n \"hideEmpty\": true,\r\n \"hideZero\": - true,\r\n \"max\": true,\r\n \"min\": false,\r\n \"rightSide\": - true,\r\n \"show\": true,\r\n \"sort\": \"avg\",\r\n - \ \"sortDesc\": true,\r\n \"total\": false,\r\n \"values\": - true\r\n },\r\n \"lines\": true,\r\n \"linewidth\": - 1,\r\n \"links\": [],\r\n \"nullPointMode\": \"connected\",\r\n - \ \"options\": {\r\n \"dataLinks\": []\r\n },\r\n - \ \"paceLength\": 10,\r\n \"percentage\": false,\r\n \"pointradius\": - 5,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - false,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"irate(process_cpu_seconds_total{job=\\\"argocd-metrics\\\",namespace=~\\\"$namespace\\\"}[1m])\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{namespace}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"CPU Usage\",\r\n \"tooltip\": {\r\n - \ \"shared\": false,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"decimals\": - 1,\r\n \"format\": \"none\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n },\r\n {\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n - \ \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": - {},\r\n \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"$datasource\",\r\n \"fill\": - 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n \"h\": - 7,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 40\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": - 62,\r\n \"legend\": {\r\n \"alignAsTable\": true,\r\n - \ \"avg\": true,\r\n \"current\": true,\r\n \"hideEmpty\": - false,\r\n \"hideZero\": false,\r\n \"max\": true,\r\n - \ \"min\": false,\r\n \"rightSide\": true,\r\n \"show\": - true,\r\n \"sort\": \"current\",\r\n \"sortDesc\": true,\r\n - \ \"total\": false,\r\n \"values\": true\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 1,\r\n \"links\": - [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": {\r\n - \ \"dataLinks\": []\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pointradius\": 5,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"go_goroutines{job=\\\"argocd-metrics\\\",namespace=~\\\"$namespace\\\"}\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{namespace}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Goroutines\",\r\n \"tooltip\": {\r\n - \ \"shared\": false,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n }\r\n - \ ],\r\n \"title\": \"Controller Telemetry\",\r\n \"type\": - \"row\"\r\n },\r\n {\r\n \"collapsed\": true,\r\n \"datasource\": - \"$datasource\",\r\n \"gridPos\": {\r\n \"h\": 1,\r\n \"w\": - 24,\r\n \"x\": 0,\r\n \"y\": 9\r\n },\r\n \"id\": - 88,\r\n \"panels\": [\r\n {\r\n \"aliasColors\": {},\r\n - \ \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"$datasource\",\r\n \"fill\": - 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n \"h\": - 7,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 27\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": - 90,\r\n \"legend\": {\r\n \"alignAsTable\": true,\r\n - \ \"avg\": false,\r\n \"current\": true,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"rightSide\": true,\r\n - \ \"show\": true,\r\n \"sort\": \"current\",\r\n \"sortDesc\": - true,\r\n \"total\": false,\r\n \"values\": true\r\n - \ },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"dataLinks\": []\r\n },\r\n \"percentage\": - false,\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(argocd_cluster_api_resource_objects{namespace=~\\\"$namespace\\\",server=~\\\"$cluster\\\"}) - by (server)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{server}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Resource Objects Count\",\r\n \"tooltip\": - {\r\n \"shared\": false,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": - 24,\r\n \"x\": 0,\r\n \"y\": 34\r\n },\r\n - \ \"hiddenSeries\": false,\r\n \"id\": 92,\r\n \"legend\": - {\r\n \"alignAsTable\": true,\r\n \"avg\": false,\r\n - \ \"current\": true,\r\n \"hideEmpty\": true,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"rightSide\": true,\r\n - \ \"show\": true,\r\n \"sort\": \"current\",\r\n \"sortDesc\": - true,\r\n \"total\": false,\r\n \"values\": true\r\n - \ },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"dataLinks\": []\r\n },\r\n \"percentage\": - false,\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \" sum(argocd_cluster_api_resources{namespace=~\\\"$namespace\\\",server=~\\\"$cluster\\\"}) - by (server)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{server}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"API Resources Count\",\r\n \"tooltip\": - {\r\n \"shared\": false,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": - 24,\r\n \"x\": 0,\r\n \"y\": 40\r\n },\r\n - \ \"hiddenSeries\": false,\r\n \"id\": 86,\r\n \"legend\": - {\r\n \"alignAsTable\": true,\r\n \"avg\": true,\r\n - \ \"current\": true,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"rightSide\": true,\r\n \"show\": true,\r\n - \ \"sort\": \"current\",\r\n \"sortDesc\": true,\r\n - \ \"total\": false,\r\n \"values\": true\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 1,\r\n \"links\": - [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": {\r\n - \ \"dataLinks\": []\r\n },\r\n \"percentage\": - false,\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(increase(argocd_cluster_events_total{namespace=~\\\"$namespace\\\",server=~\\\"$cluster\\\"}[$interval])) - by (server)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{server}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Cluster Events Count\",\r\n \"tooltip\": - {\r\n \"shared\": false,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n }\r\n - \ ],\r\n \"title\": \"Cluster Stats\",\r\n \"type\": \"row\"\r\n - \ },\r\n {\r\n \"collapsed\": true,\r\n \"datasource\": - \"$datasource\",\r\n \"gridPos\": {\r\n \"h\": 1,\r\n \"w\": - 24,\r\n \"x\": 0,\r\n \"y\": 10\r\n },\r\n \"id\": - 70,\r\n \"panels\": [\r\n {\r\n \"aliasColors\": {},\r\n - \ \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"$datasource\",\r\n \"fill\": - 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n \"h\": - 8,\r\n \"w\": 12,\r\n \"x\": 0,\r\n \"y\": - 7\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": - 82,\r\n \"legend\": {\r\n \"avg\": false,\r\n \"current\": - false,\r\n \"max\": false,\r\n \"min\": false,\r\n \"show\": - false,\r\n \"total\": false,\r\n \"values\": false\r\n - \ },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"dataLinks\": []\r\n },\r\n \"percentage\": - false,\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(increase(argocd_git_request_total{request_type=\\\"ls-remote\\\", namespace=~\\\"$namespace\\\"}[10m])) - by (namespace)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{namespace}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Git Requests (ls-remote)\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 8,\r\n \"w\": - 12,\r\n \"x\": 12,\r\n \"y\": 7\r\n },\r\n - \ \"hiddenSeries\": false,\r\n \"id\": 84,\r\n \"legend\": - {\r\n \"avg\": false,\r\n \"current\": false,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"show\": false,\r\n - \ \"total\": false,\r\n \"values\": false\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 1,\r\n \"links\": - [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": {\r\n - \ \"dataLinks\": []\r\n },\r\n \"percentage\": - false,\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(increase(argocd_git_request_total{request_type=\\\"fetch\\\", namespace=~\\\"$namespace\\\"}[10m])) - by (namespace)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{namespace}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Git Requests (checkout)\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": \"\",\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"cards\": {\r\n \"cardPadding\": null,\r\n - \ \"cardRound\": null\r\n },\r\n \"color\": - {\r\n \"cardColor\": \"#b4ff00\",\r\n \"colorScale\": - \"sqrt\",\r\n \"colorScheme\": \"interpolateSpectral\",\r\n \"exponent\": - 0.5,\r\n \"mode\": \"spectrum\"\r\n },\r\n \"dataFormat\": - \"tsbuckets\",\r\n \"datasource\": \"$datasource\",\r\n \"gridPos\": - {\r\n \"h\": 8,\r\n \"w\": 12,\r\n \"x\": - 0,\r\n \"y\": 15\r\n },\r\n \"heatmap\": {},\r\n - \ \"hideZeroBuckets\": false,\r\n \"highlightCards\": true,\r\n - \ \"id\": 114,\r\n \"legend\": {\r\n \"show\": - false\r\n },\r\n \"options\": {},\r\n \"reverseYBuckets\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(increase(argocd_git_request_duration_seconds_bucket{request_type=\\\"fetch\\\", - namespace=~\\\"$namespace\\\"}[$interval])) by (le)\",\r\n \"format\": - \"heatmap\",\r\n \"intervalFactor\": 10,\r\n \"legendFormat\": - \"{{le}}\",\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n - \ \"timeFrom\": null,\r\n \"timeShift\": null,\r\n \"title\": - \"Git Fetch Performance\",\r\n \"tooltip\": {\r\n \"show\": - true,\r\n \"showHistogram\": false\r\n },\r\n \"type\": - \"heatmap\",\r\n \"xAxis\": {\r\n \"show\": true\r\n },\r\n - \ \"xBucketNumber\": null,\r\n \"xBucketSize\": null,\r\n - \ \"yAxis\": {\r\n \"decimals\": null,\r\n \"format\": - \"short\",\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true,\r\n \"splitFactor\": - null\r\n },\r\n \"yBucketBound\": \"auto\",\r\n \"yBucketNumber\": - null,\r\n \"yBucketSize\": null\r\n },\r\n {\r\n - \ \"cards\": {\r\n \"cardPadding\": null,\r\n \"cardRound\": - null\r\n },\r\n \"color\": {\r\n \"cardColor\": - \"#b4ff00\",\r\n \"colorScale\": \"sqrt\",\r\n \"colorScheme\": - \"interpolateSpectral\",\r\n \"exponent\": 0.5,\r\n \"mode\": - \"spectrum\"\r\n },\r\n \"dataFormat\": \"tsbuckets\",\r\n - \ \"datasource\": \"$datasource\",\r\n \"gridPos\": {\r\n - \ \"h\": 8,\r\n \"w\": 12,\r\n \"x\": 12,\r\n - \ \"y\": 15\r\n },\r\n \"heatmap\": {},\r\n - \ \"hideZeroBuckets\": false,\r\n \"highlightCards\": true,\r\n - \ \"id\": 116,\r\n \"legend\": {\r\n \"show\": - false\r\n },\r\n \"options\": {},\r\n \"reverseYBuckets\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(increase(argocd_git_request_duration_seconds_bucket{request_type=\\\"ls-remote\\\", - namespace=~\\\"$namespace\\\"}[$interval])) by (le)\",\r\n \"format\": - \"heatmap\",\r\n \"intervalFactor\": 10,\r\n \"legendFormat\": - \"{{le}}\",\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n - \ \"timeFrom\": null,\r\n \"timeShift\": null,\r\n \"title\": - \"Git Ls-Remote Performance\",\r\n \"tooltip\": {\r\n \"show\": - true,\r\n \"showHistogram\": false\r\n },\r\n \"type\": - \"heatmap\",\r\n \"xAxis\": {\r\n \"show\": true\r\n },\r\n - \ \"xBucketNumber\": null,\r\n \"xBucketSize\": null,\r\n - \ \"yAxis\": {\r\n \"decimals\": null,\r\n \"format\": - \"short\",\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true,\r\n \"splitFactor\": - null\r\n },\r\n \"yBucketBound\": \"auto\",\r\n \"yBucketNumber\": - null,\r\n \"yBucketSize\": null\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"$datasource\",\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 8,\r\n \"w\": 24,\r\n \"x\": - 0,\r\n \"y\": 23\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 71,\r\n \"legend\": {\r\n \"avg\": - false,\r\n \"current\": false,\r\n \"max\": false,\r\n - \ \"min\": false,\r\n \"show\": false,\r\n \"total\": - false,\r\n \"values\": false\r\n },\r\n \"lines\": - true,\r\n \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"connected\",\r\n \"options\": {\r\n \"dataLinks\": []\r\n - \ },\r\n \"paceLength\": 10,\r\n \"percentage\": - false,\r\n \"pointradius\": 5,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"go_memstats_heap_alloc_bytes{job=\\\"argocd-repo-server\\\",namespace=~\\\"$namespace\\\"}\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{pod}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Memory Used\",\r\n \"tooltip\": {\r\n - \ \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"bytes\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": - 24,\r\n \"x\": 0,\r\n \"y\": 31\r\n },\r\n - \ \"hiddenSeries\": false,\r\n \"id\": 72,\r\n \"legend\": - {\r\n \"avg\": false,\r\n \"current\": false,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"show\": false,\r\n - \ \"total\": false,\r\n \"values\": false\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 1,\r\n \"links\": - [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": {\r\n - \ \"dataLinks\": []\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pointradius\": 5,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"go_goroutines{job=\\\"argocd-repo-server\\\",namespace=~\\\"$namespace\\\"}\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{pod}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Goroutines\",\r\n \"tooltip\": {\r\n - \ \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n }\r\n - \ ],\r\n \"title\": \"Repo Server Stats\",\r\n \"type\": \"row\"\r\n - \ },\r\n {\r\n \"collapsed\": true,\r\n \"datasource\": - \"$datasource\",\r\n \"gridPos\": {\r\n \"h\": 1,\r\n \"w\": - 24,\r\n \"x\": 0,\r\n \"y\": 11\r\n },\r\n \"id\": - 66,\r\n \"panels\": [\r\n {\r\n \"aliasColors\": {},\r\n - \ \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"$datasource\",\r\n \"fill\": - 1,\r\n \"gridPos\": {\r\n \"h\": 8,\r\n \"w\": - 24,\r\n \"x\": 0,\r\n \"y\": 89\r\n },\r\n - \ \"id\": 61,\r\n \"legend\": {\r\n \"avg\": - false,\r\n \"current\": false,\r\n \"max\": false,\r\n - \ \"min\": false,\r\n \"show\": false,\r\n \"total\": - false,\r\n \"values\": false\r\n },\r\n \"lines\": - true,\r\n \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"connected\",\r\n \"paceLength\": 10,\r\n \"percentage\": - false,\r\n \"pointradius\": 5,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"go_memstats_heap_alloc_bytes{job=\\\"argocd-server-metrics\\\",namespace=~\\\"$namespace\\\"}\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{pod}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Memory Used\",\r\n \"tooltip\": {\r\n - \ \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"bytes\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": \"0\",\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"fill\": 1,\r\n \"gridPos\": {\r\n - \ \"h\": 9,\r\n \"w\": 24,\r\n \"x\": 0,\r\n - \ \"y\": 97\r\n },\r\n \"id\": 36,\r\n \"legend\": - {\r\n \"avg\": false,\r\n \"current\": false,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"show\": false,\r\n - \ \"total\": false,\r\n \"values\": false\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 1,\r\n \"links\": - [],\r\n \"nullPointMode\": \"null\",\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pointradius\": 5,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"go_goroutines{job=\\\"argocd-server-metrics\\\",namespace=~\\\"$namespace\\\"}\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{pod}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n - \ \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Goroutines\",\r\n \"tooltip\": {\r\n - \ \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"fill\": 1,\r\n \"gridPos\": {\r\n - \ \"h\": 9,\r\n \"w\": 24,\r\n \"x\": 0,\r\n - \ \"y\": 106\r\n },\r\n \"id\": 38,\r\n \"legend\": - {\r\n \"avg\": false,\r\n \"current\": false,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"show\": true,\r\n \"total\": - false,\r\n \"values\": false\r\n },\r\n \"lines\": - true,\r\n \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"connected\",\r\n \"paceLength\": 10,\r\n \"percentage\": - false,\r\n \"pointradius\": 5,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"go_gc_duration_seconds{job=\\\"argocd-server-metrics\\\", quantile=\\\"1\\\", - namespace=~\\\"$namespace\\\"}\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 2,\r\n \"legendFormat\": \"{{pod}}\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n - \ \"timeShift\": null,\r\n \"title\": \"GC Time Quantiles\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": - 0,\r\n \"value_type\": \"individual\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n - \ \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": - [\r\n {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n - \ \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"content\": \"#### gRPC Services:\",\r\n \"gridPos\": - {\r\n \"h\": 2,\r\n \"w\": 24,\r\n \"x\": - 0,\r\n \"y\": 115\r\n },\r\n \"id\": 54,\r\n - \ \"links\": [],\r\n \"mode\": \"markdown\",\r\n \"title\": - \"\",\r\n \"transparent\": true,\r\n \"type\": \"text\"\r\n - \ },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n - \ \"datasource\": \"$datasource\",\r\n \"decimals\": null,\r\n - \ \"fill\": 1,\r\n \"gridPos\": {\r\n \"h\": - 9,\r\n \"w\": 12,\r\n \"x\": 0,\r\n \"y\": - 117\r\n },\r\n \"id\": 40,\r\n \"legend\": {\r\n - \ \"alignAsTable\": true,\r\n \"avg\": true,\r\n \"current\": - true,\r\n \"hideEmpty\": true,\r\n \"hideZero\": true,\r\n - \ \"max\": false,\r\n \"min\": false,\r\n \"rightSide\": - false,\r\n \"show\": true,\r\n \"sort\": \"total\",\r\n - \ \"sortDesc\": true,\r\n \"total\": true,\r\n \"values\": - true\r\n },\r\n \"lines\": true,\r\n \"linewidth\": - 1,\r\n \"links\": [],\r\n \"nullPointMode\": \"null as zero\",\r\n - \ \"paceLength\": 10,\r\n \"percentage\": false,\r\n \"pointradius\": - 5,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - false,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"sum(increase(grpc_server_handled_total{job=\\\"argocd-server-metrics\\\",grpc_service=\\\"application.ApplicationService\\\",namespace=~\\\"$namespace\\\"}[$interval])) - by (grpc_code, grpc_method)\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"{{grpc_code}},{{grpc_method}}\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n - \ \"timeShift\": null,\r\n \"title\": \"ApplicationService - Requests\",\r\n \"tooltip\": {\r\n \"shared\": false,\r\n - \ \"sort\": 2,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n - \ \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"fill\": 1,\r\n \"gridPos\": {\r\n - \ \"h\": 9,\r\n \"w\": 12,\r\n \"x\": 12,\r\n - \ \"y\": 117\r\n },\r\n \"id\": 42,\r\n \"legend\": - {\r\n \"alignAsTable\": true,\r\n \"avg\": true,\r\n - \ \"current\": true,\r\n \"hideEmpty\": true,\r\n \"hideZero\": - true,\r\n \"max\": false,\r\n \"min\": false,\r\n \"rightSide\": - false,\r\n \"show\": true,\r\n \"total\": true,\r\n - \ \"values\": true\r\n },\r\n \"lines\": true,\r\n - \ \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"null as zero\",\r\n \"paceLength\": 10,\r\n \"percentage\": - false,\r\n \"pointradius\": 5,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(increase(grpc_server_handled_total{job=\\\"argocd-server-metrics\\\",grpc_service=\\\"cluster.ClusterService\\\",namespace=~\\\"$namespace\\\"}[$interval])) - by (grpc_code, grpc_method)\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"{{grpc_code}},{{grpc_method}}\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n - \ \"timeShift\": null,\r\n \"title\": \"ClusterService Requests\",\r\n - \ \"tooltip\": {\r\n \"shared\": false,\r\n \"sort\": - 2,\r\n \"value_type\": \"individual\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n - \ \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": - [\r\n {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n - \ \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"$datasource\",\r\n - \ \"fill\": 1,\r\n \"gridPos\": {\r\n \"h\": - 9,\r\n \"w\": 12,\r\n \"x\": 0,\r\n \"y\": - 126\r\n },\r\n \"id\": 44,\r\n \"legend\": {\r\n - \ \"alignAsTable\": true,\r\n \"avg\": true,\r\n \"current\": - true,\r\n \"hideEmpty\": true,\r\n \"hideZero\": true,\r\n - \ \"max\": false,\r\n \"min\": false,\r\n \"rightSide\": - false,\r\n \"show\": true,\r\n \"total\": true,\r\n - \ \"values\": true\r\n },\r\n \"lines\": true,\r\n - \ \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"null as zero\",\r\n \"paceLength\": 10,\r\n \"percentage\": - false,\r\n \"pointradius\": 5,\r\n \"points\": false,\r\n - \ \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(increase(grpc_server_handled_total{job=\\\"argocd-server-metrics\\\",grpc_service=\\\"project.ProjectService\\\",namespace=~\\\"$namespace\\\"}[$interval])) - by (grpc_code, grpc_method)\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"{{grpc_code}},{{grpc_method}}\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n - \ \"timeShift\": null,\r\n \"title\": \"ProjectService Requests\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": - 0,\r\n \"value_type\": \"individual\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n - \ \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": - [\r\n {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n - \ \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"$datasource\",\r\n - \ \"fill\": 1,\r\n \"gridPos\": {\r\n \"h\": - 9,\r\n \"w\": 12,\r\n \"x\": 12,\r\n \"y\": - 126\r\n },\r\n \"id\": 46,\r\n \"legend\": {\r\n - \ \"alignAsTable\": true,\r\n \"avg\": true,\r\n \"current\": - true,\r\n \"hideEmpty\": true,\r\n \"hideZero\": true,\r\n - \ \"max\": false,\r\n \"min\": false,\r\n \"show\": - true,\r\n \"total\": true,\r\n \"values\": true\r\n - \ },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null as zero\",\r\n - \ \"paceLength\": 10,\r\n \"percentage\": false,\r\n \"pointradius\": - 5,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - false,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"sum(increase(grpc_server_handled_total{job=\\\"argocd-server-metrics\\\",grpc_service=\\\"repository.RepositoryService\\\",namespace=~\\\"$namespace\\\"}[$interval])) - by (grpc_code, grpc_method)\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"{{grpc_code}},{{grpc_method}}\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [\r\n {\r\n \"colorMode\": \"critical\",\r\n \"fill\": - true,\r\n \"line\": true,\r\n \"op\": \"gt\",\r\n - \ \"yaxis\": \"left\"\r\n }\r\n ],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n - \ \"title\": \"RepositoryService Requests\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n - \ {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"$datasource\",\r\n \"fill\": 1,\r\n \"gridPos\": {\r\n - \ \"h\": 9,\r\n \"w\": 12,\r\n \"x\": 0,\r\n - \ \"y\": 135\r\n },\r\n \"id\": 48,\r\n \"legend\": - {\r\n \"alignAsTable\": true,\r\n \"avg\": true,\r\n - \ \"current\": true,\r\n \"hideEmpty\": true,\r\n \"hideZero\": - true,\r\n \"max\": false,\r\n \"min\": false,\r\n \"show\": - true,\r\n \"total\": true,\r\n \"values\": true\r\n - \ },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null as zero\",\r\n - \ \"paceLength\": 10,\r\n \"percentage\": false,\r\n \"pointradius\": - 5,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - false,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"sum(increase(grpc_server_handled_total{job=\\\"argocd-server-metrics\\\",grpc_service=\\\"session.SessionService\\\",namespace=~\\\"$namespace\\\"}[$interval])) - by (grpc_code, grpc_method)\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"{{grpc_code}},{{grpc_method}}\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n - \ \"timeShift\": null,\r\n \"title\": \"SessionService Requests\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": - 0,\r\n \"value_type\": \"individual\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n - \ \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": - [\r\n {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n - \ \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"$datasource\",\r\n - \ \"fill\": 1,\r\n \"gridPos\": {\r\n \"h\": - 9,\r\n \"w\": 12,\r\n \"x\": 12,\r\n \"y\": - 135\r\n },\r\n \"id\": 49,\r\n \"legend\": {\r\n - \ \"alignAsTable\": true,\r\n \"avg\": true,\r\n \"current\": - true,\r\n \"hideEmpty\": true,\r\n \"hideZero\": true,\r\n - \ \"max\": false,\r\n \"min\": false,\r\n \"show\": - true,\r\n \"total\": true,\r\n \"values\": true\r\n - \ },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null as zero\",\r\n - \ \"paceLength\": 10,\r\n \"percentage\": false,\r\n \"pointradius\": - 5,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - false,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"sum(increase(grpc_server_handled_total{job=\\\"argocd-server-metrics\\\",grpc_service=\\\"version.VersionService\\\",namespace=~\\\"$namespace\\\"}[$interval])) - by (grpc_code, grpc_method)\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"{{grpc_code}},{{grpc_method}}\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n - \ \"timeShift\": null,\r\n \"title\": \"VersionService Requests\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": - 0,\r\n \"value_type\": \"individual\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n - \ \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": - [\r\n {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n - \ \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"$datasource\",\r\n - \ \"fill\": 1,\r\n \"gridPos\": {\r\n \"h\": - 9,\r\n \"w\": 12,\r\n \"x\": 0,\r\n \"y\": - 144\r\n },\r\n \"id\": 50,\r\n \"legend\": {\r\n - \ \"alignAsTable\": true,\r\n \"avg\": true,\r\n \"current\": - true,\r\n \"hideEmpty\": true,\r\n \"hideZero\": true,\r\n - \ \"max\": false,\r\n \"min\": false,\r\n \"show\": - true,\r\n \"total\": true,\r\n \"values\": true\r\n - \ },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null as zero\",\r\n - \ \"paceLength\": 10,\r\n \"percentage\": false,\r\n \"pointradius\": - 5,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - false,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"sum(increase(grpc_server_handled_total{job=\\\"argocd-server-metrics\\\",grpc_service=\\\"account.AccountService\\\",namespace=~\\\"$namespace\\\"}[$interval])) - by (grpc_code, grpc_method)\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"{{grpc_code}},{{grpc_method}}\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n - \ \"timeShift\": null,\r\n \"title\": \"AccountService Requests\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": - 0,\r\n \"value_type\": \"individual\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n - \ \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": - [\r\n {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n - \ \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"$datasource\",\r\n - \ \"fill\": 1,\r\n \"gridPos\": {\r\n \"h\": - 9,\r\n \"w\": 12,\r\n \"x\": 12,\r\n \"y\": - 144\r\n },\r\n \"id\": 99,\r\n \"legend\": {\r\n - \ \"alignAsTable\": true,\r\n \"avg\": true,\r\n \"current\": - true,\r\n \"hideEmpty\": true,\r\n \"hideZero\": true,\r\n - \ \"max\": false,\r\n \"min\": false,\r\n \"show\": - true,\r\n \"total\": true,\r\n \"values\": true\r\n - \ },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null as zero\",\r\n - \ \"paceLength\": 10,\r\n \"percentage\": false,\r\n \"pointradius\": - 5,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n - \ \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n \"stack\": - false,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"sum(increase(grpc_server_handled_total{job=\\\"argocd-server-metrics\\\",grpc_service=\\\"settings.SettingsService\\\",namespace=~\\\"$namespace\\\"}[$interval])) - by (grpc_code, grpc_method)\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"{{grpc_code}},{{grpc_method}}\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n - \ \"timeShift\": null,\r\n \"title\": \"SettingsService Requests\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": - 0,\r\n \"value_type\": \"individual\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n - \ \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": - [\r\n {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n - \ \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n - \ \"alignLevel\": null\r\n }\r\n }\r\n ],\r\n - \ \"title\": \"Server Stats\",\r\n \"type\": \"row\"\r\n },\r\n - \ {\r\n \"collapsed\": true,\r\n \"datasource\": null,\r\n \"gridPos\": - {\r\n \"h\": 1,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 12\r\n },\r\n \"id\": 110,\r\n \"panels\": [\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": null,\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 7,\r\n \"w\": 24,\r\n \"x\": - 0,\r\n \"y\": 9\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 112,\r\n \"legend\": {\r\n \"avg\": - false,\r\n \"current\": false,\r\n \"max\": false,\r\n - \ \"min\": false,\r\n \"show\": true,\r\n \"total\": - false,\r\n \"values\": false\r\n },\r\n \"lines\": - true,\r\n \"linewidth\": 1,\r\n \"nullPointMode\": \"null\",\r\n - \ \"options\": {\r\n \"dataLinks\": []\r\n },\r\n - \ \"percentage\": false,\r\n \"pointradius\": 2,\r\n \"points\": - false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"sum(increase(argocd_redis_request_total{namespace=~\\\"$namespace\\\"}[$interval])) - by (failed)\",\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n - \ \"thresholds\": [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Requests by - result\",\r\n \"tooltip\": {\r\n \"shared\": true,\r\n - \ \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n - \ \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n - \ }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n }\r\n - \ ],\r\n \"title\": \"Redis Stats\",\r\n \"type\": \"row\"\r\n - \ }\r\n ],\r\n \"refresh\": false,\r\n \"schemaVersion\": 21,\r\n - \ \"style\": \"dark\",\r\n \"tags\": [],\r\n \"templating\": {\r\n \"list\": - [\r\n {\r\n \"current\": {\r\n \"text\": \"Prometheus\",\r\n - \ \"value\": \"Prometheus\"\r\n },\r\n \"hide\": 0,\r\n - \ \"includeAll\": false,\r\n \"label\": null,\r\n \"multi\": - false,\r\n \"name\": \"datasource\",\r\n \"options\": [],\r\n - \ \"query\": \"prometheus\",\r\n \"refresh\": 1,\r\n \"regex\": - \"\",\r\n \"skipUrlSync\": false,\r\n \"type\": \"datasource\"\r\n - \ },\r\n {\r\n \"allValue\": \".*\",\r\n \"current\": - {\r\n \"selected\": false,\r\n \"text\": \"All\",\r\n \"value\": - \"$__all\"\r\n },\r\n \"datasource\": \"$datasource\",\r\n \"definition\": - \"label_values(kube_pod_info, namespace)\",\r\n \"hide\": 0,\r\n \"includeAll\": - true,\r\n \"label\": null,\r\n \"multi\": false,\r\n \"name\": - \"namespace\",\r\n \"options\": [],\r\n \"query\": \"label_values(kube_pod_info, - namespace)\",\r\n \"refresh\": 1,\r\n \"regex\": \".*argocd.*\",\r\n - \ \"skipUrlSync\": false,\r\n \"sort\": 0,\r\n \"tagValuesQuery\": - \"\",\r\n \"tags\": [],\r\n \"tagsQuery\": \"\",\r\n \"type\": - \"query\",\r\n \"useTags\": false\r\n },\r\n {\r\n \"auto\": - true,\r\n \"auto_count\": 30,\r\n \"auto_min\": \"1m\",\r\n - \ \"current\": {\r\n \"selected\": false,\r\n \"text\": - \"auto\",\r\n \"value\": \"$__auto_interval_interval\"\r\n },\r\n - \ \"hide\": 0,\r\n \"label\": null,\r\n \"name\": \"interval\",\r\n - \ \"options\": [\r\n {\r\n \"selected\": true,\r\n - \ \"text\": \"auto\",\r\n \"value\": \"$__auto_interval_interval\"\r\n - \ },\r\n {\r\n \"selected\": false,\r\n \"text\": - \"1m\",\r\n \"value\": \"1m\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"5m\",\r\n \"value\": - \"5m\"\r\n },\r\n {\r\n \"selected\": false,\r\n - \ \"text\": \"10m\",\r\n \"value\": \"10m\"\r\n },\r\n - \ {\r\n \"selected\": false,\r\n \"text\": - \"30m\",\r\n \"value\": \"30m\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"1h\",\r\n \"value\": - \"1h\"\r\n },\r\n {\r\n \"selected\": false,\r\n - \ \"text\": \"2h\",\r\n \"value\": \"2h\"\r\n },\r\n - \ {\r\n \"selected\": false,\r\n \"text\": - \"4h\",\r\n \"value\": \"4h\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"8h\",\r\n \"value\": - \"8h\"\r\n }\r\n ],\r\n \"query\": \"1m,5m,10m,30m,1h,2h,4h,8h\",\r\n - \ \"refresh\": 2,\r\n \"skipUrlSync\": false,\r\n \"type\": - \"interval\"\r\n },\r\n {\r\n \"allValue\": \"\",\r\n \"current\": - {\r\n \"selected\": true,\r\n \"text\": \"namespace\",\r\n - \ \"value\": \"namespace\"\r\n },\r\n \"hide\": 0,\r\n - \ \"includeAll\": false,\r\n \"label\": null,\r\n \"multi\": - false,\r\n \"name\": \"grouping\",\r\n \"options\": [\r\n {\r\n - \ \"selected\": true,\r\n \"text\": \"namespace\",\r\n - \ \"value\": \"namespace\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"name\",\r\n \"value\": - \"name\"\r\n },\r\n {\r\n \"selected\": false,\r\n - \ \"text\": \"project\",\r\n \"value\": \"project\"\r\n - \ }\r\n ],\r\n \"query\": \"namespace,name,project\",\r\n - \ \"skipUrlSync\": false,\r\n \"type\": \"custom\"\r\n },\r\n - \ {\r\n \"allValue\": \".*\",\r\n \"current\": {\r\n \"selected\": - false,\r\n \"text\": \"All\",\r\n \"value\": \"$__all\"\r\n - \ },\r\n \"datasource\": \"$datasource\",\r\n \"definition\": - \"label_values(argocd_cluster_info, server)\",\r\n \"hide\": 0,\r\n \"includeAll\": - true,\r\n \"label\": null,\r\n \"multi\": false,\r\n \"name\": - \"cluster\",\r\n \"options\": [],\r\n \"query\": \"label_values(argocd_cluster_info, - server)\",\r\n \"refresh\": 1,\r\n \"regex\": \"\",\r\n \"skipUrlSync\": - false,\r\n \"sort\": 1,\r\n \"tagValuesQuery\": \"\",\r\n \"tags\": - [],\r\n \"tagsQuery\": \"\",\r\n \"type\": \"query\",\r\n \"useTags\": - false\r\n },\r\n {\r\n \"allValue\": \".*\",\r\n \"current\": - {\r\n \"selected\": true,\r\n \"text\": \"All\",\r\n \"value\": - \"$__all\"\r\n },\r\n \"hide\": 0,\r\n \"includeAll\": - true,\r\n \"label\": null,\r\n \"multi\": false,\r\n \"name\": - \"health_status\",\r\n \"options\": [\r\n {\r\n \"selected\": - true,\r\n \"text\": \"All\",\r\n \"value\": \"$__all\"\r\n - \ },\r\n {\r\n \"selected\": false,\r\n \"text\": - \"Healthy\",\r\n \"value\": \"Healthy\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"Progressing\",\r\n - \ \"value\": \"Progressing\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"Suspended\",\r\n - \ \"value\": \"Suspended\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"Missing\",\r\n - \ \"value\": \"Missing\"\r\n },\r\n {\r\n \"selected\": - false,\r\n \"text\": \"Degraded\",\r\n \"value\": \"Degraded\"\r\n - \ },\r\n {\r\n \"selected\": false,\r\n \"text\": - \"Unknown\",\r\n \"value\": \"Unknown\"\r\n }\r\n ],\r\n - \ \"query\": \"Healthy,Progressing,Suspended,Missing,Degraded,Unknown\",\r\n - \ \"skipUrlSync\": false,\r\n \"type\": \"custom\"\r\n },\r\n - \ {\r\n \"allValue\": \".*\",\r\n \"current\": {\r\n \"selected\": - true,\r\n \"text\": \"All\",\r\n \"value\": \"$__all\"\r\n - \ },\r\n \"hide\": 0,\r\n \"includeAll\": true,\r\n - \ \"label\": null,\r\n \"multi\": false,\r\n \"name\": - \"sync_status\",\r\n \"options\": [\r\n {\r\n \"selected\": - true,\r\n \"text\": \"All\",\r\n \"value\": \"$__all\"\r\n - \ },\r\n {\r\n \"selected\": false,\r\n \"text\": - \"Synced\",\r\n \"value\": \"Synced\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"OutOfSync\",\r\n - \ \"value\": \"OutOfSync\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"Unknown\",\r\n - \ \"value\": \"Unknown\"\r\n }\r\n ],\r\n \"query\": - \"Synced,OutOfSync,Unknown\",\r\n \"skipUrlSync\": false,\r\n \"type\": - \"custom\"\r\n }\r\n ]\r\n },\r\n \"time\": {\r\n \"from\": - \"now-30m\",\r\n \"to\": \"now\"\r\n },\r\n \"timepicker\": {\r\n \"refresh_intervals\": - [\r\n \"5s\",\r\n \"10s\",\r\n \"30s\",\r\n \"1m\",\r\n - \ \"5m\",\r\n \"15m\",\r\n \"30m\",\r\n \"1h\",\r\n - \ \"2h\",\r\n \"1d\"\r\n ],\r\n \"time_options\": [\r\n - \ \"5m\",\r\n \"15m\",\r\n \"1h\",\r\n \"6h\",\r\n - \ \"12h\",\r\n \"24h\",\r\n \"2d\",\r\n \"7d\",\r\n - \ \"30d\"\r\n ]\r\n },\r\n \"timezone\": \"\",\r\n \"title\": - \"ArgoCD\",\r\n \"uid\": \"LCAgc9rWz\",\r\n \"version\": 1\r\n }" - diff --git a/src/shell/prometheus/crds/dashboards/jaeger/jaeger-grafana-dashboard.json b/src/shell/prometheus/crds/dashboards/jaeger/jaeger-grafana-dashboard.json deleted file mode 100644 index d2ad603e..00000000 --- a/src/shell/prometheus/crds/dashboards/jaeger/jaeger-grafana-dashboard.json +++ /dev/null @@ -1,2669 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- Grafana --", - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "description": "Dashboard for monitoring jaeger running in a k8s environment. Works with 1.9+. Feedbacks? Please send to luong.vo@employmenthero.com", - "editable": false, - "gnetId": 10001, - "graphTooltip": 0, - "id": 30, - "links": [], - "panels": [ - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 32, - "panels": [], - "title": "Jaeger Collector", - "type": "row" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 1 - }, - "hiddenSeries": false, - "id": 34, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_collector_spans_received_total[5m]))", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Spans Received/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 1 - }, - "hiddenSeries": false, - "id": 36, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "jaeger_collector_in_queue_latency_sum / jaeger_collector_in_queue_latency_count", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Average in-queue latency (sec)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 1 - }, - "hiddenSeries": false, - "id": 42, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "jaeger_collector_batch_size", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Batch Size (spans)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 8 - }, - "hiddenSeries": false, - "id": 38, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "jaeger_collector_queue_length", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Queue Length (Spans)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 8 - }, - "hiddenSeries": false, - "id": 40, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate(jaeger_collector_spans_dropped_total[5m])", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Spans Dropped/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 8 - }, - "hiddenSeries": false, - "id": 44, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "jaeger_collector_save_latency_sum / jaeger_collector_save_latency_count", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Span save latency (sec)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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 - } - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 15 - }, - "id": 30, - "panels": [], - "repeat": null, - "title": "Jaeger Agent", - "type": "row" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 16 - }, - "hiddenSeries": false, - "id": 8, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_agent_thrift_udp_server_packets_processed_total[5m])) by (protocol)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "jaeger_agent_thrift_udp_server_packets_processed/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 8, - "y": 16 - }, - "hiddenSeries": false, - "id": 20, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "avg(jaeger_agent_thrift_udp_server_packet_size) by (protocol)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "avg(jaeger_agent_thrift_udp_server_packet_size)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 16, - "y": 16 - }, - "hiddenSeries": false, - "id": 24, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "avg(jaeger_agent_thrift_udp_server_queue_size) by (protocol)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "jaeger_agent_thrift_udp_server_queue_size", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 22 - }, - "hiddenSeries": false, - "id": 26, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_agent_thrift_udp_server_read_errors_total[5m])) by (protocol)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "jaeger_agent_thrift_udp_server_read_errors/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 8, - "y": 22 - }, - "hiddenSeries": false, - "id": 22, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_agent_thrift_udp_server_packets_dropped_total[5m])) by (protocol)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "jaeger_agent_thrift_udp_server_packets_dropped/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 16, - "y": 22 - }, - "hiddenSeries": false, - "id": 28, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_agent_thrift_udp_t_processor_handler_errors_total[5m])) by (protocol)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "jaeger_agent_thrift_udp_t_processor_handler_errors/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 28 - }, - "hiddenSeries": false, - "id": 6, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_agent_reporter_batches_submitted_total[5m])) by (format)", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "jaeger_agent_tchannel_reporter_batches_submitted/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 8, - "y": 28 - }, - "hiddenSeries": false, - "id": 16, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_agent_reporter_spans_submitted_total[5m])) by (format)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "jaeger_agent_tchannel_reporter_spans_submitted/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 16, - "y": 28 - }, - "hiddenSeries": false, - "id": 12, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "avg(jaeger_agent_reporter_batch_size) by (format)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "avg(jaeger_agent_tchannel_reporter_batch_size)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 34 - }, - "hiddenSeries": false, - "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_agent_http_server_requests_total[5m])) by (type)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "jaeger_agent_http_server_requests/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 8, - "y": 34 - }, - "hiddenSeries": false, - "id": 14, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_agent_reporter_batches_failures_total[5m])) by (format)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "jaeger_agent_tchannel_reporter_batches_failures/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 16, - "y": 34 - }, - "hiddenSeries": false, - "id": 18, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_agent_reporter_spans_failures_total[5m])) by (format)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "jaeger_agent_tchannel_reporter_spans_failures/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 40 - }, - "hiddenSeries": false, - "id": 2, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_agent_http_server_errors_total[5m])) by (source, status)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{source}}.{{status}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "jaeger_agent_http_server_errors/sec", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 16, - "x": 8, - "y": 40 - }, - "hiddenSeries": false, - "id": 10, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(jaeger_agent_collector_proxy_total) by (endpoint,protocol,result)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "total(jaeger_agent_collector_proxy)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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 - } - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 46 - }, - "id": 46, - "panels": [], - "title": "Jaeger Query", - "type": "row" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 47 - }, - "hiddenSeries": false, - "id": 48, - "legend": { - "avg": false, - "current": false, - "hideEmpty": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "(jaeger_rpc_request_latency_sum / jaeger_rpc_request_latency_count)*1000", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Average request latency (milliseconds)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 54 - }, - "hiddenSeries": false, - "id": 50, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_rpc_http_requests_total[5m]))*60", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "All requests (/min)", - "refId": "A" - }, - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{status_code=~\"2xx\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "2xx Requests (/min)", - "refId": "B" - }, - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{status_code!=\"2xx\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Non-2xx Requests (/min)", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Requests/min (All requests)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 54 - }, - "hiddenSeries": false, - "id": 52, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/traces\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "All requests (/min)", - "refId": "A" - }, - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/traces\",status_code=~\"2xx\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "2xx Requests (/min)", - "refId": "B" - }, - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/traces\",status_code!=\"2xx\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Non-2xx Requests (/min)", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Requests/min (endpoint=\"/api/traces\")", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 54 - }, - "hiddenSeries": false, - "id": 54, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/traces/-traceID-\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "All requests (/min)", - "refId": "A" - }, - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/traces/-traceID-\",status_code=~\"2xx\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "2xx Requests (/min)", - "refId": "B" - }, - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/traces/-traceID-\",status_code!=\"2xx\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Non-2xx Requests (/min)", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Requests/min (endpoint=\"/api/traces/-traceID-\")", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 61 - }, - "hiddenSeries": false, - "id": 56, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/services/-service-/operations\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "All requests (/min)", - "refId": "A" - }, - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/services/-service-/operations\",status_code=~\"2xx\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "2xx Requests (/min)", - "refId": "B" - }, - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/services/-service-/operations\",status_code!=\"2xx\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Non-2xx Requests (/min)", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Requests/min (endpoint=\"/api/services/-service-/operations\")", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 61 - }, - "hiddenSeries": false, - "id": 58, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/services\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "All requests (/min)", - "refId": "A" - }, - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/services\",status_code=~\"2xx\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "2xx Requests (/min)", - "refId": "B" - }, - { - "expr": "sum(rate(jaeger_rpc_http_requests_total{endpoint=~\"/api/services\",status_code!=\"2xx\"}[5m]))*60", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Non-2xx Requests (/min)", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Requests/min (endpoint=\"/api/services\")", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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 - } - } - ], - "refresh": false, - "schemaVersion": 27, - "style": "dark", - "tags": [ - "jaeger" - ], - "templating": { - "list": [] - }, - "time": { - "from": "now-15m", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "timezone": "", - "title": "Jaeger Dashboard", - "uid": "zLOi95xmk", - "version": 2 - } \ No newline at end of file diff --git a/src/shell/prometheus/crds/dashboards/jaeger/jaeger-grafana-dashboard.yaml b/src/shell/prometheus/crds/dashboards/jaeger/jaeger-grafana-dashboard.yaml deleted file mode 100644 index cd1394f8..00000000 --- a/src/shell/prometheus/crds/dashboards/jaeger/jaeger-grafana-dashboard.yaml +++ /dev/null @@ -1,913 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: jaeger-dashboard - namespace: jaeger - labels: - grafana_dashboard: "1" - annotations: - k8s-sidecar-target-directory: /tmp/dashboards/Infrastructure -data: - jaeger-dashboard.json: "{\r\n \"annotations\": {\r\n \"list\": [\r\n {\r\n - \ \"builtIn\": 1,\r\n \"datasource\": \"-- Grafana --\",\r\n - \ \"enable\": true,\r\n \"hide\": true,\r\n \"iconColor\": - \"rgba(0, 211, 255, 1)\",\r\n \"name\": \"Annotations & Alerts\",\r\n - \ \"type\": \"dashboard\"\r\n }\r\n ]\r\n },\r\n \"description\": - \"Dashboard for monitoring jaeger running in a k8s environment. Works with 1.9+. - Feedbacks? Please send to luong.vo@employmenthero.com\",\r\n \"editable\": - false,\r\n \"gnetId\": 10001,\r\n \"graphTooltip\": 0,\r\n \"id\": 30,\r\n - \ \"links\": [],\r\n \"panels\": [\r\n {\r\n \"collapsed\": false,\r\n - \ \"datasource\": null,\r\n \"gridPos\": {\r\n \"h\": 1,\r\n - \ \"w\": 24,\r\n \"x\": 0,\r\n \"y\": 0\r\n },\r\n - \ \"id\": 32,\r\n \"panels\": [],\r\n \"title\": \"Jaeger Dashboard - Collector\",\r\n \"type\": \"row\"\r\n },\r\n {\r\n \"aliasColors\": - {},\r\n \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"Prometheus\",\r\n \"fieldConfig\": - {\r\n \"defaults\": {},\r\n \"overrides\": []\r\n },\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n - \ \"h\": 7,\r\n \"w\": 8,\r\n \"x\": 0,\r\n \"y\": - 1\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 34,\r\n - \ \"legend\": {\r\n \"avg\": false,\r\n \"current\": false,\r\n - \ \"max\": false,\r\n \"min\": false,\r\n \"show\": - true,\r\n \"total\": false,\r\n \"values\": false\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 1,\r\n \"links\": [],\r\n - \ \"nullPointMode\": \"null\",\r\n \"options\": {\r\n \"alertThreshold\": - true\r\n },\r\n \"paceLength\": 10,\r\n \"percentage\": false,\r\n - \ \"pluginVersion\": \"7.5.3\",\r\n \"pointradius\": 5,\r\n \"points\": - false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"sum(rate(jaeger_collector_spans_received_total[5m]))\",\r\n - \ \"format\": \"time_series\",\r\n \"hide\": false,\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"\",\r\n \"refId\": \"A\"\r\n - \ }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Spans Received/sec\",\r\n \"tooltip\": {\r\n \"shared\": true,\r\n - \ \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n },\r\n - \ \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": 8,\r\n - \ \"x\": 8,\r\n \"y\": 1\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 36,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"jaeger_collector_in_queue_latency_sum - / jaeger_collector_in_queue_latency_count\",\r\n \"format\": \"time_series\",\r\n - \ \"hide\": false,\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"\",\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Average in-queue latency (sec)\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n \"yaxis\": - {\r\n \"align\": false,\r\n \"alignLevel\": null\r\n }\r\n - \ },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": 8,\r\n - \ \"x\": 16,\r\n \"y\": 1\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 42,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"jaeger_collector_batch_size\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"\",\r\n \"refId\": \"A\"\r\n }\r\n - \ ],\r\n \"thresholds\": [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Batch Size (spans)\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": 8,\r\n - \ \"x\": 0,\r\n \"y\": 8\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 38,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"jaeger_collector_queue_length\",\r\n - \ \"format\": \"time_series\",\r\n \"hide\": false,\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"\",\r\n \"refId\": \"A\"\r\n - \ }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Queue Length (Spans)\",\r\n \"tooltip\": {\r\n \"shared\": true,\r\n - \ \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n },\r\n - \ \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": 8,\r\n - \ \"x\": 8,\r\n \"y\": 8\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 40,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"rate(jaeger_collector_spans_dropped_total[5m])\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"\",\r\n \"refId\": \"A\"\r\n }\r\n - \ ],\r\n \"thresholds\": [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Spans Dropped/sec\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": 8,\r\n - \ \"x\": 16,\r\n \"y\": 8\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 44,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"jaeger_collector_save_latency_sum - / jaeger_collector_save_latency_count\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Span save latency (sec)\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n \"yaxis\": - {\r\n \"align\": false,\r\n \"alignLevel\": null\r\n }\r\n - \ },\r\n {\r\n \"collapsed\": false,\r\n \"datasource\": - null,\r\n \"gridPos\": {\r\n \"h\": 1,\r\n \"w\": 24,\r\n - \ \"x\": 0,\r\n \"y\": 15\r\n },\r\n \"id\": 30,\r\n - \ \"panels\": [],\r\n \"repeat\": null,\r\n \"title\": \"Jaeger - Agent\",\r\n \"type\": \"row\"\r\n },\r\n {\r\n \"aliasColors\": - {},\r\n \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"Prometheus\",\r\n \"fieldConfig\": - {\r\n \"defaults\": {},\r\n \"overrides\": []\r\n },\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n - \ \"h\": 6,\r\n \"w\": 8,\r\n \"x\": 0,\r\n \"y\": - 16\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 8,\r\n - \ \"legend\": {\r\n \"avg\": false,\r\n \"current\": false,\r\n - \ \"max\": false,\r\n \"min\": false,\r\n \"show\": - true,\r\n \"total\": false,\r\n \"values\": false\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 1,\r\n \"links\": [],\r\n - \ \"nullPointMode\": \"null\",\r\n \"options\": {\r\n \"alertThreshold\": - true\r\n },\r\n \"paceLength\": 10,\r\n \"percentage\": false,\r\n - \ \"pluginVersion\": \"7.5.3\",\r\n \"pointradius\": 5,\r\n \"points\": - false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"sum(rate(jaeger_agent_thrift_udp_server_packets_processed_total[5m])) - by (protocol)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"jaeger_agent_thrift_udp_server_packets_processed/sec\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 8,\r\n \"y\": 16\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 20,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"avg(jaeger_agent_thrift_udp_server_packet_size) - by (protocol)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"avg(jaeger_agent_thrift_udp_server_packet_size)\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 16,\r\n \"y\": 16\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 24,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"avg(jaeger_agent_thrift_udp_server_queue_size) - by (protocol)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"jaeger_agent_thrift_udp_server_queue_size\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 0,\r\n \"y\": 22\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 26,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_agent_thrift_udp_server_read_errors_total[5m])) - by (protocol)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"jaeger_agent_thrift_udp_server_read_errors/sec\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 8,\r\n \"y\": 22\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 22,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_agent_thrift_udp_server_packets_dropped_total[5m])) - by (protocol)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"jaeger_agent_thrift_udp_server_packets_dropped/sec\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 16,\r\n \"y\": 22\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 28,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_agent_thrift_udp_t_processor_handler_errors_total[5m])) - by (protocol)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"jaeger_agent_thrift_udp_t_processor_handler_errors/sec\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 0,\r\n \"y\": 28\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 6,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_agent_reporter_batches_submitted_total[5m])) - by (format)\",\r\n \"format\": \"time_series\",\r\n \"hide\": - false,\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"\",\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"jaeger_agent_tchannel_reporter_batches_submitted/sec\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 8,\r\n \"y\": 28\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 16,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_agent_reporter_spans_submitted_total[5m])) - by (format)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"jaeger_agent_tchannel_reporter_spans_submitted/sec\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 16,\r\n \"y\": 28\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 12,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"avg(jaeger_agent_reporter_batch_size) - by (format)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"avg(jaeger_agent_tchannel_reporter_batch_size)\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 0,\r\n \"y\": 34\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 4,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_agent_http_server_requests_total[5m])) - by (type)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"\",\r\n \"refId\": \"A\"\r\n - \ }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"jaeger_agent_http_server_requests/sec\",\r\n \"tooltip\": {\r\n \"shared\": - true,\r\n \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 8,\r\n \"y\": 34\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 14,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_agent_reporter_batches_failures_total[5m])) - by (format)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"jaeger_agent_tchannel_reporter_batches_failures/sec\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 16,\r\n \"y\": 34\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 18,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_agent_reporter_spans_failures_total[5m])) - by (format)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"jaeger_agent_tchannel_reporter_spans_failures/sec\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 8,\r\n - \ \"x\": 0,\r\n \"y\": 40\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 2,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_agent_http_server_errors_total[5m])) - by (source, status)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{source}}.{{status}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"jaeger_agent_http_server_errors/sec\",\r\n \"tooltip\": {\r\n \"shared\": - true,\r\n \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 16,\r\n - \ \"x\": 8,\r\n \"y\": 40\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 10,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(jaeger_agent_collector_proxy_total) - by (endpoint,protocol,result)\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"refId\": \"A\"\r\n }\r\n - \ ],\r\n \"thresholds\": [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"total(jaeger_agent_collector_proxy)\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"collapsed\": false,\r\n - \ \"datasource\": null,\r\n \"gridPos\": {\r\n \"h\": 1,\r\n - \ \"w\": 24,\r\n \"x\": 0,\r\n \"y\": 46\r\n },\r\n - \ \"id\": 46,\r\n \"panels\": [],\r\n \"title\": \"Jaeger - Query\",\r\n \"type\": \"row\"\r\n },\r\n {\r\n \"aliasColors\": - {},\r\n \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"Prometheus\",\r\n \"fieldConfig\": - {\r\n \"defaults\": {},\r\n \"overrides\": []\r\n },\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n - \ \"h\": 7,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 47\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 48,\r\n - \ \"legend\": {\r\n \"avg\": false,\r\n \"current\": false,\r\n - \ \"hideEmpty\": true,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"(jaeger_rpc_request_latency_sum / - jaeger_rpc_request_latency_count)*1000\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Average request latency (milliseconds)\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n \"yaxis\": - {\r\n \"align\": false,\r\n \"alignLevel\": null\r\n }\r\n - \ },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": 8,\r\n - \ \"x\": 0,\r\n \"y\": 54\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 50,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"hide\": false,\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"All requests (/min)\",\r\n \"refId\": - \"A\"\r\n },\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{status_code=~\\\"2xx\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"2xx Requests (/min)\",\r\n \"refId\": - \"B\"\r\n },\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{status_code!=\\\"2xx\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"Non-2xx Requests (/min)\",\r\n \"refId\": - \"C\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Requests/min (All requests)\",\r\n \"tooltip\": {\r\n \"shared\": - true,\r\n \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": 8,\r\n - \ \"x\": 8,\r\n \"y\": 54\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 52,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/traces\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"All requests (/min)\",\r\n \"refId\": - \"A\"\r\n },\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/traces\\\",status_code=~\\\"2xx\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"2xx Requests (/min)\",\r\n \"refId\": - \"B\"\r\n },\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/traces\\\",status_code!=\\\"2xx\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"Non-2xx Requests (/min)\",\r\n \"refId\": - \"C\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Requests/min (endpoint=\\\"/api/traces\\\")\",\r\n \"tooltip\": {\r\n - \ \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n \"yaxis\": - {\r\n \"align\": false,\r\n \"alignLevel\": null\r\n }\r\n - \ },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 7,\r\n \"w\": 8,\r\n - \ \"x\": 16,\r\n \"y\": 54\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 54,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/traces/-traceID-\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"All requests (/min)\",\r\n \"refId\": - \"A\"\r\n },\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/traces/-traceID-\\\",status_code=~\\\"2xx\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"2xx Requests (/min)\",\r\n \"refId\": - \"B\"\r\n },\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/traces/-traceID-\\\",status_code!=\\\"2xx\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"Non-2xx Requests (/min)\",\r\n \"refId\": - \"C\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Requests/min (endpoint=\\\"/api/traces/-traceID-\\\")\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n \"yaxis\": - {\r\n \"align\": false,\r\n \"alignLevel\": null\r\n }\r\n - \ },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 8,\r\n \"w\": 12,\r\n - \ \"x\": 0,\r\n \"y\": 61\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 56,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/services/-service-/operations\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"All requests (/min)\",\r\n \"refId\": - \"A\"\r\n },\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/services/-service-/operations\\\",status_code=~\\\"2xx\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"2xx Requests (/min)\",\r\n \"refId\": - \"B\"\r\n },\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/services/-service-/operations\\\",status_code!=\\\"2xx\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"Non-2xx Requests (/min)\",\r\n \"refId\": - \"C\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Requests/min (endpoint=\\\"/api/services/-service-/operations\\\")\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n \"yaxis\": - {\r\n \"align\": false,\r\n \"alignLevel\": null\r\n }\r\n - \ },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 8,\r\n \"w\": 12,\r\n - \ \"x\": 12,\r\n \"y\": 61\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 58,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/services\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"All requests (/min)\",\r\n \"refId\": - \"A\"\r\n },\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/services\\\",status_code=~\\\"2xx\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"2xx Requests (/min)\",\r\n \"refId\": - \"B\"\r\n },\r\n {\r\n \"expr\": \"sum(rate(jaeger_rpc_http_requests_total{endpoint=~\\\"/api/services\\\",status_code!=\\\"2xx\\\"}[5m]))*60\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"Non-2xx Requests (/min)\",\r\n \"refId\": - \"C\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Requests/min (endpoint=\\\"/api/services\\\")\",\r\n \"tooltip\": {\r\n - \ \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n \"yaxis\": - {\r\n \"align\": false,\r\n \"alignLevel\": null\r\n }\r\n - \ }\r\n ],\r\n \"refresh\": false,\r\n \"schemaVersion\": 27,\r\n - \ \"style\": \"dark\",\r\n \"tags\": [\r\n \"jaeger\"\r\n ],\r\n - \ \"templating\": {\r\n \"list\": []\r\n },\r\n \"time\": {\r\n \"from\": - \"now-15m\",\r\n \"to\": \"now\"\r\n },\r\n \"timepicker\": {\r\n \"refresh_intervals\": - [\r\n \"5s\",\r\n \"10s\",\r\n \"30s\",\r\n \"1m\",\r\n - \ \"5m\",\r\n \"15m\",\r\n \"30m\",\r\n \"1h\",\r\n - \ \"2h\",\r\n \"1d\"\r\n ],\r\n \"time_options\": [\r\n - \ \"5m\",\r\n \"15m\",\r\n \"1h\",\r\n \"6h\",\r\n - \ \"12h\",\r\n \"24h\",\r\n \"2d\",\r\n \"7d\",\r\n - \ \"30d\"\r\n ]\r\n },\r\n \"timezone\": \"\",\r\n \"title\": - \"Jaeger Dashboard\",\r\n \"uid\": \"zLOi95xmk\",\r\n \"version\": 2\r\n }" - diff --git a/src/shell/prometheus/crds/dashboards/loki/loki-monitor-dashboard.json b/src/shell/prometheus/crds/dashboards/loki/loki-monitor-dashboard.json deleted file mode 100644 index 43774d6d..00000000 --- a/src/shell/prometheus/crds/dashboards/loki/loki-monitor-dashboard.json +++ /dev/null @@ -1,2385 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- Grafana --", - "enable": true, - "hide": false, - "iconColor": "rgba(0, 211, 255, 1)", - "limit": 100, - "name": "Annotations & Alerts", - "showIn": 0, - "type": "dashboard" - } - ] - }, - "description": "This dashboard can be used to detect issues on the Loki stack, when deployed in Kubernetes. Shows: some error metrics published by Promtail/Loki. Error and warning logs emitted by Promtail/Loki. Memory and CPU usage of Promtail/Loki compared against the Kubernetes memory/cpu limits and requests.", - "editable": true, - "gnetId": 14055, - "graphTooltip": 0, - "id": 31, - "links": [], - "panels": [ - { - "dashboardFilter": "", - "dashboardTags": [], - "datasource": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "folderId": null, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 987, - "limit": "100", - "nameFilter": "", - "onlyAlertsOnDashboard": true, - "pluginVersion": "7.3.5", - "show": "current", - "sortOrder": 3, - "stateFilter": [], - "timeFrom": null, - "timeShift": null, - "title": "Summary of alerts status", - "type": "alertlist" - }, - { - "collapsed": false, - "datasource": "Prometheus", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 6 - }, - "id": 435, - "panels": [], - "title": "Problems in the Loki Stack", - "type": "row" - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 0 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "5m", - "frequency": "1m", - "handler": 1, - "name": "Loki has emitted error/warning messages in the last 5m", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "description": "Total number of messages logged by Loki itself", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 5, - "w": 9, - "x": 0, - "y": 7 - }, - "hiddenSeries": false, - "id": 10, - "interval": "1m", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "debug", - "color": "#C0D8FF" - }, - { - "alias": "info", - "color": "#5794F2" - }, - { - "alias": "warn", - "color": "#FF9830" - }, - { - "alias": "error", - "color": "#C4162A" - } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(log_messages_total{app=\"loki\",level=~\"error|warn\"}[1m])) by (level)\n", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{level}}", - "refId": "A" - }, - { - "expr": "log_messages_total", - "format": "time_series", - "hide": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "B" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 0, - "visible": true - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Number of error/warning messages logged by Loki itself", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "datasource": "Loki", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 15, - "x": 9, - "y": 7 - }, - "id": 511, - "options": { - "dedupStrategy": "none", - "showLabels": false, - "showTime": false, - "sortOrder": "Descending", - "wrapLogMessage": false - }, - "pluginVersion": "7.3.5", - "targets": [ - { - "expr": "{app=\"loki\"} | logfmt | level=\"warn\" or level=\"error\"", - "legendFormat": "", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Error/warning messages logged by Loki itself", - "type": "logs" - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 0 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "5m", - "frequency": "1m", - "handler": 1, - "name": "Promtail has emitted error/warning messages in the last 5m", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "description": "Total number of messages logged by Promtail", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 5, - "w": 9, - "x": 0, - "y": 12 - }, - "hiddenSeries": false, - "id": 106, - "interval": "1m", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "debug", - "color": "#C0D8FF" - }, - { - "alias": "info", - "color": "#5794F2" - }, - { - "alias": "warn", - "color": "#FF9830" - }, - { - "alias": "error", - "color": "#C4162A" - } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(log_messages_total{app_kubernetes_io_name=\"promtail\",level=~\"error|warn\"}[1m])) by (level)\n", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{level}}", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 0, - "visible": true - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Error/warning messages logged by Promtail", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "datasource": "Loki", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 15, - "x": 9, - "y": 12 - }, - "id": 586, - "options": { - "dedupStrategy": "none", - "showLabels": false, - "showTime": false, - "sortOrder": "Descending", - "wrapLogMessage": false - }, - "pluginVersion": "7.3.5", - "targets": [ - { - "expr": "{app=\"promtail\"} | logfmt | level=\"warn\" or level=\"error\"", - "legendFormat": "", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Error/warning messages logged by Promtail", - "type": "logs" - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 0.01 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "max" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "5m", - "frequency": "1m", - "handler": 1, - "name": "Loki distributor has failed to send batches to ingesters", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 17 - }, - "hiddenSeries": false, - "id": 676, - "interval": "1m", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate(loki_distributor_ingester_append_failures_total[1m])*60", - "instant": false, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 0.01, - "visible": true - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Loki (distributor) - failed batch appends sent to ingesters", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 0.01 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "max" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "5m", - "frequency": "1m", - "handler": 1, - "name": "Promtail has dropped logs in the last 5m", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "description": "Number of log entries dropped because failed to be sent to the Loki ingester after all retries.", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 5, - "w": 24, - "x": 0, - "y": 22 - }, - "hiddenSeries": false, - "id": 677, - "interval": "1m", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate(promtail_dropped_entries_total[1m])*60", - "instant": false, - "interval": "", - "legendFormat": "pod={{kubernetes_pod_name}}, instance={{instance}}", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 0.01, - "visible": true - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Promtail - dropped log entries", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "collapsed": false, - "datasource": "Prometheus", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 27 - }, - "id": 47, - "panels": [], - "title": "Logging activity", - "type": "row" - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 5000 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "1m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "5m", - "frequency": "1m", - "handler": 1, - "name": "The number of streams in Loki is above 5000", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "description": "The total number of streams created per tenant.\nThis should not increase after startup.", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 28 - }, - "hiddenSeries": false, - "id": 78, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "loki_ingester_memory_streams", - "interval": "", - "legendFormat": "Streams", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 5000, - "visible": true - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Number of Streams in Loki", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "description": "The total number of log entries received per tenant (not necessarily of lines, as an entry can have more than one line of text).", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 34 - }, - "hiddenSeries": false, - "id": 56, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate(loki_distributor_lines_received_total[1m])", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Loki (distributor) - log entries received per second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 1000000 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "1m", - "frequency": "1m", - "handler": 1, - "name": "Quantity of data received by the Loki ingester is suspiciously high", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "description": "The total number of uncompressed bytes received per tenant.\n", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 40 - }, - "hiddenSeries": false, - "id": 137, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(loki_distributor_bytes_received_total[1m]))", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 1000000, - "visible": true - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Bytes received in ingester per second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "collapsed": false, - "datasource": "Prometheus", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 46 - }, - "id": 18, - "panels": [], - "title": "Memory usage", - "type": "row" - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 80 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "1m", - "frequency": "1m", - "handler": 1, - "name": "Loki memory usage is above 80% of the defined limit", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "decimals": 2, - "description": "Percentage of actual usage over configured limit", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 0, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 47 - }, - "hiddenSeries": false, - "id": 247, - "isNew": true, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 200, - "sort": "current", - "sortDesc": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "100 * max by(pod,container) (container_memory_working_set_bytes{container!=\"\",container!=\"POD\",pod=~\"loki.*\"})\n/\non (pod,container) group_left kube_pod_container_resource_limits_memory_bytes{pod=~\"loki.*\"}", - "hide": false, - "interval": "", - "legendFormat": "Usage (pod={{pod}}, container={{container}}, name={{name}})", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 80, - "visible": true - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Loki memory usage (% of Kubernetes memory limit)", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:241", - "format": "percent", - "label": null, - "logBase": 1, - "max": "100", - "min": "0", - "show": true - }, - { - "$$hashKey": "object:242", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "decimals": 2, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 0, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 53 - }, - "hiddenSeries": false, - "id": 25, - "isNew": true, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 200, - "sort": "current", - "sortDesc": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": null, - "seriesOverrides": [ - { - "alias": "Limit", - "color": "rgba(255, 255, 255, 0.56)", - "dashes": true - }, - { - "alias": "Request", - "color": "rgba(255, 255, 255, 0.78)" - }, - { - "alias": "Usage", - "fill": 1 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "container_memory_working_set_bytes{container!=\"\",container!=\"POD\",pod=~\"loki.*\"}", - "interval": "10s", - "intervalFactor": 1, - "legendFormat": "Usage (pod={{pod}}, container={{container}})", - "metric": "container_memory_usage:sort_desc", - "refId": "A", - "step": 10 - }, - { - "expr": "min(kube_pod_container_resource_limits_memory_bytes{pod=~\"loki.*\"})", - "interval": "", - "legendFormat": "Limit", - "refId": "B" - }, - { - "expr": "min(kube_pod_container_resource_requests_memory_bytes{pod=~\"loki.*\"})", - "interval": "", - "legendFormat": "Request", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Loki memory usage vs Kubernetes limit and request", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:581", - "format": "bytes", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:582", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 80 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "5m", - "frequency": "1m", - "handler": 1, - "name": "Promtail memory usage is above 80% of the defined limit", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "decimals": 2, - "description": "Percentage of actual usage over configured limit", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 0, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 59 - }, - "hiddenSeries": false, - "id": 772, - "isNew": true, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 200, - "sort": "current", - "sortDesc": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "100* max by(pod,container) (container_memory_working_set_bytes{container!=\"\",container!=\"POD\",pod=~\"promtail.*\"})\n/\non (pod,container) (kube_pod_container_resource_limits_memory_bytes{pod=~\"promtail.*\"})", - "hide": false, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 80, - "visible": true - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Promtail memory usage (% of Kubernetes memory limit)", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:335", - "format": "percent", - "label": null, - "logBase": 1, - "max": "100", - "min": "0", - "show": true - }, - { - "$$hashKey": "object:336", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "decimals": 2, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 0, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 65 - }, - "hiddenSeries": false, - "id": 1103, - "isNew": true, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sideWidth": 200, - "sort": "current", - "sortDesc": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Limit", - "color": "rgba(255, 255, 255, 0.56)", - "dashes": true - }, - { - "alias": "Request", - "color": "rgba(255, 255, 255, 0.78)" - }, - { - "alias": "Usage", - "fill": 1 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "container_memory_working_set_bytes{container!=\"\",container!=\"POD\",pod=~\"promtail.*\"}", - "interval": "10s", - "intervalFactor": 1, - "legendFormat": "Usage (pod={{pod}}, container={{container}})", - "metric": "container_memory_usage:sort_desc", - "refId": "A", - "step": 10 - }, - { - "expr": "min(kube_pod_container_resource_limits_memory_bytes{pod=~\"promtail.*\"})", - "interval": "", - "legendFormat": "Limit", - "refId": "B" - }, - { - "expr": "min(kube_pod_container_resource_requests_memory_bytes{pod=~\"promtail.*\"})", - "interval": "", - "legendFormat": "Request", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Promtail memory usage vs Kubernetes limit and request", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:581", - "format": "bytes", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:582", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "collapsed": false, - "datasource": "Prometheus", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 71 - }, - "id": 8, - "panels": [], - "title": "CPU Usage", - "type": "row" - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 80 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "1m", - "frequency": "1m", - "handler": 1, - "name": "Loki CPU usage is above 80% of the defined limit", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "decimals": 3, - "description": "percentage of configured limit", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 0, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 72 - }, - "height": "", - "hiddenSeries": false, - "id": 347, - "isNew": true, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sort": null, - "sortDesc": null, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "100* rate(container_cpu_usage_seconds_total{container!=\"POD\",container!=\"\",pod=~\"loki.*\"}[1m])\n/\non (pod,container) kube_pod_container_resource_limits_cpu_cores{container=\"loki\"}", - "interval": "10s", - "intervalFactor": 1, - "legendFormat": "", - "metric": "container_cpu", - "refId": "A", - "step": 10 - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 80, - "visible": true - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Loki CPU usage (% of Kubernetes CPU limit)", - "tooltip": { - "msResolution": true, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:413", - "format": "percent", - "label": "cores", - "logBase": 1, - "max": "100", - "min": "0", - "show": true - }, - { - "$$hashKey": "object:414", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "decimals": 3, - "description": "", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 0, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 78 - }, - "height": "", - "hiddenSeries": false, - "id": 6, - "isNew": true, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sort": null, - "sortDesc": null, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": null, - "seriesOverrides": [ - { - "alias": "CPU Limit", - "color": "rgba(255, 255, 255, 0.46)", - "dashes": true - }, - { - "alias": "CPU Request", - "color": "rgba(255, 255, 255, 0.54)" - }, - { - "alias": "Usage", - "fill": 1 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate(container_cpu_usage_seconds_total{container!=\"\",container!=\"POD\",pod=~\"loki.*\"}[1m])", - "interval": "10s", - "intervalFactor": 1, - "legendFormat": "CPU Usage (pod={{pod}}, container={{container}})", - "metric": "container_cpu", - "refId": "A", - "step": 10 - }, - { - "expr": "min(kube_pod_container_resource_limits_cpu_cores{pod=~\"loki.*\"})", - "interval": "", - "legendFormat": "CPU Limit", - "refId": "B" - }, - { - "expr": "min(kube_pod_container_resource_requests_cpu_cores{pod=~\"loki.*\"})", - "hide": false, - "interval": "", - "legendFormat": "CPU Request", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Loki CPU usage vs Kubernetes limit and request", - "tooltip": { - "msResolution": true, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:666", - "format": "none", - "label": "cores", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:667", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 80 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "keep_state", - "for": "5m", - "frequency": "1m", - "handler": 1, - "name": "Promtail CPU usage is above 80% of the defined limit", - "noDataState": "no_data", - "notifications": [] - }, - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "decimals": 3, - "description": "percentage of configured limit", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 0, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 84 - }, - "height": "", - "hiddenSeries": false, - "id": 910, - "isNew": true, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sort": null, - "sortDesc": null, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "100 * rate(container_cpu_usage_seconds_total{container!=\"\",container!=\"POD\",pod=~\"promtail.*\"}[1m])\n/\non (pod,container) kube_pod_container_resource_limits_cpu_cores{pod=~\"promtail.*\"}", - "interval": "10s", - "intervalFactor": 1, - "legendFormat": "", - "metric": "container_cpu", - "refId": "A", - "step": 10 - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 80, - "visible": true - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Promtail CPU usage (% of Kubernetes limit)", - "tooltip": { - "msResolution": true, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:231", - "format": "percent", - "label": "cores", - "logBase": 1, - "max": "100", - "min": "0", - "show": true - }, - { - "$$hashKey": "object:232", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "decimals": 3, - "description": "", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 0, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 90 - }, - "height": "", - "hiddenSeries": false, - "id": 1104, - "isNew": true, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sort": null, - "sortDesc": null, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "CPU Limit", - "color": "rgba(255, 255, 255, 0.46)", - "dashes": true - }, - { - "alias": "CPU Request", - "color": "rgba(255, 255, 255, 0.54)" - }, - { - "alias": "Usage", - "fill": 1 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate(container_cpu_usage_seconds_total{container!=\"\",container!=\"POD\",pod=~\"promtail.*\"}[1m])", - "interval": "10s", - "intervalFactor": 1, - "legendFormat": "CPU Usage (pod={{pod}}, container={{container}})", - "metric": "container_cpu", - "refId": "A", - "step": 10 - }, - { - "expr": "min(kube_pod_container_resource_limits_cpu_cores{pod=~\"promtail.*\"})", - "interval": "", - "legendFormat": "CPU Limit", - "refId": "B" - }, - { - "expr": "min(kube_pod_container_resource_requests_cpu_cores{pod=~\"promtail.*\"})", - "hide": false, - "interval": "", - "legendFormat": "CPU Request", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Promtail CPU usage vs Kubernetes limit and request", - "tooltip": { - "msResolution": true, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:666", - "format": "none", - "label": "cores", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:667", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - } - ], - "refresh": "1m", - "schemaVersion": 27, - "style": "dark", - "tags": [ - "tools", - "loki" - ], - "templating": { - "list": [] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "timezone": "", - "title": "Loki stack monitoring (Promtail, Loki)", - "uid": "loki_stack_monitoring_quortex", - "version": 1 - } \ No newline at end of file diff --git a/src/shell/prometheus/crds/dashboards/loki/loki-monitor-dashboard.yaml b/src/shell/prometheus/crds/dashboards/loki/loki-monitor-dashboard.yaml deleted file mode 100644 index a1bc9282..00000000 --- a/src/shell/prometheus/crds/dashboards/loki/loki-monitor-dashboard.yaml +++ /dev/null @@ -1,835 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: loki-monitor-dashboard - namespace: loki - labels: - grafana_dashboard: "1" - annotations: - k8s-sidecar-target-directory: /tmp/dashboards/Infrastructure -data: - loki-monitor-dashboard.json: "{\r\n \"annotations\": {\r\n \"list\": [\r\n - \ {\r\n \"builtIn\": 1,\r\n \"datasource\": \"-- Grafana - --\",\r\n \"enable\": true,\r\n \"hide\": false,\r\n \"iconColor\": - \"rgba(0, 211, 255, 1)\",\r\n \"limit\": 100,\r\n \"name\": - \"Annotations & Alerts\",\r\n \"showIn\": 0,\r\n \"type\": \"dashboard\"\r\n - \ }\r\n ]\r\n },\r\n \"description\": \"This dashboard can be - used to detect issues on the Loki stack, when deployed in Kubernetes. Shows: some - error metrics published by Promtail/Loki. Error and warning logs emitted by Promtail/Loki. - Memory and CPU usage of Promtail/Loki compared against the Kubernetes memory/cpu - limits and requests.\",\r\n \"editable\": true,\r\n \"gnetId\": 14055,\r\n - \ \"graphTooltip\": 0,\r\n \"id\": 31,\r\n \"links\": [],\r\n \"panels\": - [\r\n {\r\n \"dashboardFilter\": \"\",\r\n \"dashboardTags\": - [],\r\n \"datasource\": \"Prometheus\",\r\n \"fieldConfig\": {\r\n - \ \"defaults\": {},\r\n \"overrides\": []\r\n },\r\n \"folderId\": - null,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 24,\r\n - \ \"x\": 0,\r\n \"y\": 0\r\n },\r\n \"id\": 987,\r\n - \ \"limit\": \"100\",\r\n \"nameFilter\": \"\",\r\n \"onlyAlertsOnDashboard\": - true,\r\n \"pluginVersion\": \"7.3.5\",\r\n \"show\": \"current\",\r\n - \ \"sortOrder\": 3,\r\n \"stateFilter\": [],\r\n \"timeFrom\": - null,\r\n \"timeShift\": null,\r\n \"title\": \"Summary of alerts - status\",\r\n \"type\": \"alertlist\"\r\n },\r\n {\r\n \"collapsed\": - false,\r\n \"datasource\": \"Prometheus\",\r\n \"gridPos\": {\r\n - \ \"h\": 1,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 6\r\n },\r\n \"id\": 435,\r\n \"panels\": [],\r\n \"title\": - \"Problems in the Loki Stack\",\r\n \"type\": \"row\"\r\n },\r\n {\r\n - \ \"alert\": {\r\n \"alertRuleTags\": {},\r\n \"conditions\": - [\r\n {\r\n \"evaluator\": {\r\n \"params\": - [\r\n 0\r\n ],\r\n \"type\": \"gt\"\r\n - \ },\r\n \"operator\": {\r\n \"type\": - \"and\"\r\n },\r\n \"query\": {\r\n \"params\": - [\r\n \"A\",\r\n \"5m\",\r\n \"now\"\r\n - \ ]\r\n },\r\n \"reducer\": {\r\n \"params\": - [],\r\n \"type\": \"avg\"\r\n },\r\n \"type\": - \"query\"\r\n }\r\n ],\r\n \"executionErrorState\": - \"keep_state\",\r\n \"for\": \"5m\",\r\n \"frequency\": \"1m\",\r\n - \ \"handler\": 1,\r\n \"name\": \"Loki has emitted error/warning - messages in the last 5m\",\r\n \"noDataState\": \"no_data\",\r\n \"notifications\": - []\r\n },\r\n \"aliasColors\": {},\r\n \"bars\": true,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"description\": \"Total number of messages logged - by Loki itself\",\r\n \"fieldConfig\": {\r\n \"defaults\": {\r\n - \ \"links\": []\r\n },\r\n \"overrides\": []\r\n },\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n - \ \"h\": 5,\r\n \"w\": 9,\r\n \"x\": 0,\r\n \"y\": - 7\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 10,\r\n - \ \"interval\": \"1m\",\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": false,\r\n \"linewidth\": 1,\r\n - \ \"nullPointMode\": \"null\",\r\n \"options\": {\r\n \"alertThreshold\": - true\r\n },\r\n \"percentage\": false,\r\n \"pluginVersion\": - \"7.5.5\",\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [\r\n {\r\n \"alias\": - \"debug\",\r\n \"color\": \"#C0D8FF\"\r\n },\r\n {\r\n - \ \"alias\": \"info\",\r\n \"color\": \"#5794F2\"\r\n },\r\n - \ {\r\n \"alias\": \"warn\",\r\n \"color\": \"#FF9830\"\r\n - \ },\r\n {\r\n \"alias\": \"error\",\r\n \"color\": - \"#C4162A\"\r\n }\r\n ],\r\n \"spaceLength\": 10,\r\n \"stack\": - true,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n {\r\n - \ \"expr\": \"sum(rate(log_messages_total{app=\\\"loki\\\",level=~\\\"error|warn\\\"}[1m])) - by (level)\\n\",\r\n \"format\": \"time_series\",\r\n \"hide\": - false,\r\n \"interval\": \"\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"{{level}}\",\r\n \"refId\": \"A\"\r\n - \ },\r\n {\r\n \"expr\": \"log_messages_total\",\r\n - \ \"format\": \"time_series\",\r\n \"hide\": true,\r\n \"interval\": - \"\",\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": \"\",\r\n - \ \"refId\": \"B\"\r\n }\r\n ],\r\n \"thresholds\": - [\r\n {\r\n \"colorMode\": \"critical\",\r\n \"fill\": - true,\r\n \"line\": true,\r\n \"op\": \"gt\",\r\n \"value\": - 0,\r\n \"visible\": true\r\n }\r\n ],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Number of error/warning messages logged by Loki itself\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"none\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - \"0\",\r\n \"show\": true\r\n },\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"datasource\": \"Loki\",\r\n \"fieldConfig\": {\r\n \"defaults\": - {},\r\n \"overrides\": []\r\n },\r\n \"gridPos\": {\r\n - \ \"h\": 5,\r\n \"w\": 15,\r\n \"x\": 9,\r\n \"y\": - 7\r\n },\r\n \"id\": 511,\r\n \"options\": {\r\n \"dedupStrategy\": - \"none\",\r\n \"showLabels\": false,\r\n \"showTime\": false,\r\n - \ \"sortOrder\": \"Descending\",\r\n \"wrapLogMessage\": false\r\n - \ },\r\n \"pluginVersion\": \"7.3.5\",\r\n \"targets\": [\r\n - \ {\r\n \"expr\": \"{app=\\\"loki\\\"} | logfmt | level=\\\"warn\\\" - or level=\\\"error\\\"\",\r\n \"legendFormat\": \"\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"timeFrom\": null,\r\n \"timeShift\": - null,\r\n \"title\": \"Error/warning messages logged by Loki itself\",\r\n - \ \"type\": \"logs\"\r\n },\r\n {\r\n \"alert\": {\r\n - \ \"alertRuleTags\": {},\r\n \"conditions\": [\r\n {\r\n - \ \"evaluator\": {\r\n \"params\": [\r\n 0\r\n - \ ],\r\n \"type\": \"gt\"\r\n },\r\n - \ \"operator\": {\r\n \"type\": \"and\"\r\n },\r\n - \ \"query\": {\r\n \"params\": [\r\n \"A\",\r\n - \ \"5m\",\r\n \"now\"\r\n ]\r\n - \ },\r\n \"reducer\": {\r\n \"params\": - [],\r\n \"type\": \"avg\"\r\n },\r\n \"type\": - \"query\"\r\n }\r\n ],\r\n \"executionErrorState\": - \"keep_state\",\r\n \"for\": \"5m\",\r\n \"frequency\": \"1m\",\r\n - \ \"handler\": 1,\r\n \"name\": \"Promtail has emitted error/warning - messages in the last 5m\",\r\n \"noDataState\": \"no_data\",\r\n \"notifications\": - []\r\n },\r\n \"aliasColors\": {},\r\n \"bars\": true,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"description\": \"Total number of messages logged - by Promtail\",\r\n \"fieldConfig\": {\r\n \"defaults\": {\r\n - \ \"links\": []\r\n },\r\n \"overrides\": []\r\n },\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n - \ \"h\": 5,\r\n \"w\": 9,\r\n \"x\": 0,\r\n \"y\": - 12\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 106,\r\n - \ \"interval\": \"1m\",\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": false,\r\n \"linewidth\": 1,\r\n - \ \"nullPointMode\": \"null\",\r\n \"options\": {\r\n \"alertThreshold\": - true\r\n },\r\n \"percentage\": false,\r\n \"pluginVersion\": - \"7.5.5\",\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [\r\n {\r\n \"alias\": - \"debug\",\r\n \"color\": \"#C0D8FF\"\r\n },\r\n {\r\n - \ \"alias\": \"info\",\r\n \"color\": \"#5794F2\"\r\n },\r\n - \ {\r\n \"alias\": \"warn\",\r\n \"color\": \"#FF9830\"\r\n - \ },\r\n {\r\n \"alias\": \"error\",\r\n \"color\": - \"#C4162A\"\r\n }\r\n ],\r\n \"spaceLength\": 10,\r\n \"stack\": - true,\r\n \"steppedLine\": false,\r\n \"targets\": [\r\n {\r\n - \ \"expr\": \"sum(rate(log_messages_total{app_kubernetes_io_name=\\\"promtail\\\",level=~\\\"error|warn\\\"}[1m])) - by (level)\\n\",\r\n \"format\": \"time_series\",\r\n \"hide\": - false,\r\n \"interval\": \"\",\r\n \"intervalFactor\": 1,\r\n - \ \"legendFormat\": \"{{level}}\",\r\n \"refId\": \"A\"\r\n - \ }\r\n ],\r\n \"thresholds\": [\r\n {\r\n \"colorMode\": - \"critical\",\r\n \"fill\": true,\r\n \"line\": true,\r\n - \ \"op\": \"gt\",\r\n \"value\": 0,\r\n \"visible\": - true\r\n }\r\n ],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Error/warning messages - logged by Promtail\",\r\n \"tooltip\": {\r\n \"shared\": true,\r\n - \ \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n },\r\n - \ \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"format\": \"none\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": \"0\",\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"datasource\": \"Loki\",\r\n - \ \"fieldConfig\": {\r\n \"defaults\": {},\r\n \"overrides\": - []\r\n },\r\n \"gridPos\": {\r\n \"h\": 5,\r\n \"w\": - 15,\r\n \"x\": 9,\r\n \"y\": 12\r\n },\r\n \"id\": - 586,\r\n \"options\": {\r\n \"dedupStrategy\": \"none\",\r\n \"showLabels\": - false,\r\n \"showTime\": false,\r\n \"sortOrder\": \"Descending\",\r\n - \ \"wrapLogMessage\": false\r\n },\r\n \"pluginVersion\": - \"7.3.5\",\r\n \"targets\": [\r\n {\r\n \"expr\": \"{app=\\\"promtail\\\"} - | logfmt | level=\\\"warn\\\" or level=\\\"error\\\"\",\r\n \"legendFormat\": - \"\",\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"timeFrom\": - null,\r\n \"timeShift\": null,\r\n \"title\": \"Error/warning messages - logged by Promtail\",\r\n \"type\": \"logs\"\r\n },\r\n {\r\n - \ \"alert\": {\r\n \"alertRuleTags\": {},\r\n \"conditions\": - [\r\n {\r\n \"evaluator\": {\r\n \"params\": - [\r\n 0.01\r\n ],\r\n \"type\": - \"gt\"\r\n },\r\n \"operator\": {\r\n \"type\": - \"and\"\r\n },\r\n \"query\": {\r\n \"params\": - [\r\n \"A\",\r\n \"5m\",\r\n \"now\"\r\n - \ ]\r\n },\r\n \"reducer\": {\r\n \"params\": - [],\r\n \"type\": \"max\"\r\n },\r\n \"type\": - \"query\"\r\n }\r\n ],\r\n \"executionErrorState\": - \"keep_state\",\r\n \"for\": \"5m\",\r\n \"frequency\": \"1m\",\r\n - \ \"handler\": 1,\r\n \"name\": \"Loki distributor has failed - to send batches to ingesters\",\r\n \"noDataState\": \"no_data\",\r\n - \ \"notifications\": []\r\n },\r\n \"aliasColors\": {},\r\n - \ \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"Prometheus\",\r\n \"fieldConfig\": - {\r\n \"defaults\": {},\r\n \"overrides\": []\r\n },\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n - \ \"h\": 5,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 17\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 676,\r\n - \ \"interval\": \"1m\",\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"nullPointMode\": \"null\",\r\n \"options\": {\r\n \"alertThreshold\": - true\r\n },\r\n \"percentage\": false,\r\n \"pluginVersion\": - \"7.5.5\",\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"rate(loki_distributor_ingester_append_failures_total[1m])*60\",\r\n - \ \"instant\": false,\r\n \"interval\": \"\",\r\n \"legendFormat\": - \"\",\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [\r\n {\r\n \"colorMode\": \"critical\",\r\n \"fill\": - true,\r\n \"line\": true,\r\n \"op\": \"gt\",\r\n \"value\": - 0.01,\r\n \"visible\": true\r\n }\r\n ],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Loki (distributor) - failed batch appends sent to ingesters\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": \"0\",\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n \"yaxis\": - {\r\n \"align\": false,\r\n \"alignLevel\": null\r\n }\r\n - \ },\r\n {\r\n \"alert\": {\r\n \"alertRuleTags\": {},\r\n - \ \"conditions\": [\r\n {\r\n \"evaluator\": {\r\n - \ \"params\": [\r\n 0.01\r\n ],\r\n - \ \"type\": \"gt\"\r\n },\r\n \"operator\": - {\r\n \"type\": \"and\"\r\n },\r\n \"query\": - {\r\n \"params\": [\r\n \"A\",\r\n \"5m\",\r\n - \ \"now\"\r\n ]\r\n },\r\n \"reducer\": - {\r\n \"params\": [],\r\n \"type\": \"max\"\r\n - \ },\r\n \"type\": \"query\"\r\n }\r\n ],\r\n - \ \"executionErrorState\": \"keep_state\",\r\n \"for\": \"5m\",\r\n - \ \"frequency\": \"1m\",\r\n \"handler\": 1,\r\n \"name\": - \"Promtail has dropped logs in the last 5m\",\r\n \"noDataState\": \"no_data\",\r\n - \ \"notifications\": []\r\n },\r\n \"aliasColors\": {},\r\n - \ \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"Prometheus\",\r\n \"description\": - \"Number of log entries dropped because failed to be sent to the Loki ingester - after all retries.\",\r\n \"fieldConfig\": {\r\n \"defaults\": - {},\r\n \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 5,\r\n \"w\": 24,\r\n - \ \"x\": 0,\r\n \"y\": 22\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 677,\r\n \"interval\": \"1m\",\r\n \"legend\": - {\r\n \"avg\": false,\r\n \"current\": false,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"show\": true,\r\n \"total\": - false,\r\n \"values\": false\r\n },\r\n \"lines\": true,\r\n - \ \"linewidth\": 1,\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"percentage\": - false,\r\n \"pluginVersion\": \"7.5.5\",\r\n \"pointradius\": 2,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"rate(promtail_dropped_entries_total[1m])*60\",\r\n - \ \"instant\": false,\r\n \"interval\": \"\",\r\n \"legendFormat\": - \"pod={{kubernetes_pod_name}}, instance={{instance}}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [\r\n {\r\n - \ \"colorMode\": \"critical\",\r\n \"fill\": true,\r\n \"line\": - true,\r\n \"op\": \"gt\",\r\n \"value\": 0.01,\r\n \"visible\": - true\r\n }\r\n ],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Promtail - dropped - log entries\",\r\n \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": - 0,\r\n \"value_type\": \"individual\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": - \"time\",\r\n \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": \"0\",\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"collapsed\": false,\r\n - \ \"datasource\": \"Prometheus\",\r\n \"gridPos\": {\r\n \"h\": - 1,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": 27\r\n },\r\n - \ \"id\": 47,\r\n \"panels\": [],\r\n \"title\": \"Logging - activity\",\r\n \"type\": \"row\"\r\n },\r\n {\r\n \"alert\": - {\r\n \"alertRuleTags\": {},\r\n \"conditions\": [\r\n {\r\n - \ \"evaluator\": {\r\n \"params\": [\r\n 5000\r\n - \ ],\r\n \"type\": \"gt\"\r\n },\r\n - \ \"operator\": {\r\n \"type\": \"and\"\r\n },\r\n - \ \"query\": {\r\n \"params\": [\r\n \"A\",\r\n - \ \"1m\",\r\n \"now\"\r\n ]\r\n - \ },\r\n \"reducer\": {\r\n \"params\": - [],\r\n \"type\": \"avg\"\r\n },\r\n \"type\": - \"query\"\r\n }\r\n ],\r\n \"executionErrorState\": - \"keep_state\",\r\n \"for\": \"5m\",\r\n \"frequency\": \"1m\",\r\n - \ \"handler\": 1,\r\n \"name\": \"The number of streams in Loki - is above 5000\",\r\n \"noDataState\": \"no_data\",\r\n \"notifications\": - []\r\n },\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"description\": \"The total number of streams created - per tenant.\\nThis should not increase after startup.\",\r\n \"fieldConfig\": - {\r\n \"defaults\": {\r\n \"links\": []\r\n },\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 24,\r\n - \ \"x\": 0,\r\n \"y\": 28\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 78,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": true,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - true\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"nullPointMode\": \"null\",\r\n \"options\": {\r\n \"alertThreshold\": - true\r\n },\r\n \"percentage\": false,\r\n \"pluginVersion\": - \"7.5.5\",\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"loki_ingester_memory_streams\",\r\n - \ \"interval\": \"\",\r\n \"legendFormat\": \"Streams\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [\r\n {\r\n \"colorMode\": \"critical\",\r\n \"fill\": - true,\r\n \"line\": true,\r\n \"op\": \"gt\",\r\n \"value\": - 5000,\r\n \"visible\": true\r\n }\r\n ],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Number of Streams in Loki\",\r\n \"tooltip\": {\r\n \"shared\": - true,\r\n \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": \"0\",\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"description\": \"The total number of log entries - received per tenant (not necessarily of lines, as an entry can have more than - one line of text).\",\r\n \"fieldConfig\": {\r\n \"defaults\": - {\r\n \"links\": []\r\n },\r\n \"overrides\": []\r\n - \ },\r\n \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 34\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 56,\r\n - \ \"legend\": {\r\n \"avg\": false,\r\n \"current\": false,\r\n - \ \"max\": false,\r\n \"min\": false,\r\n \"show\": - true,\r\n \"total\": false,\r\n \"values\": false\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 1,\r\n \"nullPointMode\": - \"null\",\r\n \"options\": {\r\n \"alertThreshold\": true\r\n - \ },\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.5\",\r\n - \ \"pointradius\": 2,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"rate(loki_distributor_lines_received_total[1m])\",\r\n - \ \"interval\": \"\",\r\n \"legendFormat\": \"\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Loki (distributor) - log entries received per second\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": \"0\",\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n \"yaxis\": - {\r\n \"align\": false,\r\n \"alignLevel\": null\r\n }\r\n - \ },\r\n {\r\n \"alert\": {\r\n \"alertRuleTags\": {},\r\n - \ \"conditions\": [\r\n {\r\n \"evaluator\": {\r\n - \ \"params\": [\r\n 1000000\r\n ],\r\n - \ \"type\": \"gt\"\r\n },\r\n \"operator\": - {\r\n \"type\": \"and\"\r\n },\r\n \"query\": - {\r\n \"params\": [\r\n \"A\",\r\n \"5m\",\r\n - \ \"now\"\r\n ]\r\n },\r\n \"reducer\": - {\r\n \"params\": [],\r\n \"type\": \"avg\"\r\n - \ },\r\n \"type\": \"query\"\r\n }\r\n ],\r\n - \ \"executionErrorState\": \"keep_state\",\r\n \"for\": \"1m\",\r\n - \ \"frequency\": \"1m\",\r\n \"handler\": 1,\r\n \"name\": - \"Quantity of data received by the Loki ingester is suspiciously high\",\r\n \"noDataState\": - \"no_data\",\r\n \"notifications\": []\r\n },\r\n \"aliasColors\": - {},\r\n \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"Prometheus\",\r\n \"description\": - \"The total number of uncompressed bytes received per tenant.\\n\",\r\n \"fieldConfig\": - {\r\n \"defaults\": {\r\n \"links\": []\r\n },\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 24,\r\n - \ \"x\": 0,\r\n \"y\": 40\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 137,\r\n \"legend\": {\r\n \"avg\": - false,\r\n \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"nullPointMode\": \"null\",\r\n \"options\": {\r\n \"alertThreshold\": - true\r\n },\r\n \"percentage\": false,\r\n \"pluginVersion\": - \"7.5.5\",\r\n \"pointradius\": 2,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(loki_distributor_bytes_received_total[1m]))\",\r\n - \ \"interval\": \"\",\r\n \"legendFormat\": \"\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [\r\n {\r\n - \ \"colorMode\": \"critical\",\r\n \"fill\": true,\r\n \"line\": - true,\r\n \"op\": \"gt\",\r\n \"value\": 1000000,\r\n \"visible\": - true\r\n }\r\n ],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Bytes received in - ingester per second\",\r\n \"tooltip\": {\r\n \"shared\": true,\r\n - \ \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n },\r\n - \ \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"format\": \"decbytes\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": \"0\",\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"collapsed\": false,\r\n - \ \"datasource\": \"Prometheus\",\r\n \"gridPos\": {\r\n \"h\": - 1,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": 46\r\n },\r\n - \ \"id\": 18,\r\n \"panels\": [],\r\n \"title\": \"Memory - usage\",\r\n \"type\": \"row\"\r\n },\r\n {\r\n \"alert\": - {\r\n \"alertRuleTags\": {},\r\n \"conditions\": [\r\n {\r\n - \ \"evaluator\": {\r\n \"params\": [\r\n 80\r\n - \ ],\r\n \"type\": \"gt\"\r\n },\r\n - \ \"operator\": {\r\n \"type\": \"and\"\r\n },\r\n - \ \"query\": {\r\n \"params\": [\r\n \"A\",\r\n - \ \"5m\",\r\n \"now\"\r\n ]\r\n - \ },\r\n \"reducer\": {\r\n \"params\": - [],\r\n \"type\": \"avg\"\r\n },\r\n \"type\": - \"query\"\r\n }\r\n ],\r\n \"executionErrorState\": - \"keep_state\",\r\n \"for\": \"1m\",\r\n \"frequency\": \"1m\",\r\n - \ \"handler\": 1,\r\n \"name\": \"Loki memory usage is above - 80% of the defined limit\",\r\n \"noDataState\": \"no_data\",\r\n \"notifications\": - []\r\n },\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"decimals\": 2,\r\n \"description\": \"Percentage - of actual usage over configured limit\",\r\n \"editable\": true,\r\n \"error\": - false,\r\n \"fieldConfig\": {\r\n \"defaults\": {\r\n \"links\": - []\r\n },\r\n \"overrides\": []\r\n },\r\n \"fill\": - 0,\r\n \"fillGradient\": 0,\r\n \"grid\": {},\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 47\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 247,\r\n - \ \"isNew\": true,\r\n \"legend\": {\r\n \"alignAsTable\": - false,\r\n \"avg\": false,\r\n \"current\": false,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"rightSide\": false,\r\n \"show\": - true,\r\n \"sideWidth\": 200,\r\n \"sort\": \"current\",\r\n - \ \"sortDesc\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 2,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"connected\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"percentage\": - false,\r\n \"pluginVersion\": \"7.5.5\",\r\n \"pointradius\": 5,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"100 - * max by(pod,container) (container_memory_working_set_bytes{container!=\\\"\\\",container!=\\\"POD\\\",pod=~\\\"loki.*\\\"})\\n/\\non - (pod,container) group_left kube_pod_container_resource_limits_memory_bytes{pod=~\\\"loki.*\\\"}\",\r\n - \ \"hide\": false,\r\n \"interval\": \"\",\r\n \"legendFormat\": - \"Usage (pod={{pod}}, container={{container}}, name={{name}})\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [\r\n {\r\n - \ \"colorMode\": \"critical\",\r\n \"fill\": true,\r\n \"line\": - true,\r\n \"op\": \"gt\",\r\n \"value\": 80,\r\n \"visible\": - true\r\n }\r\n ],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Loki memory usage - (% of Kubernetes memory limit)\",\r\n \"tooltip\": {\r\n \"msResolution\": - false,\r\n \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"cumulative\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"$$hashKey\": \"object:241\",\r\n - \ \"format\": \"percent\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": \"100\",\r\n \"min\": \"0\",\r\n \"show\": - true\r\n },\r\n {\r\n \"$$hashKey\": \"object:242\",\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - false\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"Prometheus\",\r\n - \ \"decimals\": 2,\r\n \"editable\": true,\r\n \"error\": - false,\r\n \"fieldConfig\": {\r\n \"defaults\": {\r\n \"links\": - []\r\n },\r\n \"overrides\": []\r\n },\r\n \"fill\": - 0,\r\n \"fillGradient\": 0,\r\n \"grid\": {},\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 53\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 25,\r\n - \ \"isNew\": true,\r\n \"legend\": {\r\n \"alignAsTable\": - false,\r\n \"avg\": false,\r\n \"current\": false,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"rightSide\": false,\r\n \"show\": - true,\r\n \"sideWidth\": 200,\r\n \"sort\": \"current\",\r\n - \ \"sortDesc\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 2,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"connected\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"percentage\": - false,\r\n \"pluginVersion\": \"7.5.5\",\r\n \"pointradius\": 5,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"repeat\": - null,\r\n \"seriesOverrides\": [\r\n {\r\n \"alias\": - \"Limit\",\r\n \"color\": \"rgba(255, 255, 255, 0.56)\",\r\n \"dashes\": - true\r\n },\r\n {\r\n \"alias\": \"Request\",\r\n - \ \"color\": \"rgba(255, 255, 255, 0.78)\"\r\n },\r\n {\r\n - \ \"alias\": \"Usage\",\r\n \"fill\": 1\r\n }\r\n - \ ],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"container_memory_working_set_bytes{container!=\\\"\\\",container!=\\\"POD\\\",pod=~\\\"loki.*\\\"}\",\r\n - \ \"interval\": \"10s\",\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"Usage (pod={{pod}}, container={{container}})\",\r\n \"metric\": \"container_memory_usage:sort_desc\",\r\n - \ \"refId\": \"A\",\r\n \"step\": 10\r\n },\r\n - \ {\r\n \"expr\": \"min(kube_pod_container_resource_limits_memory_bytes{pod=~\\\"loki.*\\\"})\",\r\n - \ \"interval\": \"\",\r\n \"legendFormat\": \"Limit\",\r\n - \ \"refId\": \"B\"\r\n },\r\n {\r\n \"expr\": - \"min(kube_pod_container_resource_requests_memory_bytes{pod=~\\\"loki.*\\\"})\",\r\n - \ \"interval\": \"\",\r\n \"legendFormat\": \"Request\",\r\n - \ \"refId\": \"C\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Loki memory usage vs Kubernetes limit and request\",\r\n - \ \"tooltip\": {\r\n \"msResolution\": false,\r\n \"shared\": - true,\r\n \"sort\": 2,\r\n \"value_type\": \"cumulative\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"$$hashKey\": \"object:581\",\r\n \"format\": \"bytes\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": \"0\",\r\n \"show\": true\r\n },\r\n - \ {\r\n \"$$hashKey\": \"object:582\",\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - false\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"alert\": {\r\n \"alertRuleTags\": {},\r\n \"conditions\": - [\r\n {\r\n \"evaluator\": {\r\n \"params\": - [\r\n 80\r\n ],\r\n \"type\": \"gt\"\r\n - \ },\r\n \"operator\": {\r\n \"type\": - \"and\"\r\n },\r\n \"query\": {\r\n \"params\": - [\r\n \"A\",\r\n \"5m\",\r\n \"now\"\r\n - \ ]\r\n },\r\n \"reducer\": {\r\n \"params\": - [],\r\n \"type\": \"avg\"\r\n },\r\n \"type\": - \"query\"\r\n }\r\n ],\r\n \"executionErrorState\": - \"keep_state\",\r\n \"for\": \"5m\",\r\n \"frequency\": \"1m\",\r\n - \ \"handler\": 1,\r\n \"name\": \"Promtail memory usage is above - 80% of the defined limit\",\r\n \"noDataState\": \"no_data\",\r\n \"notifications\": - []\r\n },\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"decimals\": 2,\r\n \"description\": \"Percentage - of actual usage over configured limit\",\r\n \"editable\": true,\r\n \"error\": - false,\r\n \"fieldConfig\": {\r\n \"defaults\": {\r\n \"links\": - []\r\n },\r\n \"overrides\": []\r\n },\r\n \"fill\": - 0,\r\n \"fillGradient\": 0,\r\n \"grid\": {},\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 59\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 772,\r\n - \ \"isNew\": true,\r\n \"legend\": {\r\n \"alignAsTable\": - false,\r\n \"avg\": false,\r\n \"current\": false,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"rightSide\": false,\r\n \"show\": - true,\r\n \"sideWidth\": 200,\r\n \"sort\": \"current\",\r\n - \ \"sortDesc\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 2,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"connected\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"percentage\": - false,\r\n \"pluginVersion\": \"7.5.5\",\r\n \"pointradius\": 5,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"100* - max by(pod,container) (container_memory_working_set_bytes{container!=\\\"\\\",container!=\\\"POD\\\",pod=~\\\"promtail.*\\\"})\\n/\\non - (pod,container) (kube_pod_container_resource_limits_memory_bytes{pod=~\\\"promtail.*\\\"})\",\r\n - \ \"hide\": false,\r\n \"interval\": \"\",\r\n \"legendFormat\": - \"\",\r\n \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [\r\n {\r\n \"colorMode\": \"critical\",\r\n \"fill\": - true,\r\n \"line\": true,\r\n \"op\": \"gt\",\r\n \"value\": - 80,\r\n \"visible\": true\r\n }\r\n ],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Promtail memory usage (% of Kubernetes memory limit)\",\r\n \"tooltip\": - {\r\n \"msResolution\": false,\r\n \"shared\": true,\r\n \"sort\": - 2,\r\n \"value_type\": \"cumulative\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": - \"time\",\r\n \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"$$hashKey\": - \"object:335\",\r\n \"format\": \"percent\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": \"100\",\r\n \"min\": - \"0\",\r\n \"show\": true\r\n },\r\n {\r\n \"$$hashKey\": - \"object:336\",\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": false\r\n }\r\n ],\r\n \"yaxis\": - {\r\n \"align\": false,\r\n \"alignLevel\": null\r\n }\r\n - \ },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"decimals\": 2,\r\n \"editable\": true,\r\n - \ \"error\": false,\r\n \"fieldConfig\": {\r\n \"defaults\": - {\r\n \"links\": []\r\n },\r\n \"overrides\": []\r\n - \ },\r\n \"fill\": 0,\r\n \"fillGradient\": 0,\r\n \"grid\": - {},\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 24,\r\n - \ \"x\": 0,\r\n \"y\": 65\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 1103,\r\n \"isNew\": true,\r\n \"legend\": - {\r\n \"alignAsTable\": false,\r\n \"avg\": false,\r\n \"current\": - false,\r\n \"max\": false,\r\n \"min\": false,\r\n \"rightSide\": - false,\r\n \"show\": true,\r\n \"sideWidth\": 200,\r\n \"sort\": - \"current\",\r\n \"sortDesc\": true,\r\n \"total\": false,\r\n - \ \"values\": false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": - 2,\r\n \"links\": [],\r\n \"nullPointMode\": \"connected\",\r\n - \ \"options\": {\r\n \"alertThreshold\": true\r\n },\r\n - \ \"percentage\": false,\r\n \"pluginVersion\": \"7.5.5\",\r\n \"pointradius\": - 5,\r\n \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [\r\n {\r\n \"alias\": \"Limit\",\r\n \"color\": - \"rgba(255, 255, 255, 0.56)\",\r\n \"dashes\": true\r\n },\r\n - \ {\r\n \"alias\": \"Request\",\r\n \"color\": \"rgba(255, - 255, 255, 0.78)\"\r\n },\r\n {\r\n \"alias\": \"Usage\",\r\n - \ \"fill\": 1\r\n }\r\n ],\r\n \"spaceLength\": - 10,\r\n \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"container_memory_working_set_bytes{container!=\\\"\\\",container!=\\\"POD\\\",pod=~\\\"promtail.*\\\"}\",\r\n - \ \"interval\": \"10s\",\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"Usage (pod={{pod}}, container={{container}})\",\r\n \"metric\": \"container_memory_usage:sort_desc\",\r\n - \ \"refId\": \"A\",\r\n \"step\": 10\r\n },\r\n - \ {\r\n \"expr\": \"min(kube_pod_container_resource_limits_memory_bytes{pod=~\\\"promtail.*\\\"})\",\r\n - \ \"interval\": \"\",\r\n \"legendFormat\": \"Limit\",\r\n - \ \"refId\": \"B\"\r\n },\r\n {\r\n \"expr\": - \"min(kube_pod_container_resource_requests_memory_bytes{pod=~\\\"promtail.*\\\"})\",\r\n - \ \"interval\": \"\",\r\n \"legendFormat\": \"Request\",\r\n - \ \"refId\": \"C\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Promtail memory usage vs Kubernetes limit and request\",\r\n - \ \"tooltip\": {\r\n \"msResolution\": false,\r\n \"shared\": - true,\r\n \"sort\": 2,\r\n \"value_type\": \"cumulative\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"$$hashKey\": \"object:581\",\r\n \"format\": \"bytes\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": \"0\",\r\n \"show\": true\r\n },\r\n - \ {\r\n \"$$hashKey\": \"object:582\",\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - false\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"collapsed\": false,\r\n \"datasource\": \"Prometheus\",\r\n \"gridPos\": - {\r\n \"h\": 1,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 71\r\n },\r\n \"id\": 8,\r\n \"panels\": [],\r\n \"title\": - \"CPU Usage\",\r\n \"type\": \"row\"\r\n },\r\n {\r\n \"alert\": - {\r\n \"alertRuleTags\": {},\r\n \"conditions\": [\r\n {\r\n - \ \"evaluator\": {\r\n \"params\": [\r\n 80\r\n - \ ],\r\n \"type\": \"gt\"\r\n },\r\n - \ \"operator\": {\r\n \"type\": \"and\"\r\n },\r\n - \ \"query\": {\r\n \"params\": [\r\n \"A\",\r\n - \ \"5m\",\r\n \"now\"\r\n ]\r\n - \ },\r\n \"reducer\": {\r\n \"params\": - [],\r\n \"type\": \"avg\"\r\n },\r\n \"type\": - \"query\"\r\n }\r\n ],\r\n \"executionErrorState\": - \"keep_state\",\r\n \"for\": \"1m\",\r\n \"frequency\": \"1m\",\r\n - \ \"handler\": 1,\r\n \"name\": \"Loki CPU usage is above 80% - of the defined limit\",\r\n \"noDataState\": \"no_data\",\r\n \"notifications\": - []\r\n },\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"decimals\": 3,\r\n \"description\": \"percentage - of configured limit\",\r\n \"editable\": true,\r\n \"error\": false,\r\n - \ \"fieldConfig\": {\r\n \"defaults\": {\r\n \"links\": - []\r\n },\r\n \"overrides\": []\r\n },\r\n \"fill\": - 0,\r\n \"fillGradient\": 0,\r\n \"grid\": {},\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 72\r\n },\r\n \"height\": \"\",\r\n \"hiddenSeries\": false,\r\n - \ \"id\": 347,\r\n \"isNew\": true,\r\n \"legend\": {\r\n - \ \"alignAsTable\": false,\r\n \"avg\": false,\r\n \"current\": - false,\r\n \"max\": false,\r\n \"min\": false,\r\n \"rightSide\": - false,\r\n \"show\": true,\r\n \"sort\": null,\r\n \"sortDesc\": - null,\r\n \"total\": false,\r\n \"values\": false\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 2,\r\n \"links\": [],\r\n - \ \"nullPointMode\": \"connected\",\r\n \"options\": {\r\n \"alertThreshold\": - true\r\n },\r\n \"percentage\": false,\r\n \"pluginVersion\": - \"7.5.5\",\r\n \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"100* rate(container_cpu_usage_seconds_total{container!=\\\"POD\\\",container!=\\\"\\\",pod=~\\\"loki.*\\\"}[1m])\\n/\\non - (pod,container) kube_pod_container_resource_limits_cpu_cores{container=\\\"loki\\\"}\",\r\n - \ \"interval\": \"10s\",\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"\",\r\n \"metric\": \"container_cpu\",\r\n \"refId\": - \"A\",\r\n \"step\": 10\r\n }\r\n ],\r\n \"thresholds\": - [\r\n {\r\n \"colorMode\": \"critical\",\r\n \"fill\": - true,\r\n \"line\": true,\r\n \"op\": \"gt\",\r\n \"value\": - 80,\r\n \"visible\": true\r\n }\r\n ],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Loki CPU usage (% of Kubernetes CPU limit)\",\r\n \"tooltip\": {\r\n - \ \"msResolution\": true,\r\n \"shared\": true,\r\n \"sort\": - 2,\r\n \"value_type\": \"cumulative\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": - \"time\",\r\n \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"$$hashKey\": - \"object:413\",\r\n \"format\": \"percent\",\r\n \"label\": - \"cores\",\r\n \"logBase\": 1,\r\n \"max\": \"100\",\r\n - \ \"min\": \"0\",\r\n \"show\": true\r\n },\r\n - \ {\r\n \"$$hashKey\": \"object:414\",\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - false\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"Prometheus\",\r\n - \ \"decimals\": 3,\r\n \"description\": \"\",\r\n \"editable\": - true,\r\n \"error\": false,\r\n \"fieldConfig\": {\r\n \"defaults\": - {\r\n \"links\": []\r\n },\r\n \"overrides\": []\r\n - \ },\r\n \"fill\": 0,\r\n \"fillGradient\": 0,\r\n \"grid\": - {},\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 24,\r\n - \ \"x\": 0,\r\n \"y\": 78\r\n },\r\n \"height\": - \"\",\r\n \"hiddenSeries\": false,\r\n \"id\": 6,\r\n \"isNew\": - true,\r\n \"legend\": {\r\n \"alignAsTable\": false,\r\n \"avg\": - false,\r\n \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"rightSide\": false,\r\n \"show\": true,\r\n \"sort\": - null,\r\n \"sortDesc\": null,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 2,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"connected\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"percentage\": - false,\r\n \"pluginVersion\": \"7.5.5\",\r\n \"pointradius\": 5,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"repeat\": - null,\r\n \"seriesOverrides\": [\r\n {\r\n \"alias\": - \"CPU Limit\",\r\n \"color\": \"rgba(255, 255, 255, 0.46)\",\r\n \"dashes\": - true\r\n },\r\n {\r\n \"alias\": \"CPU Request\",\r\n - \ \"color\": \"rgba(255, 255, 255, 0.54)\"\r\n },\r\n {\r\n - \ \"alias\": \"Usage\",\r\n \"fill\": 1\r\n }\r\n - \ ],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"rate(container_cpu_usage_seconds_total{container!=\\\"\\\",container!=\\\"POD\\\",pod=~\\\"loki.*\\\"}[1m])\",\r\n - \ \"interval\": \"10s\",\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"CPU Usage (pod={{pod}}, container={{container}})\",\r\n \"metric\": - \"container_cpu\",\r\n \"refId\": \"A\",\r\n \"step\": 10\r\n - \ },\r\n {\r\n \"expr\": \"min(kube_pod_container_resource_limits_cpu_cores{pod=~\\\"loki.*\\\"})\",\r\n - \ \"interval\": \"\",\r\n \"legendFormat\": \"CPU Limit\",\r\n - \ \"refId\": \"B\"\r\n },\r\n {\r\n \"expr\": - \"min(kube_pod_container_resource_requests_cpu_cores{pod=~\\\"loki.*\\\"})\",\r\n - \ \"hide\": false,\r\n \"interval\": \"\",\r\n \"legendFormat\": - \"CPU Request\",\r\n \"refId\": \"C\"\r\n }\r\n ],\r\n - \ \"thresholds\": [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Loki CPU usage vs - Kubernetes limit and request\",\r\n \"tooltip\": {\r\n \"msResolution\": - true,\r\n \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"cumulative\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"$$hashKey\": \"object:666\",\r\n - \ \"format\": \"none\",\r\n \"label\": \"cores\",\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": \"0\",\r\n \"show\": - true\r\n },\r\n {\r\n \"$$hashKey\": \"object:667\",\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - false\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"alert\": {\r\n \"alertRuleTags\": {},\r\n \"conditions\": - [\r\n {\r\n \"evaluator\": {\r\n \"params\": - [\r\n 80\r\n ],\r\n \"type\": \"gt\"\r\n - \ },\r\n \"operator\": {\r\n \"type\": - \"and\"\r\n },\r\n \"query\": {\r\n \"params\": - [\r\n \"A\",\r\n \"5m\",\r\n \"now\"\r\n - \ ]\r\n },\r\n \"reducer\": {\r\n \"params\": - [],\r\n \"type\": \"avg\"\r\n },\r\n \"type\": - \"query\"\r\n }\r\n ],\r\n \"executionErrorState\": - \"keep_state\",\r\n \"for\": \"5m\",\r\n \"frequency\": \"1m\",\r\n - \ \"handler\": 1,\r\n \"name\": \"Promtail CPU usage is above - 80% of the defined limit\",\r\n \"noDataState\": \"no_data\",\r\n \"notifications\": - []\r\n },\r\n \"aliasColors\": {},\r\n \"bars\": false,\r\n - \ \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"decimals\": 3,\r\n \"description\": \"percentage - of configured limit\",\r\n \"editable\": true,\r\n \"error\": false,\r\n - \ \"fieldConfig\": {\r\n \"defaults\": {\r\n \"links\": - []\r\n },\r\n \"overrides\": []\r\n },\r\n \"fill\": - 0,\r\n \"fillGradient\": 0,\r\n \"grid\": {},\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 84\r\n },\r\n \"height\": \"\",\r\n \"hiddenSeries\": false,\r\n - \ \"id\": 910,\r\n \"isNew\": true,\r\n \"legend\": {\r\n - \ \"alignAsTable\": false,\r\n \"avg\": false,\r\n \"current\": - false,\r\n \"max\": false,\r\n \"min\": false,\r\n \"rightSide\": - false,\r\n \"show\": true,\r\n \"sort\": null,\r\n \"sortDesc\": - null,\r\n \"total\": false,\r\n \"values\": false\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 2,\r\n \"links\": [],\r\n - \ \"nullPointMode\": \"connected\",\r\n \"options\": {\r\n \"alertThreshold\": - true\r\n },\r\n \"percentage\": false,\r\n \"pluginVersion\": - \"7.5.5\",\r\n \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"100 * rate(container_cpu_usage_seconds_total{container!=\\\"\\\",container!=\\\"POD\\\",pod=~\\\"promtail.*\\\"}[1m])\\n/\\non - (pod,container) kube_pod_container_resource_limits_cpu_cores{pod=~\\\"promtail.*\\\"}\",\r\n - \ \"interval\": \"10s\",\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"\",\r\n \"metric\": \"container_cpu\",\r\n \"refId\": - \"A\",\r\n \"step\": 10\r\n }\r\n ],\r\n \"thresholds\": - [\r\n {\r\n \"colorMode\": \"critical\",\r\n \"fill\": - true,\r\n \"line\": true,\r\n \"op\": \"gt\",\r\n \"value\": - 80,\r\n \"visible\": true\r\n }\r\n ],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Promtail CPU usage (% of Kubernetes limit)\",\r\n \"tooltip\": {\r\n - \ \"msResolution\": true,\r\n \"shared\": true,\r\n \"sort\": - 2,\r\n \"value_type\": \"cumulative\"\r\n },\r\n \"type\": - \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": - \"time\",\r\n \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"$$hashKey\": - \"object:231\",\r\n \"format\": \"percent\",\r\n \"label\": - \"cores\",\r\n \"logBase\": 1,\r\n \"max\": \"100\",\r\n - \ \"min\": \"0\",\r\n \"show\": true\r\n },\r\n - \ {\r\n \"$$hashKey\": \"object:232\",\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - false\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"Prometheus\",\r\n - \ \"decimals\": 3,\r\n \"description\": \"\",\r\n \"editable\": - true,\r\n \"error\": false,\r\n \"fieldConfig\": {\r\n \"defaults\": - {\r\n \"links\": []\r\n },\r\n \"overrides\": []\r\n - \ },\r\n \"fill\": 0,\r\n \"fillGradient\": 0,\r\n \"grid\": - {},\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 24,\r\n - \ \"x\": 0,\r\n \"y\": 90\r\n },\r\n \"height\": - \"\",\r\n \"hiddenSeries\": false,\r\n \"id\": 1104,\r\n \"isNew\": - true,\r\n \"legend\": {\r\n \"alignAsTable\": false,\r\n \"avg\": - false,\r\n \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"rightSide\": false,\r\n \"show\": true,\r\n \"sort\": - null,\r\n \"sortDesc\": null,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 2,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"connected\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"percentage\": - false,\r\n \"pluginVersion\": \"7.5.5\",\r\n \"pointradius\": 5,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [\r\n {\r\n \"alias\": \"CPU Limit\",\r\n \"color\": - \"rgba(255, 255, 255, 0.46)\",\r\n \"dashes\": true\r\n },\r\n - \ {\r\n \"alias\": \"CPU Request\",\r\n \"color\": - \"rgba(255, 255, 255, 0.54)\"\r\n },\r\n {\r\n \"alias\": - \"Usage\",\r\n \"fill\": 1\r\n }\r\n ],\r\n \"spaceLength\": - 10,\r\n \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"rate(container_cpu_usage_seconds_total{container!=\\\"\\\",container!=\\\"POD\\\",pod=~\\\"promtail.*\\\"}[1m])\",\r\n - \ \"interval\": \"10s\",\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"CPU Usage (pod={{pod}}, container={{container}})\",\r\n \"metric\": - \"container_cpu\",\r\n \"refId\": \"A\",\r\n \"step\": 10\r\n - \ },\r\n {\r\n \"expr\": \"min(kube_pod_container_resource_limits_cpu_cores{pod=~\\\"promtail.*\\\"})\",\r\n - \ \"interval\": \"\",\r\n \"legendFormat\": \"CPU Limit\",\r\n - \ \"refId\": \"B\"\r\n },\r\n {\r\n \"expr\": - \"min(kube_pod_container_resource_requests_cpu_cores{pod=~\\\"promtail.*\\\"})\",\r\n - \ \"hide\": false,\r\n \"interval\": \"\",\r\n \"legendFormat\": - \"CPU Request\",\r\n \"refId\": \"C\"\r\n }\r\n ],\r\n - \ \"thresholds\": [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Promtail CPU usage - vs Kubernetes limit and request\",\r\n \"tooltip\": {\r\n \"msResolution\": - true,\r\n \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"cumulative\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"$$hashKey\": \"object:666\",\r\n - \ \"format\": \"none\",\r\n \"label\": \"cores\",\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": \"0\",\r\n \"show\": - true\r\n },\r\n {\r\n \"$$hashKey\": \"object:667\",\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - false\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n }\r\n ],\r\n - \ \"refresh\": \"1m\",\r\n \"schemaVersion\": 27,\r\n \"style\": \"dark\",\r\n - \ \"tags\": [\r\n \"tools\",\r\n \"loki\"\r\n ],\r\n \"templating\": - {\r\n \"list\": []\r\n },\r\n \"time\": {\r\n \"from\": \"now-24h\",\r\n - \ \"to\": \"now\"\r\n },\r\n \"timepicker\": {\r\n \"refresh_intervals\": - [\r\n \"10s\",\r\n \"30s\",\r\n \"1m\",\r\n \"5m\",\r\n - \ \"15m\",\r\n \"30m\",\r\n \"1h\",\r\n \"2h\",\r\n - \ \"1d\"\r\n ],\r\n \"time_options\": [\r\n \"5m\",\r\n - \ \"15m\",\r\n \"1h\",\r\n \"6h\",\r\n \"12h\",\r\n - \ \"24h\",\r\n \"2d\",\r\n \"7d\",\r\n \"30d\"\r\n - \ ]\r\n },\r\n \"timezone\": \"\",\r\n \"title\": \"Loki stack monitoring - (Promtail, Loki)\",\r\n \"uid\": \"loki_stack_monitoring_quortex\",\r\n \"version\": - 1\r\n }" diff --git a/src/shell/prometheus/crds/dashboards/loki/loki-promtail-dashboard.json b/src/shell/prometheus/crds/dashboards/loki/loki-promtail-dashboard.json deleted file mode 100644 index 4ad235ce..00000000 --- a/src/shell/prometheus/crds/dashboards/loki/loki-promtail-dashboard.json +++ /dev/null @@ -1,409 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- Grafana --", - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "description": "an example for loki and promtail.", - "editable": true, - "gnetId": 10004, - "graphTooltip": 1, - "id": 30, - "links": [], - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 0 - }, - "hiddenSeries": false, - "id": 2, - "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": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum (rate(loki_distributor_bytes_received_total[5m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Bytes Receiced", - "refId": "B" - }, - { - "expr": "sum (rate(loki_distributor_lines_received_total[5m]))", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Lines Received", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Loki", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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, - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 9 - }, - "hiddenSeries": false, - "id": 3, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "lag", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum (rate(promtail_read_bytes_total[5m]))", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "read", - "refId": "B" - }, - { - "expr": "sum (rate(promtail_sent_bytes_total[5m]))", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "sent", - "refId": "C" - }, - { - "expr": "sum (rate(promtail_encoded_bytes_total[5m]))", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "encoded", - "refId": "D" - }, - { - "expr": "sum(promtail_file_bytes_total - promtail_read_bytes_total)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "lag", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Promtail", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "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, - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 18 - }, - "hiddenSeries": false, - "id": 5, - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "sideWidth": null, - "sort": "current", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.5.5", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "promtail_file_bytes_total - promtail_read_bytes_total > 100000", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{path}}", - "refId": "A" - }, - { - "expr": "promtail_file_bytes_total - promtail_read_bytes_total < -100000", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "{{path}}", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Lag", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "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 - } - } - ], - "refresh": "5s", - "schemaVersion": 27, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-30m", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "timezone": "", - "title": "Loki-Promtail", - "uid": "htcadXCiz", - "version": 1 - } \ No newline at end of file diff --git a/src/shell/prometheus/crds/dashboards/loki/loki-promtail-dashboard.yaml b/src/shell/prometheus/crds/dashboards/loki/loki-promtail-dashboard.yaml deleted file mode 100644 index d70583e2..00000000 --- a/src/shell/prometheus/crds/dashboards/loki/loki-promtail-dashboard.yaml +++ /dev/null @@ -1,145 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: loki-promtail-dashboard - namespace: loki - labels: - grafana_dashboard: "1" - annotations: - k8s-sidecar-target-directory: /tmp/dashboards/Infrastructure -data: - loki-promtail-dashboard.json: "{\r\n \"annotations\": {\r\n \"list\": [\r\n - \ {\r\n \"builtIn\": 1,\r\n \"datasource\": \"-- Grafana - --\",\r\n \"enable\": true,\r\n \"hide\": true,\r\n \"iconColor\": - \"rgba(0, 211, 255, 1)\",\r\n \"name\": \"Annotations & Alerts\",\r\n - \ \"type\": \"dashboard\"\r\n }\r\n ]\r\n },\r\n \"description\": - \"an example for loki and promtail.\",\r\n \"editable\": true,\r\n \"gnetId\": - 10004,\r\n \"graphTooltip\": 1,\r\n \"id\": 30,\r\n \"links\": [],\r\n - \ \"panels\": [\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - null,\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n \"overrides\": - []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 9,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 0\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 2,\r\n - \ \"legend\": {\r\n \"alignAsTable\": true,\r\n \"avg\": - false,\r\n \"current\": true,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"rightSide\": true,\r\n \"show\": true,\r\n \"total\": - false,\r\n \"values\": true\r\n },\r\n \"lines\": true,\r\n - \ \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"null\",\r\n \"options\": {\r\n \"alertThreshold\": true\r\n - \ },\r\n \"paceLength\": 10,\r\n \"percentage\": false,\r\n - \ \"pluginVersion\": \"7.5.5\",\r\n \"pointradius\": 2,\r\n \"points\": - false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"sum - (rate(loki_distributor_bytes_received_total[5m]))\",\r\n \"format\": - \"time_series\",\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"Bytes Receiced\",\r\n \"refId\": \"B\"\r\n },\r\n {\r\n - \ \"expr\": \"sum (rate(loki_distributor_lines_received_total[5m]))\",\r\n - \ \"format\": \"time_series\",\r\n \"interval\": \"\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"Lines Received\",\r\n - \ \"refId\": \"C\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Loki\",\r\n \"tooltip\": {\r\n \"shared\": - true,\r\n \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - null,\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n \"overrides\": - []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 9,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 9\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 3,\r\n - \ \"legend\": {\r\n \"alignAsTable\": true,\r\n \"avg\": - false,\r\n \"current\": true,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"rightSide\": true,\r\n \"show\": true,\r\n \"sort\": - \"current\",\r\n \"sortDesc\": true,\r\n \"total\": false,\r\n - \ \"values\": true\r\n },\r\n \"lines\": true,\r\n \"linewidth\": - 1,\r\n \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"paceLength\": - 10,\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.5\",\r\n - \ \"pointradius\": 2,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [\r\n {\r\n \"alias\": - \"lag\",\r\n \"yaxis\": 2\r\n }\r\n ],\r\n \"spaceLength\": - 10,\r\n \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum (rate(promtail_read_bytes_total[5m]))\",\r\n - \ \"format\": \"time_series\",\r\n \"hide\": false,\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"read\",\r\n \"refId\": \"B\"\r\n - \ },\r\n {\r\n \"expr\": \"sum (rate(promtail_sent_bytes_total[5m]))\",\r\n - \ \"format\": \"time_series\",\r\n \"hide\": false,\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"sent\",\r\n \"refId\": \"C\"\r\n - \ },\r\n {\r\n \"expr\": \"sum (rate(promtail_encoded_bytes_total[5m]))\",\r\n - \ \"format\": \"time_series\",\r\n \"hide\": false,\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"encoded\",\r\n \"refId\": \"D\"\r\n - \ },\r\n {\r\n \"expr\": \"sum(promtail_file_bytes_total - - promtail_read_bytes_total)\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 1,\r\n \"legendFormat\": \"lag\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Promtail\",\r\n \"tooltip\": {\r\n \"shared\": - true,\r\n \"sort\": 2,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": \"0\",\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": \"0\",\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - null,\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n \"overrides\": - []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 8,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 18\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 5,\r\n - \ \"legend\": {\r\n \"alignAsTable\": true,\r\n \"avg\": - false,\r\n \"current\": true,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"rightSide\": true,\r\n \"show\": true,\r\n \"sideWidth\": - null,\r\n \"sort\": \"current\",\r\n \"sortDesc\": true,\r\n - \ \"total\": false,\r\n \"values\": true\r\n },\r\n \"lines\": - true,\r\n \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"null\",\r\n \"options\": {\r\n \"alertThreshold\": true\r\n - \ },\r\n \"paceLength\": 10,\r\n \"percentage\": false,\r\n - \ \"pluginVersion\": \"7.5.5\",\r\n \"pointradius\": 2,\r\n \"points\": - false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": [],\r\n - \ \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"promtail_file_bytes_total - - promtail_read_bytes_total > 100000\",\r\n \"format\": \"time_series\",\r\n - \ \"hide\": false,\r\n \"interval\": \"\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{path}}\",\r\n \"refId\": \"A\"\r\n - \ },\r\n {\r\n \"expr\": \"promtail_file_bytes_total - - promtail_read_bytes_total < -100000\",\r\n \"format\": \"time_series\",\r\n - \ \"hide\": true,\r\n \"intervalFactor\": 1,\r\n \"legendFormat\": - \"{{path}}\",\r\n \"refId\": \"B\"\r\n }\r\n ],\r\n - \ \"thresholds\": [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Lag\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 2,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n },\r\n - \ {\r\n \"format\": \"short\",\r\n \"label\": null,\r\n - \ \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n }\r\n ],\r\n \"yaxis\": - {\r\n \"align\": false,\r\n \"alignLevel\": null\r\n }\r\n - \ }\r\n ],\r\n \"refresh\": \"5s\",\r\n \"schemaVersion\": 27,\r\n - \ \"style\": \"dark\",\r\n \"tags\": [],\r\n \"templating\": {\r\n \"list\": - []\r\n },\r\n \"time\": {\r\n \"from\": \"now-30m\",\r\n \"to\": - \"now\"\r\n },\r\n \"timepicker\": {\r\n \"refresh_intervals\": [\r\n - \ \"5s\",\r\n \"10s\",\r\n \"30s\",\r\n \"1m\",\r\n - \ \"5m\",\r\n \"15m\",\r\n \"30m\",\r\n \"1h\",\r\n - \ \"2h\",\r\n \"1d\"\r\n ],\r\n \"time_options\": [\r\n - \ \"5m\",\r\n \"15m\",\r\n \"1h\",\r\n \"6h\",\r\n - \ \"12h\",\r\n \"24h\",\r\n \"2d\",\r\n \"7d\",\r\n - \ \"30d\"\r\n ]\r\n },\r\n \"timezone\": \"\",\r\n \"title\": - \"Loki-Promtail\",\r\n \"uid\": \"htcadXCiz\",\r\n \"version\": 1\r\n }" diff --git a/src/shell/prometheus/crds/dashboards/readme.md b/src/shell/prometheus/crds/dashboards/readme.md deleted file mode 100644 index 52aedd3a..00000000 --- a/src/shell/prometheus/crds/dashboards/readme.md +++ /dev/null @@ -1,33 +0,0 @@ -# Grafana dashboards - -## Jaeger dashboard - -> This resources was created by generating it from the json file that was fetched from grafama after import it as dashboard `10001`, adding and annotating the resource. - -```powershell -kubectl create configmap jaeger-dashboard --from-file=jaeger-dashboard.json=./src/shell/prometheus/crds/dashboards/jaeger-grafana-dashboard.json -n infrastructure -o yaml > ./src/shell/prometheus/crds/dashboards/jaeger-grafana-dashboard.yaml -kubectl label --overwrite -f ./src/shell/prometheus/crds/dashboards/jaeger-grafana-dashboard.yaml grafana_dashboard=1 -kubectl annotate --overwrite -f ./src/shell/prometheus/crds/dashboards/jaeger-grafana-dashboard.yaml k8s-sidecar-target-directory=/tmp/dashboards/Infrastructure -``` - -## Loki-Promtail - -We can add a Loki-Promtail dashboard (ID: 10004) - -> We create the dashboard yaml as follows, just for reference in case we need to recreate it - -```powershell -kubectl create configmap loki-promtail-dashboard --from-file=loki-promtail-dashboard.json=./src/shell/prometheus/crds/dashboards/loki-promtail-dashboard.json -n infrastructure -o yaml > ./src/shell/prometheus/crds/dashboards/loki-promtail-dashboard.yaml -kubectl label --overwrite -f ./src/shell/prometheus/crds/dashboards/loki-promtail-dashboard.yaml grafana_dashboard=1 -kubectl annotate --overwrite -f ./src/shell/prometheus/crds/dashboards/loki-promtail-dashboard.yaml k8s-sidecar-target-directory=/tmp/dashboards/Infrastructure -``` - -## Loki stack monitoring - -We can add a Loki stack monitoring dashboard (ID: 14055) - -```powershell -kubectl create configmap loki-monitor-dashboard --from-file=loki-monitor-dashboard.json=./src/shell/prometheus/crds/dashboards/loki-monitor-dashboard.json -n infrastructure -o yaml > ./src/shell/prometheus/crds/dashboards/loki-monitor-dashboard.yaml -kubectl label --overwrite -f ./src/shell/prometheus/crds/dashboards/loki-monitor-dashboard.yaml grafana_dashboard=1 -kubectl annotate --overwrite -f ./src/shell/prometheus/crds/dashboards/loki-monitor-dashboard.yaml k8s-sidecar-target-directory=/tmp/dashboards/Infrastructure -``` diff --git a/src/shell/prometheus/crds/dashboards/traefik/traefik-grafana-dashboard.json b/src/shell/prometheus/crds/dashboards/traefik/traefik-grafana-dashboard.json deleted file mode 100644 index 9c24b375..00000000 --- a/src/shell/prometheus/crds/dashboards/traefik/traefik-grafana-dashboard.json +++ /dev/null @@ -1,1416 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "-- Grafana --", - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "description": "Simple dashboard for Traefik 2", - "editable": true, - "gnetId": 11462, - "graphTooltip": 0, - "id": 43, - "iteration": 1619877456583, - "links": [], - "panels": [ - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "format": "s", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 6, - "w": 3, - "x": 0, - "y": 0 - }, - "id": 22, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "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 - }, - "tableColumn": "", - "targets": [ - { - "expr": "time() - process_start_time_seconds{job=\"$job\"}", - "format": "time_series", - "intervalFactor": 2, - "refId": "A" - } - ], - "thresholds": "", - "title": "Uptime", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "#37872D", - "#37872D", - "#C4162A" - ], - "datasource": "Prometheus", - "decimals": 0, - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 6, - "w": 3, - "x": 3, - "y": 0 - }, - "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, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "200%", - "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 - }, - "tableColumn": "", - "targets": [ - { - "expr": "sum(increase(traefik_service_requests_total{code=\"404\",protocol=~\"$protocol\"}[$interval]))", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "", - "metric": "traefik_requests_total", - "refId": "A", - "step": 60 - } - ], - "thresholds": "0,1", - "title": "404 Error Count", - "type": "singlestat", - "valueFontSize": "200%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "max" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "#37872D", - "#C4162A", - "#C4162A" - ], - "datasource": "Prometheus", - "decimals": 0, - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 6, - "w": 3, - "x": 6, - "y": 0 - }, - "id": 32, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "200%", - "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(increase(traefik_service_requests_total{code=\"503\",protocol=~\"$protocol\"}[$interval]))", - "refId": "A" - } - ], - "thresholds": "0,1", - "timeFrom": null, - "timeShift": null, - "title": "503 Error count", - "type": "singlestat", - "valueFontSize": "200%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "max" - }, - { - "aliasColors": {}, - "breakPoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, - "datasource": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fontSize": "80%", - "format": "short", - "gridPos": { - "h": 6, - "w": 4, - "x": 9, - "y": 0 - }, - "id": 18, - "interval": null, - "legend": { - "percentage": true, - "show": true, - "sort": null, - "sortDesc": null, - "values": true - }, - "legendType": "Right side", - "links": [], - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "pie", - "strokeWidth": 1, - "targets": [ - { - "expr": "topk(5, sum(traefik_service_requests_total{protocol=~\"$protocol\"}) by (code))", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{code}}", - "refId": "A" - } - ], - "title": "Top 5 $protocol return code", - "type": "grafana-piechart-panel", - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "Prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "format": "ms", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 6, - "w": 4, - "x": 13, - "y": 0 - }, - "id": 20, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "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": true - }, - "tableColumn": "", - "targets": [ - { - "expr": "sum(traefik_entrypoint_request_duration_seconds_sum) / sum(traefik_entrypoint_requests_total) * 1000", - "format": "time_series", - "intervalFactor": 2, - "refId": "A" - } - ], - "thresholds": "", - "title": "Average response time", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "avg" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 7, - "x": 17, - "y": 0 - }, - "hiddenSeries": false, - "id": 14, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(traefik_service_request_duration_seconds_sum{protocol=~\"$protocol\"}) / sum(traefik_entrypoint_requests_total{protocol=~\"$protocol\"}) * 1000", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Average response time (ms)", - "refId": "A", - "step": 240 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Average response time", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ms", - "label": null, - "logBase": 10, - "max": null, - "min": "0", - "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": "Prometheus", - "decimals": 0, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 6 - }, - "hiddenSeries": false, - "id": 10, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(traefik_service_requests_total{code=\"404\",method=\"GET\",protocol=~\"$protocol\"}[$interval])) by (service)", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{service}} ", - "refId": "A", - "step": 240 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Bad Status Code Count", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 6 - }, - "hiddenSeries": false, - "hideTimeOverride": false, - "id": 4, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": false, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(traefik_service_requests_total[$interval]))", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Total requests", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Total requests", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "decimals": 0, - "format": "short", - "label": "", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 10, - "x": 0, - "y": 12 - }, - "hiddenSeries": false, - "id": 8, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "process_open_fds{job=~\"$job\"}", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{ instance }}", - "refId": "A", - "step": 240 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Used sockets", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "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": "Prometheus", - "decimals": 0, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 14, - "x": 10, - "y": 12 - }, - "hiddenSeries": false, - "id": 24, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rate(traefik_service_requests_total{protocol=~\"http|https\"}[$interval])) by (service)", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{service}} ", - "refId": "A", - "step": 240 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Access to services", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 7, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 18 - }, - "hiddenSeries": false, - "id": 30, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": false, - "rightSide": true, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "sum(traefik_entrypoint_open_connections) by (method)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{ method }}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "ENTRYPOINT - Open Connections", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 7, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 18 - }, - "hiddenSeries": false, - "id": 28, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": false, - "rightSide": true, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "sum(traefik_service_open_connections) by (method)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{ method }}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "SERVICE - Open Connections", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "decimals": 0, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 25 - }, - "hiddenSeries": false, - "id": 12, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/^[^234].*/", - "transform": "negative-Y" - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(increase(traefik_service_requests_total{protocol=~\"$protocol\"}[$interval])) by (code)", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{code}}", - "refId": "A", - "step": 120 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Status Code Count ", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "short", - "label": "", - "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 - } - } - ], - "refresh": false, - "schemaVersion": 27, - "style": "dark", - "tags": [ - "traefik", - "load-balancer", - "docker", - "prometheus" - ], - "templating": { - "list": [ - { - "allValue": null, - "current": { - "selected": false, - "text": "traefik-dashboard", - "value": "traefik-dashboard" - }, - "datasource": "Prometheus", - "definition": "", - "description": null, - "error": null, - "hide": 0, - "includeAll": false, - "label": "Job:", - "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(job)", - "refId": "Prometheus-job-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 2, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": null, - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": "Prometheus", - "definition": "label_values(traefik_service_requests_total, protocol)", - "description": null, - "error": null, - "hide": 0, - "includeAll": true, - "label": "Service:", - "multi": true, - "name": "protocol", - "options": [], - "query": { - "query": "label_values(traefik_service_requests_total, protocol)", - "refId": "Prometheus-protocol-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "auto": true, - "auto_count": 30, - "auto_min": "10s", - "current": { - "selected": false, - "text": "auto", - "value": "$__auto_interval_interval" - }, - "description": null, - "error": null, - "hide": 0, - "label": "Interval", - "name": "interval", - "options": [ - { - "selected": true, - "text": "auto", - "value": "$__auto_interval_interval" - }, - { - "selected": false, - "text": "1m", - "value": "1m" - }, - { - "selected": false, - "text": "10m", - "value": "10m" - }, - { - "selected": false, - "text": "30m", - "value": "30m" - }, - { - "selected": false, - "text": "1h", - "value": "1h" - }, - { - "selected": false, - "text": "6h", - "value": "6h" - }, - { - "selected": false, - "text": "12h", - "value": "12h" - }, - { - "selected": false, - "text": "1d", - "value": "1d" - }, - { - "selected": false, - "text": "7d", - "value": "7d" - }, - { - "selected": false, - "text": "14d", - "value": "14d" - }, - { - "selected": false, - "text": "30d", - "value": "30d" - } - ], - "query": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d", - "refresh": 2, - "skipUrlSync": false, - "type": "interval" - } - ] - }, - "time": { - "from": "now-3h", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "timezone": "", - "title": "Traefik 2", - "uid": "3ipsWfViz", - "version": 2 - } \ No newline at end of file diff --git a/src/shell/prometheus/crds/dashboards/traefik/traefik-grafana-dashboard.yaml b/src/shell/prometheus/crds/dashboards/traefik/traefik-grafana-dashboard.yaml deleted file mode 100644 index fe710176..00000000 --- a/src/shell/prometheus/crds/dashboards/traefik/traefik-grafana-dashboard.yaml +++ /dev/null @@ -1,483 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: traefik-dashboard - namespace: traefik - labels: - grafana_dashboard: "1" - annotations: - k8s-sidecar-target-directory: /tmp/dashboards/Infrastructure -data: - traefik-dashboard.json: "{\r\n \"annotations\": {\r\n \"list\": [\r\n {\r\n - \ \"builtIn\": 1,\r\n \"datasource\": \"-- Grafana --\",\r\n - \ \"enable\": true,\r\n \"hide\": true,\r\n \"iconColor\": - \"rgba(0, 211, 255, 1)\",\r\n \"name\": \"Annotations & Alerts\",\r\n - \ \"type\": \"dashboard\"\r\n }\r\n ]\r\n },\r\n \"description\": - \"Simple dashboard for Traefik 2\",\r\n \"editable\": true,\r\n \"gnetId\": - 11462,\r\n \"graphTooltip\": 0,\r\n \"id\": 43,\r\n \"iteration\": 1619877456583,\r\n - \ \"links\": [],\r\n \"panels\": [\r\n {\r\n \"cacheTimeout\": - null,\r\n \"colorBackground\": false,\r\n \"colorValue\": false,\r\n - \ \"colors\": [\r\n \"#299c46\",\r\n \"rgba(237, 129, - 40, 0.89)\",\r\n \"#d44a3a\"\r\n ],\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {},\r\n - \ \"overrides\": []\r\n },\r\n \"format\": \"s\",\r\n \"gauge\": - {\r\n \"maxValue\": 100,\r\n \"minValue\": 0,\r\n \"show\": - false,\r\n \"thresholdLabels\": false,\r\n \"thresholdMarkers\": - true\r\n },\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": - 3,\r\n \"x\": 0,\r\n \"y\": 0\r\n },\r\n \"id\": - 22,\r\n \"interval\": null,\r\n \"links\": [],\r\n \"mappingType\": - 1,\r\n \"mappingTypes\": [\r\n {\r\n \"name\": \"value - to text\",\r\n \"value\": 1\r\n },\r\n {\r\n \"name\": - \"range to text\",\r\n \"value\": 2\r\n }\r\n ],\r\n - \ \"maxDataPoints\": 100,\r\n \"nullPointMode\": \"connected\",\r\n - \ \"nullText\": null,\r\n \"postfix\": \"\",\r\n \"postfixFontSize\": - \"50%\",\r\n \"prefix\": \"\",\r\n \"prefixFontSize\": \"50%\",\r\n - \ \"rangeMaps\": [\r\n {\r\n \"from\": \"null\",\r\n - \ \"text\": \"N/A\",\r\n \"to\": \"null\"\r\n }\r\n - \ ],\r\n \"sparkline\": {\r\n \"fillColor\": \"rgba(31, - 118, 189, 0.18)\",\r\n \"full\": false,\r\n \"lineColor\": \"rgb(31, - 120, 193)\",\r\n \"show\": false\r\n },\r\n \"tableColumn\": - \"\",\r\n \"targets\": [\r\n {\r\n \"expr\": \"time() - - process_start_time_seconds{job=\\\"$job\\\"}\",\r\n \"format\": \"time_series\",\r\n - \ \"intervalFactor\": 2,\r\n \"refId\": \"A\"\r\n }\r\n - \ ],\r\n \"thresholds\": \"\",\r\n \"title\": \"Uptime\",\r\n - \ \"type\": \"singlestat\",\r\n \"valueFontSize\": \"80%\",\r\n \"valueMaps\": - [\r\n {\r\n \"op\": \"=\",\r\n \"text\": \"N/A\",\r\n - \ \"value\": \"null\"\r\n }\r\n ],\r\n \"valueName\": - \"current\"\r\n },\r\n {\r\n \"cacheTimeout\": null,\r\n \"colorBackground\": - false,\r\n \"colorValue\": true,\r\n \"colors\": [\r\n \"#37872D\",\r\n - \ \"#37872D\",\r\n \"#C4162A\"\r\n ],\r\n \"datasource\": - \"Prometheus\",\r\n \"decimals\": 0,\r\n \"fieldConfig\": {\r\n - \ \"defaults\": {},\r\n \"overrides\": []\r\n },\r\n \"format\": - \"none\",\r\n \"gauge\": {\r\n \"maxValue\": 100,\r\n \"minValue\": - 0,\r\n \"show\": false,\r\n \"thresholdLabels\": false,\r\n - \ \"thresholdMarkers\": true\r\n },\r\n \"gridPos\": {\r\n - \ \"h\": 6,\r\n \"w\": 3,\r\n \"x\": 3,\r\n \"y\": - 0\r\n },\r\n \"id\": 26,\r\n \"interval\": null,\r\n \"links\": - [],\r\n \"mappingType\": 1,\r\n \"mappingTypes\": [\r\n {\r\n - \ \"name\": \"value to text\",\r\n \"value\": 1\r\n },\r\n - \ {\r\n \"name\": \"range to text\",\r\n \"value\": - 2\r\n }\r\n ],\r\n \"maxDataPoints\": 100,\r\n \"nullPointMode\": - \"connected\",\r\n \"nullText\": null,\r\n \"postfix\": \"\",\r\n - \ \"postfixFontSize\": \"50%\",\r\n \"prefix\": \"\",\r\n \"prefixFontSize\": - \"200%\",\r\n \"rangeMaps\": [\r\n {\r\n \"from\": - \"null\",\r\n \"text\": \"N/A\",\r\n \"to\": \"null\"\r\n - \ }\r\n ],\r\n \"sparkline\": {\r\n \"fillColor\": - \"rgba(31, 118, 189, 0.18)\",\r\n \"full\": false,\r\n \"lineColor\": - \"rgb(31, 120, 193)\",\r\n \"show\": false\r\n },\r\n \"tableColumn\": - \"\",\r\n \"targets\": [\r\n {\r\n \"expr\": \"sum(increase(traefik_service_requests_total{code=\\\"404\\\",protocol=~\\\"$protocol\\\"}[$interval]))\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 2,\r\n - \ \"legendFormat\": \"\",\r\n \"metric\": \"traefik_requests_total\",\r\n - \ \"refId\": \"A\",\r\n \"step\": 60\r\n }\r\n ],\r\n - \ \"thresholds\": \"0,1\",\r\n \"title\": \"404 Error Count\",\r\n - \ \"type\": \"singlestat\",\r\n \"valueFontSize\": \"200%\",\r\n - \ \"valueMaps\": [\r\n {\r\n \"op\": \"=\",\r\n \"text\": - \"N/A\",\r\n \"value\": \"null\"\r\n }\r\n ],\r\n \"valueName\": - \"max\"\r\n },\r\n {\r\n \"cacheTimeout\": null,\r\n \"colorBackground\": - false,\r\n \"colorValue\": true,\r\n \"colors\": [\r\n \"#37872D\",\r\n - \ \"#C4162A\",\r\n \"#C4162A\"\r\n ],\r\n \"datasource\": - \"Prometheus\",\r\n \"decimals\": 0,\r\n \"fieldConfig\": {\r\n - \ \"defaults\": {},\r\n \"overrides\": []\r\n },\r\n \"format\": - \"none\",\r\n \"gauge\": {\r\n \"maxValue\": 100,\r\n \"minValue\": - 0,\r\n \"show\": false,\r\n \"thresholdLabels\": false,\r\n - \ \"thresholdMarkers\": true\r\n },\r\n \"gridPos\": {\r\n - \ \"h\": 6,\r\n \"w\": 3,\r\n \"x\": 6,\r\n \"y\": - 0\r\n },\r\n \"id\": 32,\r\n \"interval\": null,\r\n \"links\": - [],\r\n \"mappingType\": 1,\r\n \"mappingTypes\": [\r\n {\r\n - \ \"name\": \"value to text\",\r\n \"value\": 1\r\n },\r\n - \ {\r\n \"name\": \"range to text\",\r\n \"value\": - 2\r\n }\r\n ],\r\n \"maxDataPoints\": 100,\r\n \"nullPointMode\": - \"connected\",\r\n \"nullText\": null,\r\n \"postfix\": \"\",\r\n - \ \"postfixFontSize\": \"50%\",\r\n \"prefix\": \"\",\r\n \"prefixFontSize\": - \"200%\",\r\n \"rangeMaps\": [\r\n {\r\n \"from\": - \"null\",\r\n \"text\": \"N/A\",\r\n \"to\": \"null\"\r\n - \ }\r\n ],\r\n \"sparkline\": {\r\n \"fillColor\": - \"rgba(31, 118, 189, 0.18)\",\r\n \"full\": false,\r\n \"lineColor\": - \"rgb(31, 120, 193)\",\r\n \"show\": false,\r\n \"ymax\": null,\r\n - \ \"ymin\": null\r\n },\r\n \"tableColumn\": \"\",\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(increase(traefik_service_requests_total{code=\\\"503\\\",protocol=~\\\"$protocol\\\"}[$interval]))\",\r\n - \ \"refId\": \"A\"\r\n }\r\n ],\r\n \"thresholds\": - \"0,1\",\r\n \"timeFrom\": null,\r\n \"timeShift\": null,\r\n \"title\": - \"503 Error count\",\r\n \"type\": \"singlestat\",\r\n \"valueFontSize\": - \"200%\",\r\n \"valueMaps\": [\r\n {\r\n \"op\": \"=\",\r\n - \ \"text\": \"N/A\",\r\n \"value\": \"null\"\r\n }\r\n - \ ],\r\n \"valueName\": \"max\"\r\n },\r\n {\r\n \"aliasColors\": - {},\r\n \"breakPoint\": \"50%\",\r\n \"cacheTimeout\": null,\r\n - \ \"combine\": {\r\n \"label\": \"Others\",\r\n \"threshold\": - 0\r\n },\r\n \"datasource\": \"Prometheus\",\r\n \"fieldConfig\": - {\r\n \"defaults\": {},\r\n \"overrides\": []\r\n },\r\n - \ \"fontSize\": \"80%\",\r\n \"format\": \"short\",\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 4,\r\n \"x\": 9,\r\n \"y\": - 0\r\n },\r\n \"id\": 18,\r\n \"interval\": null,\r\n \"legend\": - {\r\n \"percentage\": true,\r\n \"show\": true,\r\n \"sort\": - null,\r\n \"sortDesc\": null,\r\n \"values\": true\r\n },\r\n - \ \"legendType\": \"Right side\",\r\n \"links\": [],\r\n \"maxDataPoints\": - 3,\r\n \"nullPointMode\": \"connected\",\r\n \"pieType\": \"pie\",\r\n - \ \"strokeWidth\": 1,\r\n \"targets\": [\r\n {\r\n \"expr\": - \"topk(5, sum(traefik_service_requests_total{protocol=~\\\"$protocol\\\"}) by - (code))\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 2,\r\n \"legendFormat\": \"{{code}}\",\r\n \"refId\": \"A\"\r\n - \ }\r\n ],\r\n \"title\": \"Top 5 $protocol return code\",\r\n - \ \"type\": \"grafana-piechart-panel\",\r\n \"valueName\": \"current\"\r\n - \ },\r\n {\r\n \"cacheTimeout\": null,\r\n \"colorBackground\": - false,\r\n \"colorValue\": false,\r\n \"colors\": [\r\n \"#299c46\",\r\n - \ \"rgba(237, 129, 40, 0.89)\",\r\n \"#d44a3a\"\r\n ],\r\n - \ \"datasource\": \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": - {},\r\n \"overrides\": []\r\n },\r\n \"format\": \"ms\",\r\n - \ \"gauge\": {\r\n \"maxValue\": 100,\r\n \"minValue\": - 0,\r\n \"show\": false,\r\n \"thresholdLabels\": false,\r\n - \ \"thresholdMarkers\": true\r\n },\r\n \"gridPos\": {\r\n - \ \"h\": 6,\r\n \"w\": 4,\r\n \"x\": 13,\r\n \"y\": - 0\r\n },\r\n \"id\": 20,\r\n \"interval\": null,\r\n \"links\": - [],\r\n \"mappingType\": 1,\r\n \"mappingTypes\": [\r\n {\r\n - \ \"name\": \"value to text\",\r\n \"value\": 1\r\n },\r\n - \ {\r\n \"name\": \"range to text\",\r\n \"value\": - 2\r\n }\r\n ],\r\n \"maxDataPoints\": 100,\r\n \"nullPointMode\": - \"connected\",\r\n \"nullText\": null,\r\n \"postfix\": \"\",\r\n - \ \"postfixFontSize\": \"50%\",\r\n \"prefix\": \"\",\r\n \"prefixFontSize\": - \"50%\",\r\n \"rangeMaps\": [\r\n {\r\n \"from\": \"null\",\r\n - \ \"text\": \"N/A\",\r\n \"to\": \"null\"\r\n }\r\n - \ ],\r\n \"sparkline\": {\r\n \"fillColor\": \"rgba(31, - 118, 189, 0.18)\",\r\n \"full\": false,\r\n \"lineColor\": \"rgb(31, - 120, 193)\",\r\n \"show\": true\r\n },\r\n \"tableColumn\": - \"\",\r\n \"targets\": [\r\n {\r\n \"expr\": \"sum(traefik_entrypoint_request_duration_seconds_sum) - / sum(traefik_entrypoint_requests_total) * 1000\",\r\n \"format\": - \"time_series\",\r\n \"intervalFactor\": 2,\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": \"\",\r\n \"title\": - \"Average response time\",\r\n \"type\": \"singlestat\",\r\n \"valueFontSize\": - \"80%\",\r\n \"valueMaps\": [\r\n {\r\n \"op\": \"=\",\r\n - \ \"text\": \"N/A\",\r\n \"value\": \"null\"\r\n }\r\n - \ ],\r\n \"valueName\": \"avg\"\r\n },\r\n {\r\n \"aliasColors\": - {},\r\n \"bars\": false,\r\n \"dashLength\": 10,\r\n \"dashes\": - false,\r\n \"datasource\": \"Prometheus\",\r\n \"fieldConfig\": - {\r\n \"defaults\": {\r\n \"links\": []\r\n },\r\n - \ \"overrides\": []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": - 0,\r\n \"gridPos\": {\r\n \"h\": 6,\r\n \"w\": 7,\r\n - \ \"x\": 17,\r\n \"y\": 0\r\n },\r\n \"hiddenSeries\": - false,\r\n \"id\": 14,\r\n \"legend\": {\r\n \"avg\": false,\r\n - \ \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"show\": true,\r\n \"total\": false,\r\n \"values\": - false\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"percentage\": - false,\r\n \"pluginVersion\": \"7.5.3\",\r\n \"pointradius\": 5,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"sum(traefik_service_request_duration_seconds_sum{protocol=~\\\"$protocol\\\"}) - / sum(traefik_entrypoint_requests_total{protocol=~\\\"$protocol\\\"}) * 1000\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 2,\r\n - \ \"legendFormat\": \"Average response time (ms)\",\r\n \"refId\": - \"A\",\r\n \"step\": 240\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Average response time\",\r\n \"tooltip\": - {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"format\": \"ms\",\r\n \"label\": - null,\r\n \"logBase\": 10,\r\n \"max\": null,\r\n \"min\": - \"0\",\r\n \"show\": true\r\n },\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"Prometheus\",\r\n - \ \"decimals\": 0,\r\n \"fieldConfig\": {\r\n \"defaults\": - {\r\n \"links\": []\r\n },\r\n \"overrides\": []\r\n - \ },\r\n \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 12,\r\n \"x\": 0,\r\n \"y\": - 6\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 10,\r\n - \ \"legend\": {\r\n \"alignAsTable\": true,\r\n \"avg\": - false,\r\n \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"rightSide\": true,\r\n \"show\": true,\r\n \"total\": - false,\r\n \"values\": false\r\n },\r\n \"lines\": true,\r\n - \ \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"null\",\r\n \"options\": {\r\n \"alertThreshold\": true\r\n - \ },\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(increase(traefik_service_requests_total{code=\\\"404\\\",method=\\\"GET\\\",protocol=~\\\"$protocol\\\"}[$interval])) - by (service)\",\r\n \"format\": \"time_series\",\r\n \"interval\": - \"\",\r\n \"intervalFactor\": 2,\r\n \"legendFormat\": \"{{service}} - \",\r\n \"refId\": \"A\",\r\n \"step\": 240\r\n }\r\n - \ ],\r\n \"thresholds\": [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Bad Status Code Count\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"decimals\": - 0,\r\n \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": false\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - true,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {\r\n - \ \"links\": []\r\n },\r\n \"overrides\": []\r\n },\r\n - \ \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n - \ \"h\": 6,\r\n \"w\": 12,\r\n \"x\": 12,\r\n \"y\": - 6\r\n },\r\n \"hiddenSeries\": false,\r\n \"hideTimeOverride\": - false,\r\n \"id\": 4,\r\n \"legend\": {\r\n \"alignAsTable\": - true,\r\n \"avg\": true,\r\n \"current\": false,\r\n \"max\": - true,\r\n \"min\": true,\r\n \"rightSide\": true,\r\n \"show\": - true,\r\n \"total\": false,\r\n \"values\": true\r\n },\r\n - \ \"lines\": false,\r\n \"linewidth\": 1,\r\n \"links\": [],\r\n - \ \"nullPointMode\": \"null\",\r\n \"options\": {\r\n \"alertThreshold\": - true\r\n },\r\n \"percentage\": false,\r\n \"pluginVersion\": - \"7.5.3\",\r\n \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(traefik_service_requests_total[$interval]))\",\r\n - \ \"format\": \"time_series\",\r\n \"intervalFactor\": 2,\r\n - \ \"legendFormat\": \"Total requests\",\r\n \"refId\": \"A\"\r\n - \ }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"Total requests\",\r\n \"tooltip\": {\r\n \"shared\": true,\r\n - \ \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n },\r\n - \ \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"decimals\": 0,\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n },\r\n {\r\n \"decimals\": - 0,\r\n \"format\": \"short\",\r\n \"label\": \"\",\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"Prometheus\",\r\n - \ \"fieldConfig\": {\r\n \"defaults\": {\r\n \"links\": - []\r\n },\r\n \"overrides\": []\r\n },\r\n \"fill\": - 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n \"h\": - 6,\r\n \"w\": 10,\r\n \"x\": 0,\r\n \"y\": 12\r\n },\r\n - \ \"hiddenSeries\": false,\r\n \"id\": 8,\r\n \"legend\": - {\r\n \"avg\": false,\r\n \"current\": false,\r\n \"max\": - false,\r\n \"min\": false,\r\n \"show\": true,\r\n \"total\": - false,\r\n \"values\": false\r\n },\r\n \"lines\": true,\r\n - \ \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"null as zero\",\r\n \"options\": {\r\n \"alertThreshold\": true\r\n - \ },\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": true,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"process_open_fds{job=~\\\"$job\\\"}\",\r\n - \ \"format\": \"time_series\",\r\n \"interval\": \"\",\r\n - \ \"intervalFactor\": 2,\r\n \"legendFormat\": \"{{ instance - }}\",\r\n \"refId\": \"A\",\r\n \"step\": 240\r\n }\r\n - \ ],\r\n \"thresholds\": [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Used sockets\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": true\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"decimals\": 0,\r\n \"fieldConfig\": {\r\n - \ \"defaults\": {\r\n \"links\": []\r\n },\r\n \"overrides\": - []\r\n },\r\n \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 6,\r\n \"w\": 14,\r\n \"x\": 10,\r\n \"y\": - 12\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 24,\r\n - \ \"legend\": {\r\n \"alignAsTable\": true,\r\n \"avg\": - true,\r\n \"current\": true,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"rightSide\": true,\r\n \"show\": true,\r\n \"total\": - true,\r\n \"values\": true\r\n },\r\n \"lines\": true,\r\n - \ \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"null\",\r\n \"options\": {\r\n \"alertThreshold\": true\r\n - \ },\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": false,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(rate(traefik_service_requests_total{protocol=~\\\"http|https\\\"}[$interval])) - by (service)\",\r\n \"format\": \"time_series\",\r\n \"interval\": - \"\",\r\n \"intervalFactor\": 2,\r\n \"legendFormat\": \"{{service}} - \",\r\n \"refId\": \"A\",\r\n \"step\": 240\r\n }\r\n - \ ],\r\n \"thresholds\": [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": - [],\r\n \"timeShift\": null,\r\n \"title\": \"Access to services\",\r\n - \ \"tooltip\": {\r\n \"shared\": true,\r\n \"sort\": 0,\r\n - \ \"value_type\": \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n - \ \"xaxis\": {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n - \ \"name\": null,\r\n \"show\": true,\r\n \"values\": - []\r\n },\r\n \"yaxes\": [\r\n {\r\n \"decimals\": - 0,\r\n \"format\": \"short\",\r\n \"label\": null,\r\n \"logBase\": - 1,\r\n \"max\": null,\r\n \"min\": null,\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": false\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n },\r\n {\r\n \"aliasColors\": {},\r\n \"bars\": - false,\r\n \"dashLength\": 10,\r\n \"dashes\": false,\r\n \"datasource\": - \"Prometheus\",\r\n \"fieldConfig\": {\r\n \"defaults\": {\r\n - \ \"links\": []\r\n },\r\n \"overrides\": []\r\n },\r\n - \ \"fill\": 7,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n - \ \"h\": 7,\r\n \"w\": 12,\r\n \"x\": 0,\r\n \"y\": - 18\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 30,\r\n - \ \"legend\": {\r\n \"alignAsTable\": true,\r\n \"avg\": - true,\r\n \"current\": true,\r\n \"max\": true,\r\n \"min\": - false,\r\n \"rightSide\": true,\r\n \"show\": true,\r\n \"sort\": - \"avg\",\r\n \"sortDesc\": true,\r\n \"total\": false,\r\n \"values\": - true\r\n },\r\n \"lines\": true,\r\n \"linewidth\": 1,\r\n - \ \"links\": [],\r\n \"nullPointMode\": \"null\",\r\n \"options\": - {\r\n \"alertThreshold\": true\r\n },\r\n \"percentage\": - false,\r\n \"pluginVersion\": \"7.5.3\",\r\n \"pointradius\": 5,\r\n - \ \"points\": false,\r\n \"renderer\": \"flot\",\r\n \"seriesOverrides\": - [],\r\n \"spaceLength\": 10,\r\n \"stack\": true,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"sum(traefik_entrypoint_open_connections) - by (method)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{ method }}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"ENTRYPOINT - Open Connections\",\r\n \"tooltip\": {\r\n \"shared\": - true,\r\n \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"decimals\": 0,\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n },\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - false\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"Prometheus\",\r\n - \ \"fieldConfig\": {\r\n \"defaults\": {\r\n \"links\": - []\r\n },\r\n \"overrides\": []\r\n },\r\n \"fill\": - 7,\r\n \"fillGradient\": 0,\r\n \"gridPos\": {\r\n \"h\": - 7,\r\n \"w\": 12,\r\n \"x\": 12,\r\n \"y\": 18\r\n - \ },\r\n \"hiddenSeries\": false,\r\n \"id\": 28,\r\n \"legend\": - {\r\n \"alignAsTable\": true,\r\n \"avg\": true,\r\n \"current\": - true,\r\n \"max\": true,\r\n \"min\": false,\r\n \"rightSide\": - true,\r\n \"show\": true,\r\n \"sort\": \"avg\",\r\n \"sortDesc\": - true,\r\n \"total\": false,\r\n \"values\": true\r\n },\r\n - \ \"lines\": true,\r\n \"linewidth\": 1,\r\n \"links\": [],\r\n - \ \"nullPointMode\": \"null\",\r\n \"options\": {\r\n \"alertThreshold\": - true\r\n },\r\n \"percentage\": false,\r\n \"pluginVersion\": - \"7.5.3\",\r\n \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [],\r\n \"spaceLength\": 10,\r\n - \ \"stack\": true,\r\n \"steppedLine\": false,\r\n \"targets\": - [\r\n {\r\n \"expr\": \"sum(traefik_service_open_connections) - by (method)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 1,\r\n \"legendFormat\": \"{{ method }}\",\r\n \"refId\": - \"A\"\r\n }\r\n ],\r\n \"thresholds\": [],\r\n \"timeFrom\": - null,\r\n \"timeRegions\": [],\r\n \"timeShift\": null,\r\n \"title\": - \"SERVICE - Open Connections\",\r\n \"tooltip\": {\r\n \"shared\": - true,\r\n \"sort\": 0,\r\n \"value_type\": \"individual\"\r\n - \ },\r\n \"type\": \"graph\",\r\n \"xaxis\": {\r\n \"buckets\": - null,\r\n \"mode\": \"time\",\r\n \"name\": null,\r\n \"show\": - true,\r\n \"values\": []\r\n },\r\n \"yaxes\": [\r\n {\r\n - \ \"decimals\": 0,\r\n \"format\": \"short\",\r\n \"label\": - null,\r\n \"logBase\": 1,\r\n \"max\": null,\r\n \"min\": - null,\r\n \"show\": true\r\n },\r\n {\r\n \"format\": - \"short\",\r\n \"label\": null,\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": null,\r\n \"show\": - false\r\n }\r\n ],\r\n \"yaxis\": {\r\n \"align\": - false,\r\n \"alignLevel\": null\r\n }\r\n },\r\n {\r\n - \ \"aliasColors\": {},\r\n \"bars\": false,\r\n \"dashLength\": - 10,\r\n \"dashes\": false,\r\n \"datasource\": \"Prometheus\",\r\n - \ \"decimals\": 0,\r\n \"fieldConfig\": {\r\n \"defaults\": - {\r\n \"links\": []\r\n },\r\n \"overrides\": []\r\n - \ },\r\n \"fill\": 1,\r\n \"fillGradient\": 0,\r\n \"gridPos\": - {\r\n \"h\": 7,\r\n \"w\": 24,\r\n \"x\": 0,\r\n \"y\": - 25\r\n },\r\n \"hiddenSeries\": false,\r\n \"id\": 12,\r\n - \ \"legend\": {\r\n \"alignAsTable\": true,\r\n \"avg\": - false,\r\n \"current\": false,\r\n \"max\": false,\r\n \"min\": - false,\r\n \"rightSide\": true,\r\n \"show\": true,\r\n \"total\": - false,\r\n \"values\": false\r\n },\r\n \"lines\": true,\r\n - \ \"linewidth\": 1,\r\n \"links\": [],\r\n \"nullPointMode\": - \"null\",\r\n \"options\": {\r\n \"alertThreshold\": true\r\n - \ },\r\n \"percentage\": false,\r\n \"pluginVersion\": \"7.5.3\",\r\n - \ \"pointradius\": 5,\r\n \"points\": false,\r\n \"renderer\": - \"flot\",\r\n \"seriesOverrides\": [\r\n {\r\n \"alias\": - \"/^[^234].*/\",\r\n \"transform\": \"negative-Y\"\r\n }\r\n - \ ],\r\n \"spaceLength\": 10,\r\n \"stack\": false,\r\n \"steppedLine\": - false,\r\n \"targets\": [\r\n {\r\n \"expr\": \"sum(increase(traefik_service_requests_total{protocol=~\\\"$protocol\\\"}[$interval])) - by (code)\",\r\n \"format\": \"time_series\",\r\n \"intervalFactor\": - 2,\r\n \"legendFormat\": \"{{code}}\",\r\n \"refId\": \"A\",\r\n - \ \"step\": 120\r\n }\r\n ],\r\n \"thresholds\": - [],\r\n \"timeFrom\": null,\r\n \"timeRegions\": [],\r\n \"timeShift\": - null,\r\n \"title\": \"Status Code Count \",\r\n \"tooltip\": {\r\n - \ \"shared\": true,\r\n \"sort\": 0,\r\n \"value_type\": - \"individual\"\r\n },\r\n \"type\": \"graph\",\r\n \"xaxis\": - {\r\n \"buckets\": null,\r\n \"mode\": \"time\",\r\n \"name\": - null,\r\n \"show\": true,\r\n \"values\": []\r\n },\r\n - \ \"yaxes\": [\r\n {\r\n \"decimals\": 0,\r\n \"format\": - \"short\",\r\n \"label\": \"\",\r\n \"logBase\": 1,\r\n - \ \"max\": null,\r\n \"min\": \"0\",\r\n \"show\": - true\r\n },\r\n {\r\n \"format\": \"short\",\r\n - \ \"label\": null,\r\n \"logBase\": 1,\r\n \"max\": - null,\r\n \"min\": null,\r\n \"show\": false\r\n }\r\n - \ ],\r\n \"yaxis\": {\r\n \"align\": false,\r\n \"alignLevel\": - null\r\n }\r\n }\r\n ],\r\n \"refresh\": false,\r\n \"schemaVersion\": - 27,\r\n \"style\": \"dark\",\r\n \"tags\": [\r\n \"traefik\",\r\n \"load-balancer\",\r\n - \ \"docker\",\r\n \"prometheus\"\r\n ],\r\n \"templating\": {\r\n - \ \"list\": [\r\n {\r\n \"allValue\": null,\r\n \"current\": - {\r\n \"selected\": false,\r\n \"text\": \"traefik-dashboard\",\r\n - \ \"value\": \"traefik-dashboard\"\r\n },\r\n \"datasource\": - \"Prometheus\",\r\n \"definition\": \"\",\r\n \"description\": - null,\r\n \"error\": null,\r\n \"hide\": 0,\r\n \"includeAll\": - false,\r\n \"label\": \"Job:\",\r\n \"multi\": false,\r\n \"name\": - \"job\",\r\n \"options\": [],\r\n \"query\": {\r\n \"query\": - \"label_values(job)\",\r\n \"refId\": \"Prometheus-job-Variable-Query\"\r\n - \ },\r\n \"refresh\": 1,\r\n \"regex\": \"\",\r\n \"skipUrlSync\": - false,\r\n \"sort\": 2,\r\n \"tagValuesQuery\": \"\",\r\n \"tags\": - [],\r\n \"tagsQuery\": \"\",\r\n \"type\": \"query\",\r\n \"useTags\": - false\r\n },\r\n {\r\n \"allValue\": null,\r\n \"current\": - {\r\n \"selected\": false,\r\n \"text\": \"All\",\r\n \"value\": - \"$__all\"\r\n },\r\n \"datasource\": \"Prometheus\",\r\n \"definition\": - \"label_values(traefik_service_requests_total, protocol)\",\r\n \"description\": - null,\r\n \"error\": null,\r\n \"hide\": 0,\r\n \"includeAll\": - true,\r\n \"label\": \"Service:\",\r\n \"multi\": true,\r\n - \ \"name\": \"protocol\",\r\n \"options\": [],\r\n \"query\": - {\r\n \"query\": \"label_values(traefik_service_requests_total, protocol)\",\r\n - \ \"refId\": \"Prometheus-protocol-Variable-Query\"\r\n },\r\n - \ \"refresh\": 1,\r\n \"regex\": \"\",\r\n \"skipUrlSync\": - false,\r\n \"sort\": 0,\r\n \"tagValuesQuery\": \"\",\r\n \"tags\": - [],\r\n \"tagsQuery\": \"\",\r\n \"type\": \"query\",\r\n \"useTags\": - false\r\n },\r\n {\r\n \"auto\": true,\r\n \"auto_count\": - 30,\r\n \"auto_min\": \"10s\",\r\n \"current\": {\r\n \"selected\": - false,\r\n \"text\": \"auto\",\r\n \"value\": \"$__auto_interval_interval\"\r\n - \ },\r\n \"description\": null,\r\n \"error\": null,\r\n - \ \"hide\": 0,\r\n \"label\": \"Interval\",\r\n \"name\": - \"interval\",\r\n \"options\": [\r\n {\r\n \"selected\": - true,\r\n \"text\": \"auto\",\r\n \"value\": \"$__auto_interval_interval\"\r\n - \ },\r\n {\r\n \"selected\": false,\r\n \"text\": - \"1m\",\r\n \"value\": \"1m\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"10m\",\r\n \"value\": - \"10m\"\r\n },\r\n {\r\n \"selected\": false,\r\n - \ \"text\": \"30m\",\r\n \"value\": \"30m\"\r\n },\r\n - \ {\r\n \"selected\": false,\r\n \"text\": - \"1h\",\r\n \"value\": \"1h\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"6h\",\r\n \"value\": - \"6h\"\r\n },\r\n {\r\n \"selected\": false,\r\n - \ \"text\": \"12h\",\r\n \"value\": \"12h\"\r\n },\r\n - \ {\r\n \"selected\": false,\r\n \"text\": - \"1d\",\r\n \"value\": \"1d\"\r\n },\r\n {\r\n - \ \"selected\": false,\r\n \"text\": \"7d\",\r\n \"value\": - \"7d\"\r\n },\r\n {\r\n \"selected\": false,\r\n - \ \"text\": \"14d\",\r\n \"value\": \"14d\"\r\n },\r\n - \ {\r\n \"selected\": false,\r\n \"text\": - \"30d\",\r\n \"value\": \"30d\"\r\n }\r\n ],\r\n - \ \"query\": \"1m,10m,30m,1h,6h,12h,1d,7d,14d,30d\",\r\n \"refresh\": - 2,\r\n \"skipUrlSync\": false,\r\n \"type\": \"interval\"\r\n - \ }\r\n ]\r\n },\r\n \"time\": {\r\n \"from\": \"now-3h\",\r\n - \ \"to\": \"now\"\r\n },\r\n \"timepicker\": {\r\n \"refresh_intervals\": - [\r\n \"5s\",\r\n \"10s\",\r\n \"30s\",\r\n \"1m\",\r\n - \ \"5m\",\r\n \"15m\",\r\n \"30m\",\r\n \"1h\",\r\n - \ \"2h\",\r\n \"1d\"\r\n ],\r\n \"time_options\": [\r\n - \ \"5m\",\r\n \"15m\",\r\n \"1h\",\r\n \"6h\",\r\n - \ \"12h\",\r\n \"24h\",\r\n \"2d\",\r\n \"7d\",\r\n - \ \"30d\"\r\n ]\r\n },\r\n \"timezone\": \"\",\r\n \"title\": - \"Traefik 2\",\r\n \"uid\": \"3ipsWfViz\",\r\n \"version\": 2\r\n }" - diff --git a/src/shell/prometheus/crds/jaeger-monitor.yaml b/src/shell/prometheus/crds/jaeger-monitor.yaml deleted file mode 100644 index b3157297..00000000 --- a/src/shell/prometheus/crds/jaeger-monitor.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: jaeger - namespace: jaeger - labels: - app: jaeger - release: prometheus -spec: - jobLabel: jaeger-metrics - selector: - matchLabels: - app: jaeger - namespaceSelector: - matchNames: - - jaeger - endpoints: - - port: admin-http \ No newline at end of file diff --git a/src/shell/prometheus/crds/prometheus-cert.yaml b/src/shell/prometheus/crds/prometheus-cert.yaml deleted file mode 100644 index fdc0e466..00000000 --- a/src/shell/prometheus/crds/prometheus-cert.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: prometheus-cert - namespace: prometheus -spec: - secretName: prometheus-cert - issuerRef: - name: selfsigned-ca-issuer - kind: ClusterIssuer - commonName: prometheus-cert - dnsNames: - - 'prometheus.infrastructure.k8s.local' - - 'grafana.infrastructure.k8s.local' diff --git a/src/shell/prometheus/crds/traefik-monitor.yaml b/src/shell/prometheus/crds/traefik-monitor.yaml deleted file mode 100644 index 034ff8cc..00000000 --- a/src/shell/prometheus/crds/traefik-monitor.yaml +++ /dev/null @@ -1,20 +0,0 @@ - -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: traefik - namespace: traefik - labels: - app: traefik - release: prometheus -spec: - jobLabel: traefik-metrics - selector: - matchLabels: - app: traefik - namespaceSelector: - matchNames: - - traefik - endpoints: - - port: metrics - path: /metrics diff --git a/src/shell/prometheus/crds/traefik-rules.yaml b/src/shell/prometheus/crds/traefik-rules.yaml deleted file mode 100644 index a1040369..00000000 --- a/src/shell/prometheus/crds/traefik-rules.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: monitoring.coreos.com/v1 -kind: PrometheusRule -metadata: - annotations: - meta.helm.sh/release-name: prometheus - meta.helm.sh/release-namespace: prometheus - labels: - app: kube-prometheus-stack - release: prometheus - name: traefik-alert-rules - namespace: traefik -spec: - groups: - - name: Traefik - rules: - - alert: TooManyRequest - expr: avg(traefik_entrypoint_open_connections{job="traefik",namespace="default"}) - > 5 - for: 1m - labels: - severity: critical \ No newline at end of file diff --git a/src/shell/prometheus/prometheus-values.yaml b/src/shell/prometheus/prometheus-values.yaml deleted file mode 100644 index d3455f48..00000000 --- a/src/shell/prometheus/prometheus-values.yaml +++ /dev/null @@ -1,183 +0,0 @@ -# Override of : https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml - -prometheus-node-exporter: - hostRootFsMount: false - -kubeApiServer: - enabled: true - tlsConfig: - serverName: kubernetes - insecureSkipVerify: true - -prometheusOperator: - admissionWebhooks: - patch: - podAnnotations: - linkerd.io/inject: disabled - -prometheus: - prometheusSpec: - scrapeInterval: "10s" - scrapeTimeout: "10s" - evaluationInterval: "10s" - podMetadata: - annotations: - "linkerd.io/inject": "enabled" - additionalScrapeConfigs: - # Required for: https://grafana.com/grafana/dashboards/315 - - job_name: 'kubernetes-nodes-cadvisor' - scheme: https - tls_config: - ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt - insecure_skip_verify: true - bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token - kubernetes_sd_configs: - - role: node - relabel_configs: - - action: labelmap - regex: __meta_kubernetes_node_label_(.+) - - target_label: __address__ - replacement: kubernetes.default.svc:443 - - source_labels: [__meta_kubernetes_node_name] - regex: (.+) - target_label: __metrics_path__ - replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor - metric_relabel_configs: - - source_labels: [__name__] - regex: '(container|machine)_(cpu|memory|network|fs)_(.+)' - action: keep - - source_labels: [__name__] - regex: 'container_memory_failures_total' # unneeded large metric - action: drop - - - job_name: 'linkerd-controller' - kubernetes_sd_configs: - - role: pod - namespaces: - names: - - 'linkerd' - - 'linkerd-viz' - relabel_configs: - - source_labels: - - __meta_kubernetes_pod_container_port_name - action: keep - regex: admin-http - - source_labels: [__meta_kubernetes_pod_container_name] - action: replace - target_label: component - - - job_name: 'linkerd-service-mirror' - kubernetes_sd_configs: - - role: pod - relabel_configs: - - source_labels: - - __meta_kubernetes_pod_label_linkerd_io_control_plane_component - - __meta_kubernetes_pod_container_port_name - action: keep - regex: linkerd-service-mirror;admin-http$ - - source_labels: [__meta_kubernetes_pod_container_name] - action: replace - target_label: component - - - job_name: 'linkerd-proxy' - kubernetes_sd_configs: - - role: pod - relabel_configs: - - source_labels: - - __meta_kubernetes_pod_container_name - - __meta_kubernetes_pod_container_port_name - - __meta_kubernetes_pod_label_linkerd_io_control_plane_ns - action: keep - regex: ^linkerd-proxy;linkerd-admin;linkerd$ - - source_labels: [__meta_kubernetes_namespace] - action: replace - target_label: namespace - - source_labels: [__meta_kubernetes_pod_name] - action: replace - target_label: pod - # special case k8s' "job" label, to not interfere with prometheus' "job" - # label - # __meta_kubernetes_pod_label_linkerd_io_proxy_job=foo => - # k8s_job=foo - - source_labels: [__meta_kubernetes_pod_label_linkerd_io_proxy_job] - action: replace - target_label: k8s_job - # drop __meta_kubernetes_pod_label_linkerd_io_proxy_job - - action: labeldrop - regex: __meta_kubernetes_pod_label_linkerd_io_proxy_job - # __meta_kubernetes_pod_label_linkerd_io_proxy_deployment=foo => - # deployment=foo - - action: labelmap - regex: __meta_kubernetes_pod_label_linkerd_io_proxy_(.+) - # drop all labels that we just made copies of in the previous labelmap - - action: labeldrop - regex: __meta_kubernetes_pod_label_linkerd_io_proxy_(.+) - # __meta_kubernetes_pod_label_linkerd_io_foo=bar => - # foo=bar - - action: labelmap - regex: __meta_kubernetes_pod_label_linkerd_io_(.+) - # Copy all pod labels to tmp labels - - action: labelmap - regex: __meta_kubernetes_pod_label_(.+) - replacement: __tmp_pod_label_$1 - # Take `linkerd_io_` prefixed labels and copy them without the prefix - - action: labelmap - regex: __tmp_pod_label_linkerd_io_(.+) - replacement: __tmp_pod_label_$1 - # Drop the `linkerd_io_` originals - - action: labeldrop - regex: __tmp_pod_label_linkerd_io_(.+) - # Copy tmp labels into real labels - - action: labelmap - regex: __tmp_pod_label_(.+) - - ingress: - enabled: true - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd - hosts: - - prometheus.infrastructure.k8s.local - path: / - pathType: Prefix - tls: - - secretName: prometheus-cert - hosts: - - prometheus.infrastructure.k8s.local - -grafana: - defaultDashboardsEnabled: true - sidecar: - dashboards: - searchNamespace: ALL - enabled: true - label: grafana_dashboard - folder: /tmp/dashboards - provider: - foldersFromFilesStructure: true - annotations: - k8s-sidecar-target-directory: /tmp/dashboards/Infrastructure/Kubernetes - ingress: - enabled: true - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd - hosts: - - grafana.infrastructure.k8s.local - path: / - pathType: Prefix - tls: - - secretName: prometheus-cert - hosts: - - grafana.infrastructure.k8s.local - additionalDataSources: - - name: Loki - access: proxy - orgId: 1 - type: loki - url: http://loki.loki.svc.cluster.local:3100 - version: 1 - plugins: - - grafana-piechart-panel - - digrich-bubblechart-panel - - grafana-clock-panel diff --git a/src/shell/traefik/crds/cert-store.yaml b/src/shell/traefik/crds/cert-store.yaml deleted file mode 100644 index a8bab184..00000000 --- a/src/shell/traefik/crds/cert-store.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: traefik.containo.us/v1alpha1 -kind: TLSStore -metadata: - name: default - namespace: traefik - -spec: - defaultCertificate: - secretName: traefik-cert \ No newline at end of file diff --git a/src/shell/traefik/crds/dashboard.yaml b/src/shell/traefik/crds/dashboard.yaml deleted file mode 100644 index e1c8925f..00000000 --- a/src/shell/traefik/crds/dashboard.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# dashboard.yaml -apiVersion: traefik.containo.us/v1alpha1 -kind: IngressRoute -metadata: - name: dashboard - namespace: traefik -spec: - entryPoints: - - websecure - routes: - - match: Host(`traefik.infrastructure.k8s.local`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`)) - kind: Rule - services: - - name: api@internal - kind: TraefikService - tls: - secretName: traefik-cert diff --git a/src/shell/traefik/crds/http-redirect-middleware.yaml b/src/shell/traefik/crds/http-redirect-middleware.yaml deleted file mode 100644 index 3e65399a..00000000 --- a/src/shell/traefik/crds/http-redirect-middleware.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: traefik.containo.us/v1alpha1 -kind: Middleware -metadata: - name: redirect-http -spec: - redirectScheme: - scheme: https \ No newline at end of file diff --git a/src/shell/traefik/crds/traefik-cert.yaml b/src/shell/traefik/crds/traefik-cert.yaml deleted file mode 100644 index ed22fc71..00000000 --- a/src/shell/traefik/crds/traefik-cert.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: traefik-cert - namespace: traefik -spec: - secretName: traefik-cert - issuerRef: - name: selfsigned-ca-issuer - kind: ClusterIssuer - commonName: traefik-cert - dnsNames: - - k8s.local - - '*.k8s.local' - - '*.infrastructure.k8s.local' - - '*.login.k8s.local' \ No newline at end of file diff --git a/src/shell/traefik/crds/traefik-metrics-service.yaml b/src/shell/traefik/crds/traefik-metrics-service.yaml deleted file mode 100644 index 6536c6db..00000000 --- a/src/shell/traefik/crds/traefik-metrics-service.yaml +++ /dev/null @@ -1,13 +0,0 @@ -kind: Service -apiVersion: v1 -metadata: - name: traefik-metrics - labels: - app: traefik - namespace: traefik -spec: - selector: - app: traefik - ports: - - name: metrics - port: 9100 diff --git a/src/shell/traefik/traefik-values.yaml b/src/shell/traefik/traefik-values.yaml deleted file mode 100644 index 71cafb7d..00000000 --- a/src/shell/traefik/traefik-values.yaml +++ /dev/null @@ -1,94 +0,0 @@ -# Override of: https://github.com/traefik/traefik-helm-chart/blob/master/traefik/values.yaml - -dashboard: - enabled: true - domain: traefik.infrastructure.k8s.local -additionalArguments: - - "--metrics.prometheus=true" - - "--tracing.jaeger=true" - - "--tracing.jaeger.samplingServerURL=http://jaeger-agent.jaeger:5778/sampling" - - "--tracing.jaeger.localAgentHostPort=jaeger-agent.jaeger:6831" - - "--serversTransport.insecureSkipVerify=true" - - "--providers.kubernetesingress=true" - - "--providers.kubernetesingress.ingressendpoint" - - "--providers.kubernetesingress.ingressendpoint.ip=172.18.0.2" - #- "--providers.kubernetesingress.ingressendpoint.ip=172.18.0.5" - - "--entryPoints.streaming.address=:6831/udp" - - "--entryPoints.metrics.address=:9100" - -entryPoints: - metrics: - address: ":9100" - -deployment: - labels: - app: traefik - podLabels: - app: traefik -metrics: - prometheus: - entryPoint: metrics -logs: - access: - enabled: true - format: json - general: - format: json - level: INFO - -kubernetes: - namespaces: - - default - - kube-system - -ports: - websecure: - tls: - enabled: true - -volumes: - - name: traefik-cert - mountPath: "/certs" - type: secret - -ingressClass: -# # true is not unit-testable yet, pending https://github.com/rancher/helm-unittest/pull/12 - enabled: true - isDefaultClass: true -# # Use to force a networking.k8s.io API Version for certain CI/CD applications. E.g. "v1beta1" - fallbackApiVersion: "v1beta1" - -ingressRoute: - dashboard: - enabled: true - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd -providers: - kubernetesCRD: - enabled: true - namespaces: [] - kubernetesIngress: - enabled: true - namespaces: [] - -service: - enabled: true - type: ClusterIP - spec: - # externalTrafficPolicy: Cluster - # clusterIP: 172.18.0.2 - externalIPs: [ - #172.18.0.5 - 172.18.0.2 - ] - -tls: - certificates: - - certFile: /certs/tls.crt - keyFile: /certs/tls.key - stores: - default: - defaultCertificate: - certFile: /certs/tls.crt - keyFile: /certs/tls.key diff --git a/src/shell/vault/crds/vault-auth-serviceaccount.yaml b/src/shell/vault/crds/vault-auth-serviceaccount.yaml deleted file mode 100644 index bce9fa51..00000000 --- a/src/shell/vault/crds/vault-auth-serviceaccount.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1beta1 -kind: ClusterRoleBinding -metadata: - name: role-tokenreview-binding - namespace: infrastructure -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: system:auth-delegator -subjects: -- kind: ServiceAccount - name: vault-auth - namespace: infrastructure \ No newline at end of file diff --git a/src/shell/vault/vault-admin-policy.json b/src/shell/vault/vault-admin-policy.json deleted file mode 100644 index 79effabe..00000000 --- a/src/shell/vault/vault-admin-policy.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "path": { - "*": { - "capabilities": [ - "create", - "read", - "update", - "delete", - "list", - "sudo" - ] - } - } - } diff --git a/src/shell/vault/vault-values.yaml b/src/shell/vault/vault-values.yaml deleted file mode 100644 index 8742a3d0..00000000 --- a/src/shell/vault/vault-values.yaml +++ /dev/null @@ -1,47 +0,0 @@ -# Override of https://github.com/hashicorp/vault-helm/blob/master/values.yaml -global: - enabled: true -ui: - enabled: true -injector: - enabled: true -server: - affinity: "" - dev: - enabled: true - # Set VAULT_DEV_ROOT_TOKEN_ID value - devRootToken: "root" - ingress: - enabled: true - hosts: - - host: vault.infrastructure.k8s.local - paths: - - / - passHostHeader: true - backend: - serviceName: vault-ui - servicePort: 8200 - tls: - - hosts: - - vault.infrastructure.k8s.local - secretName: vault-cert - annotations: | - traefik.ingress.kubernetes.io/router.entrypoints: web, websecure - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-http@kubernetescrd - linkerd.io/inject: enabled - # ha: - # enabled: true - # replicas: 1 - # config: | - # ui = true - # listener "tcp" { - # tls_disable = 1 - # address = "0.0.0.0:8200" - # cluster_address = "0.0.0.0:8201" - # } - # storage "consul" { - # path = "vault" - # address = "HOST_IP:8500" - # advertise_addr = "HOST_IP:8300" - # scheme = "http" - # } diff --git a/src/terraform/modules/metrics/main.tf b/src/terraform/modules/metrics/main.tf index 9379f79a..2b3aa16d 100644 --- a/src/terraform/modules/metrics/main.tf +++ b/src/terraform/modules/metrics/main.tf @@ -1,5 +1,3 @@ -// helm upgrade --install --wait metrics-server bitnami/metrics-server -n kube-system --version=${metrics_helm_version} --values=./src/shell/metrics/metrics-values.yaml - resource "helm_release" "metrics" { name = "metrics-server" chart = "metrics-server" diff --git a/src/terraform/modules/prometheus/crds/dashboards/readme.md b/src/terraform/modules/prometheus/crds/dashboards/readme.md index 52aedd3a..5f0bef94 100644 --- a/src/terraform/modules/prometheus/crds/dashboards/readme.md +++ b/src/terraform/modules/prometheus/crds/dashboards/readme.md @@ -5,9 +5,9 @@ > This resources was created by generating it from the json file that was fetched from grafama after import it as dashboard `10001`, adding and annotating the resource. ```powershell -kubectl create configmap jaeger-dashboard --from-file=jaeger-dashboard.json=./src/shell/prometheus/crds/dashboards/jaeger-grafana-dashboard.json -n infrastructure -o yaml > ./src/shell/prometheus/crds/dashboards/jaeger-grafana-dashboard.yaml -kubectl label --overwrite -f ./src/shell/prometheus/crds/dashboards/jaeger-grafana-dashboard.yaml grafana_dashboard=1 -kubectl annotate --overwrite -f ./src/shell/prometheus/crds/dashboards/jaeger-grafana-dashboard.yaml k8s-sidecar-target-directory=/tmp/dashboards/Infrastructure +kubectl create configmap jaeger-dashboard --from-file=jaeger-dashboard.json=./src/terraform/jaeger/dashboards/jaeger/jaeger-grafana-dashboard.json -n infrastructure -o yaml > ./src/terraform/jaeger/dashboards/jaeger/jaeger-grafana-dashboard.yaml +kubectl label --overwrite -f ./src/terraform/jaeger/dashboards/jaeger/jaeger-grafana-dashboard.yaml grafana_dashboard=1 +kubectl annotate --overwrite -f ./src/terraform/jaeger/dashboards/jaeger/jaeger-grafana-dashboard.yaml k8s-sidecar-target-directory=/tmp/dashboards/Infrastructure ``` ## Loki-Promtail @@ -17,9 +17,9 @@ We can add a Loki-Promtail dashboard (ID: 10004) > We create the dashboard yaml as follows, just for reference in case we need to recreate it ```powershell -kubectl create configmap loki-promtail-dashboard --from-file=loki-promtail-dashboard.json=./src/shell/prometheus/crds/dashboards/loki-promtail-dashboard.json -n infrastructure -o yaml > ./src/shell/prometheus/crds/dashboards/loki-promtail-dashboard.yaml -kubectl label --overwrite -f ./src/shell/prometheus/crds/dashboards/loki-promtail-dashboard.yaml grafana_dashboard=1 -kubectl annotate --overwrite -f ./src/shell/prometheus/crds/dashboards/loki-promtail-dashboard.yaml k8s-sidecar-target-directory=/tmp/dashboards/Infrastructure +kubectl create configmap loki-promtail-dashboard --from-file=loki-promtail-dashboard.json=./src/terraform/loki/dashboards/loki/loki-promtail-dashboard.json -n infrastructure -o yaml > ./src/terraform/loki/dashboards/loki/loki-promtail-dashboard.yaml +kubectl label --overwrite -f ./src/terraform/loki/dashboards/loki/loki-promtail-dashboard.yaml grafana_dashboard=1 +kubectl annotate --overwrite -f ./src/terraform/loki/dashboards/loki/loki-promtail-dashboard.yaml k8s-sidecar-target-directory=/tmp/dashboards/Infrastructure ``` ## Loki stack monitoring @@ -27,7 +27,7 @@ kubectl annotate --overwrite -f ./src/shell/prometheus/crds/dashboards/loki-prom We can add a Loki stack monitoring dashboard (ID: 14055) ```powershell -kubectl create configmap loki-monitor-dashboard --from-file=loki-monitor-dashboard.json=./src/shell/prometheus/crds/dashboards/loki-monitor-dashboard.json -n infrastructure -o yaml > ./src/shell/prometheus/crds/dashboards/loki-monitor-dashboard.yaml -kubectl label --overwrite -f ./src/shell/prometheus/crds/dashboards/loki-monitor-dashboard.yaml grafana_dashboard=1 -kubectl annotate --overwrite -f ./src/shell/prometheus/crds/dashboards/loki-monitor-dashboard.yaml k8s-sidecar-target-directory=/tmp/dashboards/Infrastructure +kubectl create configmap loki-monitor-dashboard --from-file=loki-monitor-dashboard.json=./src/terraform/loki/dashboards/loki/loki-monitor-dashboard.json -n infrastructure -o yaml > ./src/terraform/loki/dashboards/loki/loki-monitor-dashboard.yaml +kubectl label --overwrite -f ./src/terraform/loki/dashboards/loki/loki-monitor-dashboard.yaml grafana_dashboard=1 +kubectl annotate --overwrite -f ./src/terraform/loki/dashboards/loki/loki-monitor-dashboard.yaml k8s-sidecar-target-directory=/tmp/dashboards/Infrastructure ```