diff --git a/charts/Chart.yaml b/charts/Chart.yaml new file mode 100644 index 0000000..409ce44 --- /dev/null +++ b/charts/Chart.yaml @@ -0,0 +1,8 @@ +apiVersion: v2 +name: indy-monitoring-stack +description: A Helm chart for the indy-node-monitoring stack +type: application +version: 0.0.2 + +# This is the version number of the indy-node-monitor release version (https://github.com/hyperledger/indy-node-monitor/releases/tag/v0.4.0). +appVersion: "v0.4.0" diff --git a/charts/README.md b/charts/README.md new file mode 100644 index 0000000..d722971 --- /dev/null +++ b/charts/README.md @@ -0,0 +1,89 @@ +# Helm chart for the Indy-Monitoring-Stack + +_**Work in progress, for development use only.**_ + +## Pre-requisites + +* K8s or minikube cluster +* Helm v3+ binaries +* Registered Indy network monitor seed + +## Components + +Prometheus and alertmanager are now optional and are disabled by default. This is done to simplified the solution and to avoid having the same data in influxDB and in Prometheus. It's done from the values.yaml file. + +## Quickstart + +### Configuring the deployment + +1. Clone and edit the [**extra_vars.template**](./extra_vars.template) to a file called **extra_vars.yaml**. + + cp extra_vars.template extra_vars.yaml + +2. Edit the inputs. For some reference you can look at the [**config/indy_node_monitor/networks.json**](./config/indy_node_monitor/networks.json) file. You can add as many as you want. You must include a registered network monitor seed for your selected networks. + + Here is an example for the soverin network: + ```plaintext + inputs: + - name: Sovrin Builder Net + short_name: sbn + genesis_url: https://raw.githubusercontent.com/sovrin-foundation/sovrin/stable/sovrin/pool_transactions_builder_genesis + network_monitor_seed: INSERT_REGISTERED_NETWORK_MONITOR_SEED_HERE + - name: Sovrin Staging Net + short_name: ssn + genesis_url: https://raw.githubusercontent.com/sovrin-foundation/sovrin/stable/sovrin/pool_transactions_sandbox_genesis + network_monitor_seed: INSERT_REGISTERED_NETWORK_MONITOR_SEED_HERE + - name: Sovrin Main Net + short_name: smn + genesis_url: https://raw.githubusercontent.com/sovrin-foundation/sovrin/stable/sovrin/pool_transactions_live_genesis + network_monitor_seed: INSERT_REGISTERED_NETWORK_MONITOR_SEED_HERE + ``` +3. The secrets are generated by helm and are kept encode in k8s secret. + +4. (optional) If you want to expose services, set the **ingress** or **route** to `True`, enter your **domain** and **endpoints** (you can expose via ingress or via a route if this is more convenient). + +5. In order to get alerts for a specific blockchain, you must edit the provided alarm file **grafana/provisioning/alerting/indy-node-monitor.yaml** and replace "Sovrin Builder Net" by your own Network Name. + +### Deployment + +Once you're happy with the configuration, create the project (for openshit) or namespace (for k8s) and deploy the stack. Here's a Openshift one liner that will take care of this for you. Make sure that the namespace name matches the one in **extra_vars.yaml** file. + +```plaintext +oc new-project inc-indy-node-monitor +``` + +Here is the helm on liner to deploy the stack: + +```plaintext +helm upgrade indy-monitoring-stack . \ + --namespace inc-indy-node-monitor \ + --values ./extra_vars.yaml \ + --create-namespace --install +``` + +This chart will deploy by default, 4 components that are, **indy-no-monitor**, **telegraf**, **influxdb**, **grafana** +After the deployment you can get the Grafana admin password from this secret: + +```plaintext +kubectl get secret credentials -n inc-indy-node-monitor -o jsonpath="{.data.GF_SECURITY_ADMIN_PASSWORD}" | base64 --decode; echo +``` + +Note: On some linux env the last **%** of the password is not part of the password. + +## Advanced configuration + +You can edit the ports for the applications but this is not recommended. Some ports are statically set in the configuration files and it might break things if you are not sure about what you are doing. It is recommeneded to keep the ports as they are defined in the [**values.yaml**](./values.yaml) file. + +You can enable cloudwatch metric which will configure telegraf to send all metric to indy timeseries backend (influxDB or prometheus) and to AWS CLoudwatch. For this to work all container must be set to UTC, if not you will get error that AWS refuse you metric because they are in the future if youre timezone is < GMT -2. + +### Service configuration + +All service configurations are located in the [**config/**](./config/) folder under their respective application directory. These configurations are loaded as configmaps during deployment and injected into the pods. + +You can apply a new configuration by editing these files and redeploying the stack. + +### Dashboard development + +You can export a dashboard from grafana after you customized it and add the ***.json** file generated under [**config/grafana/dashboards/**](./config/grafana/dashboards/) + +All dashboards from that directory are automatically loaded when redeploying the stack. diff --git a/charts/config/alertmanager/config.yml b/charts/config/alertmanager/config.yml new file mode 120000 index 0000000..2001cb7 --- /dev/null +++ b/charts/config/alertmanager/config.yml @@ -0,0 +1 @@ +../../../alertmanager/config.yml \ No newline at end of file diff --git a/charts/config/grafana/alerting/indy-monitor.yaml b/charts/config/grafana/alerting/indy-monitor.yaml new file mode 120000 index 0000000..8ec8d0e --- /dev/null +++ b/charts/config/grafana/alerting/indy-monitor.yaml @@ -0,0 +1 @@ +../../../../grafana/provisioning/alerting/indy-monitor.yaml \ No newline at end of file diff --git a/charts/config/grafana/dashboard.yml b/charts/config/grafana/dashboard.yml new file mode 120000 index 0000000..029c52a --- /dev/null +++ b/charts/config/grafana/dashboard.yml @@ -0,0 +1 @@ +../../../grafana/provisioning/dashboards/dashboard.yml \ No newline at end of file diff --git a/charts/config/grafana/dashboards/AlertsDashboard.json b/charts/config/grafana/dashboards/AlertsDashboard.json new file mode 120000 index 0000000..068d633 --- /dev/null +++ b/charts/config/grafana/dashboards/AlertsDashboard.json @@ -0,0 +1 @@ +../../../../grafana/provisioning/dashboards/AlertsDashboard.json \ No newline at end of file diff --git a/charts/config/grafana/dashboards/NetworkOverviewDashboard.json b/charts/config/grafana/dashboards/NetworkOverviewDashboard.json new file mode 120000 index 0000000..2d5b135 --- /dev/null +++ b/charts/config/grafana/dashboards/NetworkOverviewDashboard.json @@ -0,0 +1 @@ +../../../../grafana/provisioning/dashboards/NetworkOverviewDashboard.json \ No newline at end of file diff --git a/charts/config/grafana/dashboards/NodeDetailDashboard.json b/charts/config/grafana/dashboards/NodeDetailDashboard.json new file mode 120000 index 0000000..93d6da0 --- /dev/null +++ b/charts/config/grafana/dashboards/NodeDetailDashboard.json @@ -0,0 +1 @@ +../../../../grafana/provisioning/dashboards/NodeDetailDashboard.json \ No newline at end of file diff --git a/charts/config/grafana/dashboards/PublicDashboard.json b/charts/config/grafana/dashboards/PublicDashboard.json new file mode 120000 index 0000000..1e0659d --- /dev/null +++ b/charts/config/grafana/dashboards/PublicDashboard.json @@ -0,0 +1 @@ +../../../../grafana/provisioning/dashboards/PublicDashboard.json \ No newline at end of file diff --git a/charts/config/grafana/dashboards/TestDashboard.json b/charts/config/grafana/dashboards/TestDashboard.json new file mode 120000 index 0000000..35f085a --- /dev/null +++ b/charts/config/grafana/dashboards/TestDashboard.json @@ -0,0 +1 @@ +../../../../grafana/provisioning/dashboards/TestDashboard.json \ No newline at end of file diff --git a/charts/config/grafana/datasource.yml b/charts/config/grafana/datasource.yml new file mode 120000 index 0000000..c8f9cf4 --- /dev/null +++ b/charts/config/grafana/datasource.yml @@ -0,0 +1 @@ +../../../grafana/provisioning/datasources/datasource.yml \ No newline at end of file diff --git a/charts/config/influxdb/influxdb.conf b/charts/config/influxdb/influxdb.conf new file mode 120000 index 0000000..8eba34c --- /dev/null +++ b/charts/config/influxdb/influxdb.conf @@ -0,0 +1 @@ +../../../influxdb/config/influxdb.conf \ No newline at end of file diff --git a/charts/config/prometheus/alert.rules b/charts/config/prometheus/alert.rules new file mode 120000 index 0000000..ef5758d --- /dev/null +++ b/charts/config/prometheus/alert.rules @@ -0,0 +1 @@ +../../../prometheus/alert.rules \ No newline at end of file diff --git a/charts/config/prometheus/prometheus.yml b/charts/config/prometheus/prometheus.yml new file mode 120000 index 0000000..bd5dbe4 --- /dev/null +++ b/charts/config/prometheus/prometheus.yml @@ -0,0 +1 @@ +../../../prometheus/prometheus.yml \ No newline at end of file diff --git a/charts/extra_vars.template b/charts/extra_vars.template new file mode 100644 index 0000000..1fcf2b8 --- /dev/null +++ b/charts/extra_vars.template @@ -0,0 +1,30 @@ +--- +namespace: "indy-monitoring-stack" +ingress: + active: false + domain: "" + cert_manager: + active: false + issuer: letsencrypt-staging + endpoints: + grafana: "" + influxdb: "" + prometheus: "" + alertmanager: "" + indy_node_monitor: "" + +# Here's an example for inputs, replace with the networks you want to monitor. +inputs: + # - name: Sovrin Builder Net + # short_name: sbn + # genesis_url: https://raw.githubusercontent.com/sovrin-foundation/sovrin/stable/sovrin/pool_transactions_builder_genesis + # network_monitor_seed: INSERT_REGISTERED_NETWORK_MONITOR_SEED_HERE + # - name: Sovrin Staging Net + # short_name: ssn + # genesis_url: https://raw.githubusercontent.com/sovrin-foundation/sovrin/stable/sovrin/pool_transactions_sandbox_genesis + # network_monitor_seed: INSERT_REGISTERED_NETWORK_MONITOR_SEED_HERE + # - name: Sovrin Main Net + # short_name: smn + # genesis_url: https://raw.githubusercontent.com/sovrin-foundation/sovrin/stable/sovrin/pool_transactions_live_genesis + # network_monitor_seed: INSERT_REGISTERED_NETWORK_MONITOR_SEED_HERE + diff --git a/charts/extra_vars.yaml b/charts/extra_vars.yaml new file mode 100644 index 0000000..718e024 --- /dev/null +++ b/charts/extra_vars.yaml @@ -0,0 +1,43 @@ +--- +namespace: "inc-indy-node-monitor" +ingress: + active: false + domain: "dev.identite.pes.qc" + cert_manager: + active: false + issuer: letsencrypt-staging + endpoints: + grafana: "grafana" + influxdb: "" + prometheus: "" + alertmanager: "" + indy_node_monitor: "" + +route: + active: true + domain: "dev.identite.pes.qc" + endpoints: + grafana: "grafana" + influxdb: "" + prometheus: "" + alertmanager: "" + indy_node_monitor: "" + +# Here's an example for inputs, replace with the networks you want to monitor. +inputs: + - name: QC-Net-beta + short_name: qcb + genesisUrl: https://raw.githubusercontent.com/MCN-ING/candy-registre/main/env/beta/pool_transactions_genesis + network_monitor_seed: MBkoqteRjceo4rxaBkqCKoc3MGpERKZs + - name: CANdy Dev Network (CANdy-dev) + short_name: cdn + genesisUrl: https://raw.githubusercontent.com/ICCS-ISAC/dtrust-reconu/main/CANdy/dev/pool_transactions_genesis + network_monitor_seed: 01234567890123456789012345678901 + - name: CANdy Test Network (CANdy-test) + short_name: ctn + genesisUrl: https://raw.githubusercontent.com/ICCS-ISAC/dtrust-reconu/main/CANdy/test/pool_transactions_genesis + network_monitor_seed: aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpP + - name: CANdy Production Network (CANdy-prod) + short_name: cpn + genesisUrl: https://raw.githubusercontent.com/ICCS-ISAC/dtrust-reconu/main/CANdy/prod/pool_transactions_genesis + network_monitor_seed: diff --git a/charts/templates/NOTES.txt b/charts/templates/NOTES.txt new file mode 100644 index 0000000..10e511a --- /dev/null +++ b/charts/templates/NOTES.txt @@ -0,0 +1,8 @@ +********************************************************* +The deployment has completed successfully! + +To retrieve the Grafana generated password, run the following command: + +kubectl get secret credentials -n inc-indy-node-monitor -o jsonpath="{.data.GF_SECURITY_ADMIN_PASSWORD}" | base64 --decode; echo + +********************************************************* \ No newline at end of file diff --git a/charts/templates/alertmanager/configmap.yaml b/charts/templates/alertmanager/configmap.yaml new file mode 100644 index 0000000..a81732f --- /dev/null +++ b/charts/templates/alertmanager/configmap.yaml @@ -0,0 +1,13 @@ +{{- if and (eq .Values.alertmanager.enable true) (.Values.alertmanager.port) }} +--- +{{- with .Values.alertmanager }} +apiVersion: v1 +kind: ConfigMap +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}-configmap" +data: +{{ ($.Files.Glob "config/alertmanager/config.yml").AsConfig | indent 2 }} + +{{- end }} +{{- end }} diff --git a/charts/templates/alertmanager/deployment.yaml b/charts/templates/alertmanager/deployment.yaml new file mode 100644 index 0000000..9f7ea69 --- /dev/null +++ b/charts/templates/alertmanager/deployment.yaml @@ -0,0 +1,51 @@ +{{- if and (eq .Values.alertmanager.enable true) (.Values.alertmanager.port) }} +--- +{{- with .Values.alertmanager }} +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }} + labels: + app: {{ .name }} +spec: + replicas: 1 + selector: + matchLabels: + app: {{ .name }} + template: + metadata: + labels: + app: {{ .name }} + spec: + containers: + - name: {{ .name }} + image: "{{ $.Values.ecr.registry }}/{{ .repository }}:{{ .tag }}" + resources: + requests: + memory: {{ .requests_mem }} + cpu: {{ .requests_cpu }} + limits: + memory: {{ .limits_mem }} + cpu: {{ .limits_cpu }} + ports: + - containerPort: {{ .port }} + command: + - "alertmanager" + - "--config.file=/etc/alertmanager/config.yml" + - "--storage.path=/alertmanager" + volumeMounts: + - mountPath: /etc/alertmanager/config.yml + name: "{{ .name }}-config" + subPath: config.yml + volumes: + - name: "{{ .name }}-config" + configMap: + name: "{{ .name }}-configmap" + items: + - key: config.yml + path: config.yml + imagePullSecrets: + - name: ecr-docker-secret +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/templates/alertmanager/ingress.yml b/charts/templates/alertmanager/ingress.yml new file mode 100644 index 0000000..1806060 --- /dev/null +++ b/charts/templates/alertmanager/ingress.yml @@ -0,0 +1,34 @@ +{{- if and (eq .Values.alertmanager.enable true) (eq .Values.ingress.active true) (.Values.ingress.endpoints.alertmanager) }} +--- +{{- with .Values.alertmanager }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }}-ingress + annotations: + kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/ssl-redirect: "true" + {{- if and (eq $.Values.ingress.cert_manager.active true) ($.Values.ingress.endpoints.alertmanager) }} + cert-manager.io/cluster-issuer: "{{ $.Values.ingress.cert_manager.issuer }}" + {{- end }} +spec: + rules: + - host: "{{ $.Values.ingress.endpoints.alertmanager }}.{{ $.Values.ingress.domain }}" + http: + paths: + - backend: + service: + name: "{{ .name }}" + port: + number: {{ .port }} + path: / + pathType: ImplementationSpecific + {{- if and (eq $.Values.ingress.cert_manager.active true) ($.Values.ingress.endpoints.alertmanager) }} + tls: + - hosts: + - {{ $.Values.ingress.endpoints.alertmanager }}.{{ $.Values.ingress.domain }} + secretName: {{ $.Values.namespace }}-tls + {{- end }} +{{- end }} +{{- end }} diff --git a/charts/templates/alertmanager/service.yaml b/charts/templates/alertmanager/service.yaml new file mode 100644 index 0000000..4096ec9 --- /dev/null +++ b/charts/templates/alertmanager/service.yaml @@ -0,0 +1,17 @@ +{{- if and (eq .Values.alertmanager.enable true) (.Values.alertmanager.port) }} +--- +{{- with .Values.alertmanager }} +apiVersion: v1 +kind: Service +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}" +spec: + selector: + app: {{ .name }} + ports: + - protocol: TCP + port: {{ .port }} + targetPort: {{ .port }} +{{- end }} +{{- end }} diff --git a/charts/templates/grafana/configmap.yaml b/charts/templates/grafana/configmap.yaml new file mode 100644 index 0000000..7681b1e --- /dev/null +++ b/charts/templates/grafana/configmap.yaml @@ -0,0 +1,12 @@ +--- +{{- with .Values.grafana }} +apiVersion: v1 +kind: ConfigMap +metadata: + name: "{{ .name }}-configmap" +data: +{{ ($.Files.Glob "config/grafana/datasource.yml").AsConfig | indent 2 }} +{{ ($.Files.Glob "config/grafana/dashboard.yml").AsConfig | indent 2 }} +{{ ($.Files.Glob "config/grafana/dashboards/*.json").AsConfig | indent 2 }} +{{ ($.Files.Glob "config/grafana/alerting/*.yaml").AsConfig | indent 2 }} +{{- end }} diff --git a/charts/templates/grafana/deployment.yaml b/charts/templates/grafana/deployment.yaml new file mode 100644 index 0000000..ad43a86 --- /dev/null +++ b/charts/templates/grafana/deployment.yaml @@ -0,0 +1,106 @@ +--- +{{- with .Values.grafana }} +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }} + labels: + app: {{ .name }} +spec: + replicas: 1 + selector: + matchLabels: + app: {{ .name }} + template: + metadata: + labels: + app: {{ .name }} + spec: + containers: + - name: {{ .name }} + image: "{{ $.Values.ecr.registry }}/{{ .repository }}:{{ .tag }}" + resources: + requests: + memory: {{ .requests_mem }} + cpu: {{ .requests_cpu }} + limits: + memory: {{ .limits_mem }} + cpu: {{ .limits_cpu }} + ports: + - containerPort: {{ .port }} + env: + - name: GF_USERS_ALLOW_SIGN_UP + value: "false" + - name: GF_SECURITY_ADMIN_PASSWORD + valueFrom: + secretKeyRef: + name: credentials + key: GF_SECURITY_ADMIN_PASSWORD + - name: INFLUX_DB_FLUX_TOKEN + valueFrom: + secretKeyRef: + name: credentials + key: INFLUX_DB_FLUX_TOKEN + volumeMounts: + - name: "{{ .name }}-data" + mountPath: "/var/lib/grafana" + - name: "{{ .name }}-datasource" + mountPath: "/etc/grafana/provisioning/datasources/datasource.yml" + subPath: datasource.yml + - name: "{{ .name }}-dashboard" + mountPath: "/etc/grafana/provisioning/dashboards/dashboard.yml" + subPath: dashboard.yml + {{- range $path, $bytes := $.Files.Glob "config/grafana/dashboards/*.json" }} + {{- with $file := split "/" $path }} + - name: {{ $file._3 | replace ".json" "" | lower }}-dashboard + mountPath: "/etc/grafana/provisioning/dashboards/{{ $file._3 }}" + subPath: "{{ $file._3 }}" + {{- end }} + {{- end }} + {{- range $path, $bytes := $.Files.Glob "config/grafana/alerting/*.yaml" }} + {{- with $file := split "/" $path }} + - name: {{ $file._3 | replace ".yaml" "" | lower }}-alerting + mountPath: "/etc/grafana/provisioning/alerting/{{ $file._3 }}" + subPath: "{{ $file._3 }}" + {{- end }} + {{- end }} + volumes: + - name: "{{ .name }}-data" + persistentVolumeClaim: + claimName: "{{ .name }}-pvc" + - name: "{{ .name }}-datasource" + configMap: + name: "{{ .name }}-configmap" + items: + - key: datasource.yml + path: datasource.yml + - name: "{{ .name }}-dashboard" + configMap: + name: "{{ .name }}-configmap" + items: + - key: dashboard.yml + path: dashboard.yml + {{- range $path, $bytes := $.Files.Glob "config/grafana/dashboards/*.json" }} + {{- with $file := split "/" $path }} + - name: {{ $file._3 | replace ".json" "" | lower }}-dashboard + configMap: + name: "{{ $.Values.grafana.name }}-configmap" + items: + - key: "{{ $file._3 }}" + path: "{{ $file._3 }}" + {{- end }} + {{- end }} + {{- range $path, $bytes := $.Files.Glob "config/grafana/alerting/*.yaml" }} + {{- with $file := split "/" $path }} + - name: {{ $file._3 | replace ".yaml" "" | lower }}-alerting + configMap: + name: "{{ $.Values.grafana.name }}-configmap" + items: + - key: "{{ $file._3 }}" + path: "{{ $file._3 }}" + {{- end }} + {{- end }} + imagePullSecrets: + - name: ecr-docker-secret +{{- end }} diff --git a/charts/templates/grafana/ingress.yml b/charts/templates/grafana/ingress.yml new file mode 100644 index 0000000..1567fe0 --- /dev/null +++ b/charts/templates/grafana/ingress.yml @@ -0,0 +1,34 @@ +{{- if and (eq .Values.ingress.active true) (.Values.ingress.endpoints.grafana) }} +--- +{{- with .Values.grafana }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }}-ingress + annotations: + kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/ssl-redirect: "true" + {{- if and (eq $.Values.ingress.cert_manager.active true) ($.Values.ingress.endpoints.grafana) }} + cert-manager.io/cluster-issuer: "{{ $.Values.ingress.cert_manager.issuer }}" + {{- end }} +spec: + rules: + - host: "{{ $.Values.ingress.endpoints.grafana }}.{{ $.Values.ingress.domain }}" + http: + paths: + - backend: + service: + name: "{{ .name }}" + port: + number: {{ .port }} + path: / + pathType: ImplementationSpecific + {{- if and (eq $.Values.ingress.cert_manager.active true) ($.Values.ingress.endpoints.grafana) }} + tls: + - hosts: + - {{ $.Values.ingress.endpoints.grafana }}.{{ $.Values.ingress.domain }} + secretName: {{ $.Values.namespace }}-tls + {{- end }} +{{- end }} +{{- end }} diff --git a/charts/templates/grafana/pvc.yaml b/charts/templates/grafana/pvc.yaml new file mode 100644 index 0000000..2c464d2 --- /dev/null +++ b/charts/templates/grafana/pvc.yaml @@ -0,0 +1,14 @@ +--- +{{- with .Values.grafana }} +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}-pvc" +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: {{ .data_volume }} +{{- end }} diff --git a/charts/templates/grafana/route.yml b/charts/templates/grafana/route.yml new file mode 100644 index 0000000..d249d90 --- /dev/null +++ b/charts/templates/grafana/route.yml @@ -0,0 +1,19 @@ +{{- if and (eq .Values.route.active true) (.Values.route.endpoints.grafana) }} +--- +{{- with .Values.grafana }} +apiVersion: route.openshift.io/v1 +kind: Route +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }}-route +spec: + host: "{{ $.Values.route.endpoints.grafana }}.{{ $.Values.route.domain }}" + to: + kind: Service + name: {{ .name }} + port: + targetPort: {{ .port }} + tls: + termination: edge +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/templates/grafana/service.yaml b/charts/templates/grafana/service.yaml new file mode 100644 index 0000000..9887ec7 --- /dev/null +++ b/charts/templates/grafana/service.yaml @@ -0,0 +1,15 @@ +--- +{{- with .Values.grafana }} +apiVersion: v1 +kind: Service +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}" +spec: + selector: + app: {{ .name }} + ports: + - protocol: TCP + port: {{ .port }} + targetPort: {{ .port }} +{{- end }} diff --git a/charts/templates/indy_node_monitor/configmap.yaml b/charts/templates/indy_node_monitor/configmap.yaml new file mode 100644 index 0000000..95b18a5 --- /dev/null +++ b/charts/templates/indy_node_monitor/configmap.yaml @@ -0,0 +1,22 @@ +--- +{{- with .Values.indy_node_monitor }} +apiVersion: v1 +kind: ConfigMap +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}-configmap" +data: + networks.json: | + { + {{- range $.Values.inputs }} + "{{ .short_name }}": { + "name": "{{ .name }}", + "genesisUrl": "{{ .genesisUrl }}" + }, + {{- end }} + "sbn": { + "name": "Sovrin Builder Net", + "genesisUrl": "https://raw.githubusercontent.com/sovrin-foundation/sovrin/stable/sovrin/pool_transactions_builder_genesis" + } + } +{{- end }} diff --git a/charts/templates/indy_node_monitor/deployment.yaml b/charts/templates/indy_node_monitor/deployment.yaml new file mode 100644 index 0000000..eaaca93 --- /dev/null +++ b/charts/templates/indy_node_monitor/deployment.yaml @@ -0,0 +1,60 @@ +--- +{{- with .Values.indy_node_monitor }} +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }} + labels: + app: {{ .name }} +spec: + replicas: 1 + selector: + matchLabels: + app: {{ .name }} + template: + metadata: + labels: + app: {{ .name }} + spec: + containers: + - name: {{ .name }} + image: "{{ $.Values.ecr.registry }}/{{ .repository }}:{{ .tag }}" + imagePullPolicy: Always + resources: + requests: + memory: {{ .requests_mem }} + cpu: {{ .requests_cpu }} + limits: + memory: {{ .limits_mem }} + cpu: {{ .limits_cpu }} + ports: + - containerPort: {{ .port }} + command: + - "python" + - "main.py" + - "--web" + - "--verbose" + volumeMounts: + - name: "{{ .name }}-log" + mountPath: "{{ .home }}/log" + - name: "{{ .name }}-cache" + mountPath: "{{ .home }}/cache" + - name: "{{ .name }}-config" + mountPath: "{{ .home }}/networks.json" + subPath: networks.json + volumes: + - name: "{{ .name }}-log" + persistentVolumeClaim: + claimName: "{{ .name }}-pvc" + - name: "{{ .name }}-cache" + emptyDir: {} + - name: "{{ .name }}-config" + configMap: + name: "{{ .name }}-configmap" + items: + - key: networks.json + path: networks.json + imagePullSecrets: + - name: ecr-docker-secret +{{- end }} diff --git a/charts/templates/indy_node_monitor/ingress.yml b/charts/templates/indy_node_monitor/ingress.yml new file mode 100644 index 0000000..6e172d8 --- /dev/null +++ b/charts/templates/indy_node_monitor/ingress.yml @@ -0,0 +1,34 @@ +{{- if and (eq .Values.ingress.active true) (.Values.ingress.endpoints.indy_node_monitor) }} +--- +{{- with .Values.indy_node_monitor }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }}-ingress + annotations: + kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/ssl-redirect: "true" + {{- if and (eq $.Values.ingress.cert_manager.active true) ($.Values.ingress.endpoints.indy_node_monitor) }} + cert-manager.io/cluster-issuer: "{{ $.Values.ingress.cert_manager.issuer }}" + {{- end }} +spec: + rules: + - host: "{{ $.Values.ingress.endpoints.indy_node_monitor }}.{{ $.Values.ingress.domain }}" + http: + paths: + - backend: + service: + name: "{{ .name }}" + port: + number: {{ .port }} + path: / + pathType: ImplementationSpecific + {{- if and (eq $.Values.ingress.cert_manager.active true) ($.Values.ingress.endpoints.indy_node_monitor) }} + tls: + - hosts: + - {{ $.Values.ingress.endpoints.indy_node_monitor }}.{{ $.Values.ingress.domain }} + secretName: {{ $.Values.namespace }}-tls + {{- end }} +{{- end }} +{{- end }} diff --git a/charts/templates/indy_node_monitor/pvc.yaml b/charts/templates/indy_node_monitor/pvc.yaml new file mode 100644 index 0000000..f9a9b66 --- /dev/null +++ b/charts/templates/indy_node_monitor/pvc.yaml @@ -0,0 +1,14 @@ +--- +{{- with .Values.indy_node_monitor }} +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}-pvc" +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: {{ .data_volume }} +{{- end }} \ No newline at end of file diff --git a/charts/templates/indy_node_monitor/service.yaml b/charts/templates/indy_node_monitor/service.yaml new file mode 100644 index 0000000..75ca2c9 --- /dev/null +++ b/charts/templates/indy_node_monitor/service.yaml @@ -0,0 +1,16 @@ +--- +{{- with .Values.indy_node_monitor }} +apiVersion: v1 +kind: Service +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}" +spec: + selector: + app: {{ .name }} + ports: + - protocol: TCP + port: {{ .port }} + targetPort: {{ .port }} +{{- end }} +--- diff --git a/charts/templates/influxdb/configmap.yaml b/charts/templates/influxdb/configmap.yaml new file mode 100644 index 0000000..84b4c9e --- /dev/null +++ b/charts/templates/influxdb/configmap.yaml @@ -0,0 +1,11 @@ +--- +{{- with .Values.influxdb }} +apiVersion: v1 +kind: ConfigMap +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}-configmap" +data: +{{ ($.Files.Glob "config/influxdb/influxdb.conf").AsConfig | indent 2 }} + +{{- end }} diff --git a/charts/templates/influxdb/deployment.yaml b/charts/templates/influxdb/deployment.yaml new file mode 100644 index 0000000..dbaee9c --- /dev/null +++ b/charts/templates/influxdb/deployment.yaml @@ -0,0 +1,59 @@ +--- +{{- with .Values.influxdb }} +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }} + labels: + app: {{ .name }} +spec: + replicas: 1 + selector: + matchLabels: + app: {{ .name }} + template: + metadata: + labels: + app: {{ .name }} + spec: + containers: + - name: {{ .name }} + image: "{{ $.Values.ecr.registry }}/{{ .repository }}:{{ .tag }}" + imagePullPolicy: Always + resources: + requests: + memory: {{ .requests_mem }} + cpu: {{ .requests_cpu }} + limits: + memory: {{ .limits_mem }} + cpu: {{ .limits_cpu }} + ports: + - containerPort: {{ .port_8082 }} + - containerPort: {{ .port_api }} + - containerPort: {{ .port_udp }} + env: + - name: INFLUX_TOKEN + valueFrom: + secretKeyRef: + name: credentials + key: INFLUX_TOKEN + volumeMounts: + - name: "{{ .name }}-data" + mountPath: "/var/lib/influxdb" + - name: "{{ .name }}-config" + mountPath: "/etc/influxdb/influxdb.conf" + subPath: influxdb.conf + volumes: + - name: "{{ .name }}-data" + persistentVolumeClaim: + claimName: "{{ .name }}-pvc" + - name: "{{ .name }}-config" + configMap: + name: "{{ .name }}-configmap" + items: + - key: influxdb.conf + path: influxdb.conf + imagePullSecrets: + - name: ecr-docker-secret +{{- end }} diff --git a/charts/templates/influxdb/ingress.yml b/charts/templates/influxdb/ingress.yml new file mode 100644 index 0000000..2324b97 --- /dev/null +++ b/charts/templates/influxdb/ingress.yml @@ -0,0 +1,34 @@ +{{- if and (eq .Values.ingress.active true) (.Values.ingress.endpoints.influxdb) }} +--- +{{- with .Values.influxdb }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }}-ingress + annotations: + kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/ssl-redirect: "true" + {{- if and (eq $.Values.ingress.cert_manager.active true) ($.Values.ingress.endpoints.influxdb) }} + cert-manager.io/cluster-issuer: "{{ $.Values.ingress.cert_manager.issuer }}" + {{- end }} +spec: + rules: + - host: "{{ $.Values.ingress.endpoints.influxdb }}.{{ $.Values.ingress.domain }}" + http: + paths: + - backend: + service: + name: "{{ .name }}" + port: + number: {{ .port_api }} + path: / + pathType: ImplementationSpecific + {{- if and (eq $.Values.ingress.cert_manager.active true) ($.Values.ingress.endpoints.influxdb) }} + tls: + - hosts: + - {{ $.Values.ingress.endpoints.influxdb }}.{{ $.Values.ingress.domain }} + secretName: {{ $.Values.namespace }}-tls + {{- end }} +{{- end }} +{{- end }} diff --git a/charts/templates/influxdb/pvc.yaml b/charts/templates/influxdb/pvc.yaml new file mode 100644 index 0000000..de88016 --- /dev/null +++ b/charts/templates/influxdb/pvc.yaml @@ -0,0 +1,14 @@ +--- +{{- with .Values.influxdb }} +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}-pvc" +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: {{ .data_volume }} +{{- end }} diff --git a/charts/templates/influxdb/service.yaml b/charts/templates/influxdb/service.yaml new file mode 100644 index 0000000..3eac20e --- /dev/null +++ b/charts/templates/influxdb/service.yaml @@ -0,0 +1,24 @@ +--- +{{- with .Values.influxdb }} +apiVersion: v1 +kind: Service +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}" +spec: + selector: + app: {{ .name }} + ports: + - name: "8082" + protocol: TCP + port: {{ .port_8082 }} + targetPort: {{ .port_8082 }} + - name: api + protocol: TCP + port: {{ .port_api }} + targetPort: {{ .port_api }} + - name: udp + protocol: UDP + port: {{ .port_udp }} + targetPort: {{ .port_udp }} +{{- end }} diff --git a/charts/templates/prometheus/configmap.yaml b/charts/templates/prometheus/configmap.yaml new file mode 100644 index 0000000..2097336 --- /dev/null +++ b/charts/templates/prometheus/configmap.yaml @@ -0,0 +1,14 @@ +{{- if and (eq .Values.prometheus.enable true) (.Values.prometheus.port) }} +--- +{{- with .Values.prometheus }} +apiVersion: v1 +kind: ConfigMap +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}-configmap" +data: +{{ ($.Files.Glob "config/prometheus/alert.rules").AsConfig | indent 2 }} +{{ ($.Files.Glob "config/prometheus/prometheus.yml").AsConfig | indent 2 }} + +{{- end }} +{{- end }} diff --git a/charts/templates/prometheus/deployment.yaml b/charts/templates/prometheus/deployment.yaml new file mode 100644 index 0000000..2d6de75 --- /dev/null +++ b/charts/templates/prometheus/deployment.yaml @@ -0,0 +1,67 @@ +{{- if and (eq .Values.prometheus.enable true) (.Values.prometheus.port) }} +--- +{{- with .Values.prometheus }} +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }} + labels: + app: {{ .name }} +spec: + replicas: 1 + selector: + matchLabels: + app: {{ .name }} + template: + metadata: + labels: + app: {{ .name }} + spec: + containers: + - name: {{ .name }} + image: "{{ $.Values.ecr.registry }}/{{ .repository }}:{{ .tag }}" + resources: + requests: + memory: {{ .requests_mem }} + cpu: {{ .requests_cpu }} + limits: + memory: {{ .limits_mem }} + cpu: {{ .limits_cpu }} + ports: + - containerPort: {{ .port }} + command: + - "prometheus" + - "--config.file=/etc/prometheus/prometheus.yml" + - "--storage.tsdb.path=/prometheus" + - "--web.console.libraries=/usr/share/prometheus/console_libraries" + - "--web.console.templates=/usr/share/prometheus/consoles" + volumeMounts: + - name: "{{ .name }}-data" + mountPath: "/prometheus" + - name: "{{ .name }}-config" + mountPath: "/etc/prometheus/prometheus.yml" + subPath: prometheus.yml + - name: "{{ .name }}-alert" + mountPath: "/etc/prometheus/alert.rules" + subPath: alert.rules + volumes: + - name: "{{ .name }}-data" + persistentVolumeClaim: + claimName: "{{ .name }}-pvc" + - name: "{{ .name }}-config" + configMap: + name: "{{ .name }}-configmap" + items: + - key: prometheus.yml + path: prometheus.yml + - name: "{{ .name }}-alert" + configMap: + name: "{{ .name }}-configmap" + items: + - key: alert.rules + path: alert.rules + imagePullSecrets: + - name: ecr-docker-secret +{{- end }} +{{- end }} diff --git a/charts/templates/prometheus/ingress.yml b/charts/templates/prometheus/ingress.yml new file mode 100644 index 0000000..6b3691a --- /dev/null +++ b/charts/templates/prometheus/ingress.yml @@ -0,0 +1,34 @@ +{{- if and (eq .Values.prometheus.enable true) (eq .Values.ingress.active true) (.Values.ingress.endpoints.prometheus) }} +--- +{{- with .Values.prometheus }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }}-ingress + annotations: + kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/ssl-redirect: "true" + {{- if and (eq $.Values.ingress.cert_manager.active true) ($.Values.ingress.endpoints.prometheus) }} + cert-manager.io/cluster-issuer: "{{ $.Values.ingress.cert_manager.issuer }}" + {{- end }} +spec: + rules: + - host: "{{ $.Values.ingress.endpoints.prometheus }}.{{ $.Values.ingress.domain }}" + http: + paths: + - backend: + service: + name: "{{ .name }}" + port: + number: {{ .port }} + path: / + pathType: ImplementationSpecific + {{- if and (eq $.Values.ingress.cert_manager.active true) ($.Values.ingress.endpoints.prometheus) }} + tls: + - hosts: + - {{ $.Values.ingress.endpoints.prometheus }}.{{ $.Values.ingress.domain }} + secretName: {{ $.Values.namespace }}-tls + {{- end }} +{{- end }} +{{- end }} diff --git a/charts/templates/prometheus/pvc.yaml b/charts/templates/prometheus/pvc.yaml new file mode 100644 index 0000000..d2ea517 --- /dev/null +++ b/charts/templates/prometheus/pvc.yaml @@ -0,0 +1,16 @@ +{{- if and (eq .Values.prometheus.enable true) (.Values.prometheus.port) }} +--- +{{- with .Values.prometheus }} +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}-pvc" +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: {{ .data_volume }} +{{- end }} +{{- end }} diff --git a/charts/templates/prometheus/service.yaml b/charts/templates/prometheus/service.yaml new file mode 100644 index 0000000..b967cf6 --- /dev/null +++ b/charts/templates/prometheus/service.yaml @@ -0,0 +1,17 @@ +{{- if and (eq .Values.prometheus.enable true) (.Values.prometheus.port) }} +--- +{{- with .Values.prometheus }} +apiVersion: v1 +kind: Service +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}" +spec: + selector: + app: {{ .name }} + ports: + - protocol: TCP + port: {{ .port }} + targetPort: {{ .port }} +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/templates/secret.yaml b/charts/templates/secret.yaml new file mode 100644 index 0000000..5b321b1 --- /dev/null +++ b/charts/templates/secret.yaml @@ -0,0 +1,46 @@ +--- +apiVersion: v1 +kind: Secret +metadata: + namespace: {{ $.Values.namespace }} + name: credentials +type: Opaque +stringData: + GF_SECURITY_ADMIN_PASSWORD: + {{- $existingSecret := lookup "v1" "Secret" $.Values.namespace "credentials" -}} + {{- if not (and $existingSecret (hasKey $existingSecret.data "GF_SECURITY_ADMIN_PASSWORD")) }} + {{ randAlphaNum 48 | b64enc }} + {{- end }} + + INFLUX_DB_FLUX_TOKEN: + {{- if not (and $existingSecret (hasKey $existingSecret.data "INFLUX_DB_FLUX_TOKEN")) }} + {{ randAlphaNum 48 | b64enc }} + {{- end }} + + INFLUX_TOKEN: + {{- if not (and $existingSecret (hasKey $existingSecret.data "INFLUX_TOKEN")) }} + {{ randAlphaNum 48 | b64enc }} + {{- end }} + +--- +apiVersion: v1 +kind: Secret +metadata: + namespace: {{ $.Values.namespace }} + name: seeds +type: Opaque +stringData: +{{- range $.Values.inputs }} +{{ .short_name | upper | indent 2 }}_SEED: {{ .network_monitor_seed | quote }} +{{- end }} +--- +apiVersion: ecr.mobb.redhat.com/v1alpha1 +kind: Secret +metadata: + name: {{ .Values.ecr.generatedSecretName }} + namespace: {{ $.Values.namespace }} +spec: + ecr_registry: {{ .Values.ecr.registry }} + frequency: {{ .Values.ecr.frequency }} + generated_secret_name: {{ .Values.ecr.generatedSecretName }} + region: {{ .Values.ecr.region }} diff --git a/charts/templates/telegraf/configmap.yaml b/charts/templates/telegraf/configmap.yaml new file mode 100644 index 0000000..27365d2 --- /dev/null +++ b/charts/templates/telegraf/configmap.yaml @@ -0,0 +1,105 @@ +--- +{{- with .Values.telegraf }} +apiVersion: v1 +kind: ConfigMap +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}-configmap" +data: + telegraf.conf: |- + [agent] + interval = "1m" + round_interval = true + metric_batch_size = 1000 + metric_buffer_limit = 10000 + collection_jitter = "0s" + flush_interval = "5s" + flush_jitter = "0s" + precision = "" + debug = false + quiet = false + logfile = "" + hostname = "$HOSTNAME" + omit_hostname = false + + [[outputs.influxdb]] + urls = ["http://influxdb:8086"] + database = "telegraf" + username = "" + password = "" + retention_policy = "" + write_consistency = "any" + timeout = "5s" + + {{- if .aws_cloudwatch_enable }} + + [[outputs.cloudwatch]] + region = "{{ .aws_cloudwatch_region }}" + namespace = "{{ .aws_cloudwatch_namespace }}" + {{- end }} + + {{- if $.Values.prometheus.enable }} + + [[outputs.prometheus_client]] + listen = ":9273" + metric_version = 2 + {{- end }} + + {{- range $.Values.inputs }} + + [[inputs.http]] + urls = [ + "http://indy-node-monitor:8080/networks/{{ .short_name }}" + ] + name_override = "node" + method = "GET" + headers = {"seed" = "${{ .short_name | upper }}_SEED"} + timeout = "2m" + success_status_codes = [200] + data_format = "json" + json_strict = true + json_query = "" + tag_keys = [ + "name", + "network" + ] + json_string_fields = [ + "client-address", + "node-address", + "status_software_sovrin", + "status_software_indy-node", + "response_result_data_Node_info_Node_ip", + "response_result_data_Node_info_Node_port", + "response_result_data_Node_info_Client_ip", + "response_result_data_Node_info_Client_port", + "response_result_data_Node_info_Node_protocol", + "status_ok", + "response_result_data_Node_info_Mode", + "response_result_data_Node_info_BLS_key", + "response_result_data_Hardware_HDD_used_by_node", + "response_result_data_Pool_info_Read_only", + "response_result_data_Pool_info_Suspicious_nodes", + "response_result_data_Pool_info_Quorums", + "response_result_data_Software_OS_version", + "response_result_data_Node_info_verkey", + "response_result_data_Node_info_Catchup_status_Ledger_statuses", + "response_result_data_Node_info_Catchup_status_Waiting_consistency_proof_msgs", + "response_result_data_Node_info_Catchup_status_Last_txn_3PC_keys", + "response_result_data_Node_info_Committed_ledger_root_hashes", + "response_result_data_Node_info_Committed_state_root_hashes", + "response_result_data_Node_info_Uncommitted_state_root_hashes", + "response_result_data_Node_info_did", + "response_result_data_Extractions_indy-node-status", + "response_result_data_Extractions_node-control-status", + "response_result_data_Extractions_upgrade_log", + "response_result_data_Extractions_journalctl_exceptions", + "response_result_data_Pool_info_Reachable_nodes", + "response_result_data_Pool_info_Unreachable_nodes", + "response_result_data_Software_Installed_packages", + "response_result_data_Software_Indy_packages" + ] + json_time_key = "status_timestamp" + json_time_format = "unix" + json_timezone = "UTC" + {{- end }} +{{- end }} diff --git a/charts/templates/telegraf/deployment.yaml b/charts/templates/telegraf/deployment.yaml new file mode 100644 index 0000000..57ba9a3 --- /dev/null +++ b/charts/templates/telegraf/deployment.yaml @@ -0,0 +1,66 @@ +--- +{{- with .Values.telegraf }} +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: {{ $.Values.namespace }} + name: {{ .name }} + labels: + app: {{ .name }} +spec: + replicas: 1 + selector: + matchLabels: + app: {{ .name }} + template: + metadata: + labels: + app: {{ .name }} + spec: + {{- if .aws_cloudwatch_enable }} + serviceAccountName: "{{ .name }}-sa" + {{- else }} + serviceAccountName: "default" + {{- end }} + containers: + - name: {{ .name }} + image: "{{ $.Values.ecr.registry }}/{{ .repository }}:{{ .tag }}" + imagePullPolicy: Always + resources: + requests: + memory: {{ .requests_mem }} + cpu: {{ .requests_cpu }} + limits: + memory: {{ .limits_mem }} + cpu: {{ .limits_cpu }} + ports: + - containerPort: {{ .port }} + env: + - name: INFLUX_TOKEN + valueFrom: + secretKeyRef: + name: credentials + key: INFLUX_TOKEN + {{- range $.Values.inputs }} + - name: "{{ .short_name | upper }}_SEED" + valueFrom: + secretKeyRef: + name: seeds + key: "{{ .short_name | upper }}_SEED" + {{- end }} + - name: HOSTNAME + value: {{ .name }} + volumeMounts: + - name: "{{ .name }}-config" + mountPath: /etc/telegraf/telegraf.conf + subPath: telegraf.conf + volumes: + - name: "{{ .name }}-config" + configMap: + name: "{{ .name }}-configmap" + items: + - key: telegraf.conf + path: telegraf.conf + imagePullSecrets: + - name: ecr-docker-secret +{{- end }} diff --git a/charts/templates/telegraf/service-account.yaml b/charts/templates/telegraf/service-account.yaml new file mode 100644 index 0000000..e39f6b0 --- /dev/null +++ b/charts/templates/telegraf/service-account.yaml @@ -0,0 +1,12 @@ +{{- if .Values.telegraf.aws_cloudwatch_enable }} +--- +{{- with .Values.telegraf }} +apiVersion: v1 +kind: ServiceAccount +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}-sa" + annotations: + eks.amazonaws.com/role-arn: "arn:aws:iam::924044585534:role/sqin-rosa-dev-inc-indy-node-monitor-telegraf-sa" +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/templates/telegraf/service.yaml b/charts/templates/telegraf/service.yaml new file mode 100644 index 0000000..72adad7 --- /dev/null +++ b/charts/templates/telegraf/service.yaml @@ -0,0 +1,15 @@ +--- +{{- with .Values.telegraf }} +apiVersion: v1 +kind: Service +metadata: + namespace: {{ $.Values.namespace }} + name: "{{ .name }}" +spec: + selector: + app: {{ .name }} + ports: + - protocol: TCP + port: {{ .port }} + targetPort: {{ .port }} +{{- end }} diff --git a/charts/values.yaml b/charts/values.yaml new file mode 100644 index 0000000..399b047 --- /dev/null +++ b/charts/values.yaml @@ -0,0 +1,96 @@ +--- +namespace: inc-indy-node-monitor + +# Ressources global au namespace +resourceQuota: + cpuRequests: "4" + memoryRequests: "8Gi" + cpuLimits: "8" + memoryLimits: "16Gi" + pods: "10" + services: "10" + pvc: "10" + +ingress: + active: false + +route: + active: false + +grafana: + name: grafana + port: 3000 + repository: /grafana + tag: "11.2.0" + requests_mem: "1Gi" + requests_cpu: "500m" + limits_mem: "2Gi" + limits_cpu: "1" + data_volume: 1Gi + +indy_node_monitor: + name: indy-node-monitor + port: 8080 + home: /fetch-validator-status + repository: /indy-node-monitor + tag: "0.4.3.2" + requests_mem: "48Mi" + requests_cpu: "250m" + limits_mem: "256Mi" + limits_cpu: "1" + data_volume: 1Gi + +influxdb: + name: influxdb + port_8082: 8082 + port_api: 8086 + port_udp: 8089 + repository: /influxdb + tag: "1.8" + requests_mem: "1Gi" + requests_cpu: "500m" + limits_mem: "2Gi" + limits_cpu: "1" + data_volume: 20Gi + +telegraf: + name: telegraf + port: 9273 + repository: /telegraf + tag: 1.32-alpine + requests_mem: "128Mi" + requests_cpu: "100m" + limits_mem: "256Mi" + limits_cpu: "250m" + aws_cloudwatch_enable: false + aws_cloudwatch_region: + aws_cloudwatch_namespace: + +alertmanager: + name: alertmanager + enable: false + port: 9093 + repository: /alertmanager + tag: v0.24.0 + requests_mem: "128Mi" + requests_cpu: "100m" + limits_mem: "256Mi" + limits_cpu: "250m" + +prometheus: + name: prometheus + enable: false + port: 9090 + repository: /prometheus + tag: v2.34.0 + requests_mem: "1Gi" + requests_cpu: "500m" + limits_mem: "2Gi" + limits_cpu: "1" + data_volume: 20Gi + +ecr: + registry: "" + frequency: "10h" + generatedSecretName: "ecr-docker-secret" + region: "ca-central-1" diff --git a/grafana/provisioning/alerting/indy-monitor.yaml b/grafana/provisioning/alerting/indy-monitor.yaml new file mode 100644 index 0000000..9bbb41e --- /dev/null +++ b/grafana/provisioning/alerting/indy-monitor.yaml @@ -0,0 +1,297 @@ + apiVersion: 1 + groups: + - orgId: 1 + name: indy-1m + folder: 'Indy monitoring' + interval: 1m + rules: + - uid: edydj68szkyrkc + title: Node Connectivity + condition: E + data: + - refId: A + relativeTimeRange: + from: 300 + to: 0 + datasourceUid: P951FEA4DE68E13C5 + model: + adhocFilters: [] + alias: Write Failure + datasource: + type: influxdb + uid: P951FEA4DE68E13C5 + groupBy: + - params: + - $__interval + type: time + - params: + - "null" + type: fill + intervalMs: 1000 + limit: "" + maxDataPoints: 43200 + measurement: "" + orderByTime: ASC + policy: default + query: SELECT max("response_result_data_Pool_info_Total_nodes_count") - last("response_result_data_Pool_info_f_value") FROM "node" WHERE ("network" =~ /^Sovrin Builder Net$/) AND $timeFilter GROUP BY time(1s) fill(previous) + rawQuery: true + rawSql: "" + refId: A + resultFormat: Write Failure + select: + - - params: + - value + type: field + - params: [] + type: mean + slimit: "" + tags: [] + tz: "" + - refId: B + relativeTimeRange: + from: 300 + to: 0 + datasourceUid: P951FEA4DE68E13C5 + model: + adhocFilters: [] + alias: Reachable + datasource: + type: influxdb + uid: P951FEA4DE68E13C5 + groupBy: + - params: + - $__interval + type: time + - params: + - "null" + type: fill + intervalMs: 1000 + limit: "" + maxDataPoints: 43200 + measurement: "" + orderByTime: ASC + policy: default + query: SELECT min("response_result_data_Pool_info_Reachable_nodes_count") FROM "node" WHERE ("network" =~ /^Sovrin Builder Net$/ ) AND $timeFilter GROUP BY time(1s) fill(previous) + rawQuery: true + rawSql: "" + refId: B + resultFormat: Write Failure + select: + - - params: + - value + type: field + - params: [] + type: mean + slimit: "" + tags: [] + tz: "" + - refId: C + relativeTimeRange: + from: 300 + to: 0 + datasourceUid: P951FEA4DE68E13C5 + model: + adhocFilters: [] + alias: Warning Trigger + datasource: + type: influxdb + uid: P951FEA4DE68E13C5 + groupBy: + - params: + - $__interval + type: time + - params: + - "null" + type: fill + intervalMs: 1000 + limit: "" + maxDataPoints: 43200 + measurement: "" + orderByTime: ASC + policy: default + query: SELECT min("response_result_data_Pool_info_Reachable_nodes_count") - max("response_result_data_Pool_info_f_value") - last("response_result_data_Pool_info_f_value") FROM "node" WHERE ("network" =~ /^Sovrin Builder Net$/) AND $timeFilter GROUP BY time(1s) fill(previous) + rawQuery: true + rawSql: "" + refId: C + resultFormat: Write Failure + select: + - - params: + - value + type: field + - params: [] + type: mean + slimit: "" + tags: [] + tz: "" + - refId: D + datasourceUid: __expr__ + model: + conditions: + - evaluator: + params: [] + type: gt + operator: + type: and + query: + params: + - D + reducer: + params: [] + type: last + type: query + datasource: + type: __expr__ + uid: __expr__ + expression: C + intervalMs: 1000 + maxDataPoints: 43200 + reducer: last + refId: D + type: reduce + - refId: E + datasourceUid: __expr__ + model: + conditions: + - evaluator: + params: + - 1 + type: lt + operator: + type: and + query: + params: + - E + reducer: + params: [] + type: last + type: query + datasource: + type: __expr__ + uid: __expr__ + expression: D + intervalMs: 1000 + maxDataPoints: 43200 + refId: E + type: threshold + dashboardUid: pPcqoSfn3 + panelId: 2 + noDataState: NoData + execErrState: Error + for: 1m + annotations: + __dashboardUid__: pPcqoSfn3 + __panelId__: "2" + summary: We have a Connectivity issue + labels: {} + isPaused: false + notification_settings: + receiver: grafana-default-email + - uid: ddydm47flc3y8d + title: Error Warning + condition: C + data: + - refId: A + relativeTimeRange: + from: 600 + to: 0 + datasourceUid: P951FEA4DE68E13C5 + model: + alias: Status Error + datasource: + type: influxdb + uid: P951FEA4DE68E13C5 + groupBy: + - params: + - $__interval + type: time + - params: + - "null" + type: fill + hide: false + intervalMs: 1000 + maxDataPoints: 43200 + measurement: "" + orderByTime: ASC + policy: default + query: SELECT max("status_errors") FROM "node" WHERE ("network" =~ /^Sovrin Builder Net$/) AND $timeFilter GROUP BY time(1s) fill(previous) + rawQuery: true + rawSql: "" + refId: A + resultFormat: time_series + select: + - - params: + - value + type: field + - params: [] + type: mean + slimit: "" + tags: [] + - refId: B + relativeTimeRange: + from: 600 + to: 0 + datasourceUid: __expr__ + model: + conditions: + - evaluator: + params: [] + type: gt + operator: + type: and + query: + params: + - B + reducer: + params: [] + type: last + type: query + datasource: + type: __expr__ + uid: __expr__ + expression: A + intervalMs: 1000 + maxDataPoints: 43200 + reducer: last + refId: B + type: reduce + - refId: C + relativeTimeRange: + from: 600 + to: 0 + datasourceUid: __expr__ + model: + conditions: + - evaluator: + params: + - 0 + type: gt + operator: + type: and + query: + params: + - C + reducer: + params: [] + type: last + type: query + datasource: + type: __expr__ + uid: __expr__ + expression: B + intervalMs: 1000 + maxDataPoints: 43200 + refId: C + type: threshold + dashboardUid: pPcqoSfn3 + panelId: 4 + noDataState: NoData + execErrState: Error + for: 1m + annotations: + __dashboardUid__: pPcqoSfn3 + __panelId__: "4" + summary: We have a status error + labels: {} + isPaused: false + notification_settings: + receiver: grafana-default-email diff --git a/grafana/provisioning/dashboards/AlertsDashboard.json b/grafana/provisioning/dashboards/AlertsDashboard.json index fe5e6bb..e0ab5a4 100644 --- a/grafana/provisioning/dashboards/AlertsDashboard.json +++ b/grafana/provisioning/dashboards/AlertsDashboard.json @@ -29,8 +29,9 @@ "panels": [ { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "fieldConfig": { "defaults": { @@ -38,11 +39,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", @@ -51,6 +54,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -87,7 +91,7 @@ "overrides": [] }, "gridPos": { - "h": 9, + "h": 8, "w": 12, "x": 0, "y": 0 @@ -107,43 +111,133 @@ }, "targets": [ { + "alias": "Write Failure", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "editorMode": "code", - "exemplar": true, - "expr": "max(node_response_result_data_Pool_info_Total_nodes_count{job=\"tick\", network=\"[[network]]\"} - node_response_result_data_Pool_info_f_value{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Write Failure", - "range": true, - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT max(\"response_result_data_Pool_info_Total_nodes_count\") - last(\"response_result_data_Pool_info_f_value\") FROM \"node\" WHERE (\"network\" =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(previous)", + "rawQuery": true, + "refId": "A", + "resultFormat": "Write Failure", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Reachable", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "editorMode": "code", - "exemplar": true, - "expr": "min(node_response_result_data_Pool_info_Reachable_nodes_count{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Reachable", - "range": true, - "refId": "B" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT min(\"response_result_data_Pool_info_Reachable_nodes_count\") FROM \"node\" WHERE (\"network\" =~ /^$network$/ ) AND $timeFilter GROUP BY time($__interval) fill(previous)", + "rawQuery": true, + "refId": "B", + "resultFormat": "Write Failure", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Warning Trigger", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "editorMode": "code", - "expr": "min(node_response_result_data_Pool_info_Reachable_nodes_count{job=\"tick\", network=\"[[network]]\"}) - max(node_response_result_data_Pool_info_Total_nodes_count{job=\"tick\", network=\"[[network]]\"} - node_response_result_data_Pool_info_f_value{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "legendFormat": "Warning Trigger", - "range": true, - "refId": "C" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT min(\"response_result_data_Pool_info_Reachable_nodes_count\") - max(\"response_result_data_Pool_info_Total_nodes_count\") - last(\"response_result_data_Pool_info_f_value\") FROM \"node\" WHERE (\"network\" =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(previous)", + "rawQuery": true, + "refId": "C", + "resultFormat": "Write Failure", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Node Connectivity", @@ -151,8 +245,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "fieldConfig": { "defaults": { @@ -160,11 +255,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", @@ -173,6 +270,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -228,18 +326,60 @@ "pluginVersion": "9.3.6", "targets": [ { + "alias": "{{tag_name}}", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "editorMode": "code", - "expr": "node_status_errors{job=\"tick\", network=\"[[network]]\"}", - "legendFormat": "{{label_name}}", - "range": true, - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "name::tag" + ], + "type": "tag" + }, + { + "params": [ + "previous" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "status_errors" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], - "title": "WIP", + "title": "Node errors", "transformations": [ { "id": "labelsToFields", @@ -255,22 +395,21 @@ "type": "timeseries" } ], - "schemaVersion": 37, - "style": "dark", + "schemaVersion": 39, "tags": [], "templating": { "list": [ { "current": { "selected": false, - "text": "Sovrin Builder Net", - "value": "Sovrin Builder Net" + "text": "QC-Net-beta", + "value": "QC-Net-beta" }, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "definition": "label_values(network)", + "definition": "SHOW TAG VALUES FROM \"node\" WITH KEY = \"network\" ", "description": "Select a Network.", "hide": 0, "includeAll": false, @@ -279,8 +418,8 @@ "name": "network", "options": [], "query": { - "query": "label_values(network)", - "refId": "StandardVariableQuery" + "query": "SHOW TAG VALUES FROM \"node\" WITH KEY = \"network\" ", + "refId": "InfluxVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -297,7 +436,7 @@ "timepicker": {}, "timezone": "", "title": "Alerts Dashboard", - "uid": "pPcqoSfnk", + "uid": "pPcqoSfn3", "version": 1, "weekStart": "" } \ No newline at end of file diff --git a/grafana/provisioning/dashboards/NetworkOverviewDashboard.json b/grafana/provisioning/dashboards/NetworkOverviewDashboard.json index bd5ff22..097c086 100644 --- a/grafana/provisioning/dashboards/NetworkOverviewDashboard.json +++ b/grafana/provisioning/dashboards/NetworkOverviewDashboard.json @@ -24,6 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 1, + "id": 10, "links": [], "liveNow": false, "panels": [ @@ -86,8 +87,9 @@ "y": 0 }, "id": 104, - "links": [], "options": { + "minVizHeight": 75, + "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ @@ -98,9 +100,10 @@ }, "showThresholdLabels": false, "showThresholdMarkers": true, + "sizing": "auto", "text": {} }, - "pluginVersion": "9.3.2", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -194,8 +197,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average Node Connectivity", "fieldConfig": { @@ -204,11 +208,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", @@ -217,6 +223,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -320,60 +327,206 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Reachable Nodes", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "round(avg(node_response_result_data_Pool_info_Reachable_nodes_count{job=\"tick\", network=\"[[network]]\"}))", - "hide": false, - "interval": "", - "legendFormat": "Reachable Nodes", - "refId": "B" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Pool_info_Total_nodes_count" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Total Nodes", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "min(node_response_result_data_Pool_info_Total_nodes_count{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Total Nodes", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Pool_info_Total_nodes_count" + ], + "type": "field" + }, + { + "params": [], + "type": "min" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Unreachable Nodes", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "max(node_response_result_data_Pool_info_Unreachable_nodes_count{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": true, - "interval": "", - "legendFormat": "Unreachable Nodes", - "refId": "C" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Pool_info_Unreachable_nodes_count" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Write Failure Threshhold", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "max(node_response_result_data_Pool_info_Total_nodes_count{job=\"tick\", network=\"[[network]]\"} - node_response_result_data_Pool_info_f_value{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Write Failure Threshhold", - "refId": "E" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT max(\"response_result_data_Pool_info_Total_nodes_count\") - max(\"response_result_data_Pool_info_f_value\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Pool_info_Total_nodes_count" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], - "transformations": [], "type": "timeseries" }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Status Errors", "fieldConfig": { @@ -382,11 +535,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -395,6 +550,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -452,24 +608,55 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Errors", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "max(node_status_errors{job=\"tick\", network=\"[[network]]\"})", - "instant": false, - "interval": "", - "legendFormat": "Errors", - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "autogen", + "query": " from(bucket: v.defaultBucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn:(r) =>\r\n r._measurement == \"node\" and \r\n r._field == \"node_status_errors\" and\r\n r.network == \"${network}\"\r\n )\r\n |> yield()", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "status_errors" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "type": "timeseries" }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Status Warnings", "fieldConfig": { @@ -478,11 +665,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -491,6 +680,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -548,17 +738,51 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Warnings", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "max(node_status_warnings{job=\"tick\", network=\"[[network]]\"})", - "format": "time_series", - "instant": false, - "interval": "", - "legendFormat": "Warnings", - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "status_warnings" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "type": "timeseries" @@ -566,8 +790,8 @@ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -582,8 +806,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -592,11 +817,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 50, "gradientMode": "opacity", @@ -605,6 +832,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -626,7 +854,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -685,28 +914,63 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txns per Second", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": false, - "expr": "avg(node_response_result_data_Node_info_Metrics_average_per_second_read_transactions{job=\"tick\", network=\"[[network]]\"})", - "format": "time_series", - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Txns per Second", - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_average-per-second_read-transactions\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_average-per-second_read-transactions" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Read Txns per Second", - "transformations": [], "type": "timeseries" }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -715,11 +979,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -728,6 +994,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -749,7 +1016,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -783,15 +1051,51 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txns per Second", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_average_per_second_write_transactions{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txns per Second", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_average-per-second_write-transactions" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Write Txns per Second", @@ -800,8 +1104,8 @@ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -816,8 +1120,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -826,11 +1131,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -839,6 +1146,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -860,7 +1168,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -892,15 +1201,51 @@ }, "targets": [ { + "alias": "Request timeouts", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Requests_timeouts_Ordering_phase_req_timeouts{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Request timeouts", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Requests_timeouts_Ordering_phase_req_timeouts" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Ordering Phase Req Timeouts", @@ -908,8 +1253,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -918,11 +1264,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -931,6 +1279,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -952,7 +1301,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -984,15 +1334,51 @@ }, "targets": [ { + "alias": "Request timeouts", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Requests_timeouts_Propagates_phase_req_timeouts{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Request timeouts", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Requests_timeouts_Propagates_phase_req_timeouts" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Propagates Phase Req Timeouts", @@ -1001,8 +1387,8 @@ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -1017,8 +1403,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -1027,11 +1414,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1040,6 +1429,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -1064,7 +1454,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1074,7 +1465,32 @@ }, "unit": "short" }, - "overrides": [] + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "Ledger 3" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] }, "gridPos": { "h": 6, @@ -1098,63 +1514,201 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Ledger 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Uncommitted_ledger_txns_0_Count{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Ledger 0", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Uncommitted_ledger_txns_0_Count" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Ledger 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Uncommitted_ledger_txns_1_Count{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Ledger 1", - "refId": "B" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Uncommitted_ledger_txns_1_Count\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Uncommitted_ledger_txns_1_Count" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Ledger 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Uncommitted_ledger_txns_2_Count{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Ledger 2", - "refId": "C" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Uncommitted_ledger_txns_1_Count\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Uncommitted_ledger_txns_2_Count" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Ledger 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Uncommitted_ledger_txns_3_Count{job=\"tick\", network=\"[[network]]\"})", - "hide": false, - "interval": "", - "legendFormat": "ledger 3", - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Uncommitted_ledger_txns_1001_Count{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Ledger 1001", - "refId": "E" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Uncommitted_ledger_txns_1_Count\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Uncommitted_ledger_txns_3_Count" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Uncommitted Ledger Txns", @@ -1162,8 +1716,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -1172,11 +1727,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1185,6 +1742,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1206,7 +1764,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1240,15 +1799,51 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txn Count", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_ledger{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_transaction-count_ledger" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Ledger Txn Count", @@ -1256,8 +1851,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -1266,11 +1862,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1279,6 +1877,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1300,7 +1899,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1334,15 +1934,51 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txn Count", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_audit{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_transaction-count_audit" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Audit Txn Count", @@ -1350,8 +1986,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -1360,11 +1997,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1373,6 +2012,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1394,7 +2034,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1428,15 +2069,51 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txn Count", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_config{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_transaction-count_config" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Config Txn Count", @@ -1444,8 +2121,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -1454,11 +2132,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1467,6 +2147,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1488,7 +2169,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1522,15 +2204,51 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txn Count", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_pool{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_transaction-count_pool" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Pool Txn Count", @@ -1538,8 +2256,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -1548,11 +2267,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1561,6 +2282,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1582,7 +2304,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1616,15 +2339,53 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txn Count", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_1001{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_transaction-count_1001\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_transaction-count_pool" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "1001 Txn Count", @@ -1632,8 +2393,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -1642,11 +2404,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1655,6 +2419,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1676,7 +2441,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1710,63 +2476,251 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Ledger 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_0{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Ledger 0", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Ledger 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_1{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Ledger 1", - "refId": "B" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Ledger 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_2{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Ledger 2", - "refId": "C" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Ledger 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_3{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Ledger 3", - "refId": "D" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Ledger 1001", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_1001{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Ledger 1001", - "refId": "E" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_1001\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Catchup Txn Count", @@ -1787,8 +2741,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -1797,11 +2752,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1810,6 +2767,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1831,7 +2789,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1865,15 +2824,53 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Throughput", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_master_throughput{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Throughput", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_master throughput\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_master throughput" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Master Throughput", @@ -1881,8 +2878,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -1891,11 +2889,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1904,6 +2904,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1925,7 +2926,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1982,17 +2984,51 @@ }, "targets": [ { + "alias": "Master throughput ratio", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_master_throughput_ratio{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Master throughput ratio", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_master throughput ratio" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Master Throughput Ratio", @@ -2000,8 +3036,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -2010,11 +3047,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2023,6 +3062,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2044,7 +3084,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2076,87 +3117,351 @@ }, "targets": [ { + "alias": "Throughput 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_0{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Throughput 0", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_throughput_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Throughput 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_1{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 1", - "refId": "B" - }, + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_throughput_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] + }, { + "alias": "Throughput 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_2{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 2", - "refId": "C" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_throughput_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Throughput 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_3{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 3", - "refId": "D" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_throughput_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Throughput 4", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_4{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 4", - "refId": "E" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_4\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_throughput_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Throughput 5", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_5{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 5", - "refId": "F" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_5\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_throughput_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Throughput 6", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_6{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 6", - "refId": "G" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_6\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_throughput_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Throughput", @@ -2164,8 +3469,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -2174,11 +3480,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2187,6 +3495,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2208,7 +3517,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2265,15 +3575,51 @@ }, "targets": [ { + "alias": "Avg backup throughup", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_avg_backup_throughput{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Avg backup throughup", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_avg backup throughput" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Avg Backup Throughput", @@ -2281,8 +3627,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -2291,11 +3638,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2304,6 +3653,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2325,7 +3675,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2357,15 +3708,53 @@ }, "targets": [ { + "alias": "Request Latency", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "max(node_response_result_data_Node_info_Metrics_max_master_request_latencies{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Request Latency", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_max master request latencies\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_max master request latencies" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Max Master Req. Latencies", @@ -2373,8 +3762,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -2383,11 +3773,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2396,6 +3788,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2417,7 +3810,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2451,75 +3845,351 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Avg Req. Latencies 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_0{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Avg Req. Latencies 0", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_client avg request latencies_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Avg Req. Latencies 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_1{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Avg Req. Latencies 1", - "refId": "B" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_client avg request latencies_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Avg Req. Latencies 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_2{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_client avg request latencies_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] + }, + { + "alias": "Avg Req. Latencies 3", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Avg Req. Latencies 2", - "refId": "C" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_client avg request latencies_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Avg Req. Latencies 4", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_3{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Avg Req. Latencies 3", - "refId": "D" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_4\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_client avg request latencies_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Avg Req. Latencies 5", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_4{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Avg Req. Latencies 4", - "refId": "E" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_5\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_client avg request latencies_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Avg Req. Latencies 6", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_5{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Avg Req. Latencies 5", - "refId": "F" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_6\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_client avg request latencies_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Client Avg Request Latencies", @@ -2527,8 +4197,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -2537,11 +4208,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2550,6 +4223,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2571,7 +4245,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2603,87 +4278,351 @@ }, "targets": [ { + "alias": "Request 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_0{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Request 0", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request durations_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Request 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_1{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 1", - "refId": "B" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request durations_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Request 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_2{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 2", - "refId": "C" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request durations_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Request 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_3{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 3", - "refId": "D" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request durations_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Request 4", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_4{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 4", - "refId": "E" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_4\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request durations_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Request 5", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_5{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 5", - "refId": "F" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_5\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request durations_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Request 6", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_6{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 6", - "refId": "G" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_6\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request durations_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Ordered Request Durations", @@ -2691,8 +4630,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -2701,11 +4641,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2714,6 +4656,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2735,7 +4678,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2767,99 +4711,399 @@ }, "targets": [ { + "alias": "Total Requests", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_total_requests{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Total Requests", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_total requests" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Count 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_0{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 0", - "refId": "B" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request counts_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Count 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_1{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 1", - "refId": "C" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request counts_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Count 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_2{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 2", - "refId": "D" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request counts_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Count 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_3{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 3", - "refId": "E" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request counts_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Count 4", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_4{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 4", - "refId": "F" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_4\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request counts_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Count 5", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_5{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 5", - "refId": "G" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_5\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request counts_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Count 6", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_node_response_result_data_Node_info_Metrics_ordered_request_counts_6{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 6", - "refId": "H" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_6\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "H", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_ordered request counts_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Request Counts", @@ -2867,8 +5111,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -2877,11 +5122,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2890,6 +5137,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2911,7 +5159,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2943,87 +5192,351 @@ }, "targets": [ { + "alias": "Instance 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_0{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Instance 0", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_instances started_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Instance 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_1{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 1", - "refId": "B" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_instances started_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Instance 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_2{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 2", - "refId": "C" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_instances started_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Instance 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_3{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 3", - "refId": "D" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_instances started_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Instance 4", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_4{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 4", - "refId": "E" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_4\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_instances started_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Instance 5", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_5{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 5", - "refId": "F" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_5\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_instances started_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] }, { + "alias": "Instance 6", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_6{job=\"tick\", network=\"[[network]]\"})", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 6", - "refId": "G" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_6\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_instances started_0" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Instances Started", @@ -3031,8 +5544,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -3041,11 +5555,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3054,6 +5570,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3075,7 +5592,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3109,15 +5627,51 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Replicas", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Count_of_replicas{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Replicas", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Count_of_replicas" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Replica Count", @@ -3125,8 +5679,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -3135,11 +5690,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3148,6 +5705,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3169,7 +5727,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3201,15 +5760,51 @@ }, "targets": [ { + "alias": "Lambda", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_Lambda{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Lambda", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_Lambda" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Lambda", @@ -3217,8 +5812,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -3227,11 +5823,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3240,6 +5838,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3261,7 +5860,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3295,15 +5895,51 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Omega", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_Omega{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Omega", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_Omega" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Omega", @@ -3311,8 +5947,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Network Average", "fieldConfig": { @@ -3321,11 +5958,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3334,6 +5973,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3355,7 +5995,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3387,15 +6028,51 @@ }, "targets": [ { + "alias": "Delta", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_Delta{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Delta", - "refId": "A" + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Node_info_Metrics_Delta" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + } + ] } ], "title": "Delta Response", @@ -3404,8 +6081,8 @@ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -3430,7 +6107,9 @@ }, "custom": { "align": "center", - "displayMode": "color-text", + "cellOptions": { + "type": "color-text" + }, "inspect": false }, "mappings": [], @@ -3438,7 +6117,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3457,7 +6137,9 @@ }, "id": 90, "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": [ "sum" @@ -3466,7 +6148,7 @@ }, "showHeader": false }, - "pluginVersion": "9.3.2", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -3515,7 +6197,9 @@ }, "custom": { "align": "center", - "displayMode": "color-text", + "cellOptions": { + "type": "color-text" + }, "inspect": false }, "mappings": [], @@ -3523,7 +6207,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3542,7 +6227,9 @@ }, "id": 84, "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": [ "sum" @@ -3551,7 +6238,7 @@ }, "showHeader": false }, - "pluginVersion": "9.3.2", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -3600,7 +6287,9 @@ }, "custom": { "align": "center", - "displayMode": "color-text", + "cellOptions": { + "type": "color-text" + }, "filterable": false, "inspect": false }, @@ -3610,7 +6299,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3629,7 +6319,9 @@ }, "id": 92, "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": [ "sum" @@ -3638,7 +6330,7 @@ }, "showHeader": false }, - "pluginVersion": "9.3.2", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -3687,7 +6379,9 @@ }, "custom": { "align": "center", - "displayMode": "color-text", + "cellOptions": { + "type": "color-text" + }, "filterable": false, "inspect": false }, @@ -3696,7 +6390,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3715,7 +6410,9 @@ }, "id": 88, "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": [ "sum" @@ -3724,7 +6421,7 @@ }, "showHeader": false }, - "pluginVersion": "9.3.2", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -3764,8 +6461,8 @@ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -3790,7 +6487,9 @@ }, "custom": { "align": "center", - "displayMode": "color-text", + "cellOptions": { + "type": "color-text" + }, "inspect": false }, "mappings": [], @@ -3798,7 +6497,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3817,7 +6517,9 @@ }, "id": 79, "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": [ "sum" @@ -3826,7 +6528,7 @@ }, "showHeader": false }, - "pluginVersion": "9.3.2", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -3875,7 +6577,9 @@ }, "custom": { "align": "center", - "displayMode": "color-text", + "cellOptions": { + "type": "color-text" + }, "inspect": false }, "mappings": [], @@ -3883,7 +6587,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3902,7 +6607,9 @@ }, "id": 80, "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": [ "sum" @@ -3911,7 +6618,7 @@ }, "showHeader": false }, - "pluginVersion": "9.3.2", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -3960,7 +6667,9 @@ }, "custom": { "align": "center", - "displayMode": "color-text", + "cellOptions": { + "type": "color-text" + }, "inspect": false }, "mappings": [], @@ -3968,7 +6677,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3987,7 +6697,9 @@ }, "id": 96, "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": [ "sum" @@ -3996,7 +6708,7 @@ }, "showHeader": false }, - "pluginVersion": "9.3.2", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -4145,23 +6857,22 @@ "type": "row" } ], - "refresh": "5m", - "schemaVersion": 37, - "style": "dark", + "refresh": "", + "schemaVersion": 39, "tags": [], "templating": { "list": [ { "current": { "selected": true, - "text": "Sovrin Staging Net", - "value": "Sovrin Staging Net" + "text": "QC-Net-beta", + "value": "QC-Net-beta" }, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "definition": "label_values(network)", + "definition": "SHOW TAG VALUES FROM \"node\" WITH KEY = \"network\" ", "description": "Select a network.", "hide": 0, "includeAll": false, @@ -4170,8 +6881,8 @@ "name": "network", "options": [], "query": { - "query": "label_values(network)", - "refId": "StandardVariableQuery" + "query": "SHOW TAG VALUES FROM \"node\" WITH KEY = \"network\" ", + "refId": "InfluxVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -4185,13 +6896,13 @@ ] }, "time": { - "from": "now-30m", + "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Network Overview", - "uid": "IBGWryqGb", - "version": 1, + "uid": "IBGWryqGG", + "version": 2, "weekStart": "" } \ No newline at end of file diff --git a/grafana/provisioning/dashboards/NodeDetailDashboard.json b/grafana/provisioning/dashboards/NodeDetailDashboard.json index e776e9c..a93c235 100644 --- a/grafana/provisioning/dashboards/NodeDetailDashboard.json +++ b/grafana/provisioning/dashboards/NodeDetailDashboard.json @@ -25,13 +25,15 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 1, + "id": 13, "links": [], "liveNow": false, "panels": [ { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average Connectivity", "fieldConfig": { @@ -40,12 +42,14 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "axisSoftMin": 0, "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", @@ -54,6 +58,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -156,67 +161,230 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Reachable Nodes", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Pool_info_Reachable_nodes_count{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "hide": false, - "interval": "", - "legendFormat": "Reachable Nodes", - "range": true, - "refId": "B" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Pool_info_Reachable_nodes_count" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + }, + { + "condition": "AND", + "key": "name::tag", + "operator": "=~", + "value": "/^$node$/" + } + ] }, { + "alias": "Total Nodes", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Pool_info_Total_nodes_count{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Total Nodes", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Pool_info_Total_nodes_count" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + }, + { + "condition": "AND", + "key": "name::tag", + "operator": "=~", + "value": "/^$node$/" + } + ] }, { + "alias": "Unreachable Nodes", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Pool_info_Unreachable_nodes_count{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": true, - "interval": "", - "legendFormat": "Unreachable Nodes", - "range": true, - "refId": "C" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Pool_info_Unreachable_nodes_count" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + }, + { + "condition": "AND", + "key": "name::tag", + "operator": "=~", + "value": "/^$node$/" + } + ] }, { + "alias": "Write Failure Threshhold", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Pool_info_Total_nodes_count{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"} - node_response_result_data_Pool_info_f_value{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Write Failure Threshhold", - "range": true, - "refId": "E" + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT max(\"response_result_data_Pool_info_Total_nodes_count\") - max(\"response_result_data_Pool_info_f_value\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "response_result_data_Pool_info_Unreachable_nodes_count" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + }, + { + "condition": "AND", + "key": "name::tag", + "operator": "=~", + "value": "/^$node$/" + } + ] } ], "type": "timeseries" }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Status Errors", "fieldConfig": { @@ -225,11 +393,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -238,6 +408,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -295,25 +466,68 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Errors", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_status_errors{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "instant": false, - "interval": "", - "legendFormat": "Errors", - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"status_errors\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "status_errors" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + }, + { + "condition": "AND", + "key": "name::tag", + "operator": "=~", + "value": "/^$node$/" + } + ] } ], "type": "timeseries" }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Status Warnings", "fieldConfig": { @@ -322,11 +536,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -335,6 +551,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -392,18 +609,57 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Warnings", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_status_warnings{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "format": "time_series", - "instant": false, - "interval": "", - "legendFormat": "Warnings", - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "status_warnings" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "network::tag", + "operator": "=~", + "value": "/^$network$/" + }, + { + "condition": "AND", + "key": "name::tag", + "operator": "=~", + "value": "/^$node$/" + } + ] } ], "type": "timeseries" @@ -411,8 +667,8 @@ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -425,8 +681,8 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "refId": "A" } @@ -476,6 +732,7 @@ }, "id": 82, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -486,7 +743,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -564,6 +821,7 @@ }, "id": 90, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -574,7 +832,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -653,6 +911,7 @@ }, "id": 92, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -663,7 +922,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -741,6 +1000,7 @@ }, "id": 88, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -751,7 +1011,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -828,6 +1088,7 @@ }, "id": 84, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -838,7 +1099,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -876,8 +1137,8 @@ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -890,8 +1151,8 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "refId": "A" } @@ -942,6 +1203,7 @@ }, "id": 69, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -954,7 +1216,7 @@ "showHeader": false, "sortBy": [] }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -1015,6 +1277,7 @@ }, { "datasource": { + "default": false, "type": "datasource", "uid": "-- Mixed --" }, @@ -1056,6 +1319,7 @@ }, "id": 68, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1067,7 +1331,7 @@ "showHeader": false, "sortBy": [] }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -1138,8 +1402,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P35862FFA6F3BFED8" }, "fieldConfig": { "defaults": { @@ -1179,6 +1444,7 @@ }, "id": 11, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1195,19 +1461,14 @@ } ] }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P35862FFA6F3BFED8" }, - "exemplar": true, - "expr": "node_response_result_data_Node_info_Client_port{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"}", - "format": "table", - "hide": false, - "interval": "", - "legendFormat": "", + "query": "from(bucket: v.defaultBucket)\r\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n |> filter(fn:(r) =>\r\n r._measurement == \"node\" and \r\n r._field == \"response_result_data_Node_info_Client_ip\" and\r\n r.name == \"${node}\" and\r\n r.network == \"${network}\"\r\n )\r\n |> yield()", "refId": "A" } ], @@ -1222,28 +1483,6 @@ "last" ] } - }, - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "response_result_data_Node_info_Client_ip" - ] - } - } - }, - { - "id": "organize", - "options": { - "excludeByName": {}, - "indexByName": { - "Value #A": 2, - "response_result_data_Node_info_Client_ip": 1, - "response_result_data_Node_info_Node_protocol": 0 - }, - "renameByName": {} - } } ], "transparent": true, @@ -1251,8 +1490,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P35862FFA6F3BFED8" }, "fieldConfig": { "defaults": { @@ -1292,6 +1532,7 @@ }, "id": 71, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1308,32 +1549,18 @@ } ] }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "node_response_result_data_Node_info_Node_port{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"}", - "format": "table", - "hide": false, - "interval": "", - "legendFormat": "", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P35862FFA6F3BFED8" }, - "exemplar": true, - "expr": "response_result_data_Node_info_Node_port{job=\"tick\", name=\"[[node]]\"}", "hide": false, - "interval": "", - "legendFormat": "", - "refId": "B" + "query": "from(bucket: v.defaultBucket)\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn:(r) =>\n r._measurement == \"node\" and \n r._field == \"response_result_data_Node_info_Node_ip\" and\n r.name == \"${node}\" and\n r.network == \"${network}\"\n )\n |> yield()", + "rawQuery": true, + "refId": "A", + "resultFormat": "logs" } ], "title": "Node Internal", @@ -1347,28 +1574,6 @@ "last" ] } - }, - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "response_result_data_Node_info_Node_ip" - ] - } - } - }, - { - "id": "organize", - "options": { - "excludeByName": {}, - "indexByName": { - "Value #A": 2, - "response_result_data_Node_info_Node_ip": 1, - "response_result_data_Node_info_Node_protocol": 0 - }, - "renameByName": {} - } } ], "transparent": true, @@ -1377,8 +1582,8 @@ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -1391,8 +1596,8 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "refId": "A" } @@ -1442,6 +1647,7 @@ }, "id": 79, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1452,7 +1658,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -1529,6 +1735,7 @@ }, "id": 80, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1539,7 +1746,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -1616,6 +1823,7 @@ }, "id": 96, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1626,7 +1834,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -1664,8 +1872,8 @@ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -1678,8 +1886,8 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "refId": "A" } @@ -1709,8 +1917,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1729,6 +1936,7 @@ }, "id": 100, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1739,7 +1947,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -1796,8 +2004,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1816,6 +2023,7 @@ }, "id": 86, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1826,7 +2034,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -1883,8 +2091,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1903,6 +2110,7 @@ }, "id": 98, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -1913,7 +2121,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.7", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -1963,8 +2171,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -1973,11 +2182,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 50, "gradientMode": "opacity", @@ -1986,6 +2197,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2007,8 +2219,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2042,19 +2253,15 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txns per Second", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": false, - "expr": "avg(node_response_result_data_Node_info_Metrics_average_per_second_read_transactions{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "format": "time_series", - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Txns per Second", - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_average-per-second_read-transactions\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" } ], "title": "Read Txns per Second", @@ -2062,8 +2269,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -2072,11 +2280,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2085,6 +2295,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2106,8 +2317,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2141,17 +2351,15 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txns per Second", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_average_per_second_write_transactions{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txns per Second", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_average-per-second_write-transactions\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" } ], "title": "Write Txns per Second", @@ -2160,8 +2368,8 @@ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -2174,8 +2382,8 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "refId": "A" } @@ -2185,8 +2393,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -2195,11 +2404,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2208,6 +2419,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2229,8 +2441,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2262,17 +2473,46 @@ }, "targets": [ { + "alias": "Request timeouts", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Requests_timeouts_Ordering_phase_req_timeouts{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Request timeouts", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Requests_timeouts_Ordering_phase_req_timeouts\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Ordering Phase Req Timeouts", @@ -2280,8 +2520,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -2290,11 +2531,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2303,6 +2546,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2324,8 +2568,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2357,17 +2600,46 @@ }, "targets": [ { + "alias": "Request timeouts", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Requests_timeouts_Propagates_phase_req_timeouts{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Request timeouts", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Requests_timeouts_Propagates_phase_req_timeouts\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Propagates Phase Req Timeouts", @@ -2376,8 +2648,8 @@ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -2390,8 +2662,8 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "refId": "A" } @@ -2401,8 +2673,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -2411,11 +2684,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2424,6 +2699,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -2448,8 +2724,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2459,7 +2734,32 @@ }, "unit": "short" }, - "overrides": [] + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "Ledger 3" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] }, "gridPos": { "h": 6, @@ -2483,73 +2783,218 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Ledger 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Uncommitted_ledger_txns_0_Count{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Ledger 0", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Uncommitted_ledger_txns_1_Count{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "hide": false, - "interval": "", - "legendFormat": "Ledger 1", - "range": true, - "refId": "B" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Uncommitted_ledger_txns_0_Count\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Ledger 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Uncommitted_ledger_txns_2_Count{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Ledger 2", - "range": true, - "refId": "C" - }, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Uncommitted_ledger_txns_1_Count\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + }, { + "alias": "Ledger 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Uncommitted_ledger_txns_3_Count{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "ledger 3", - "range": true, - "refId": "D" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Uncommitted_ledger_txns_2_Count\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Ledger 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Uncommitted_ledger_txns_1001_Count{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Uncommitted_ledger_txns_3_Count\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + }, + { + "alias": "Ledger 1001", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Ledger 1001", - "range": true, - "refId": "E" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Uncommitted_ledger_txns_1001_Count\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Uncommitted Ledger Txns", @@ -2557,8 +3002,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -2567,11 +3013,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2580,6 +3028,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2601,8 +3050,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2636,17 +3084,15 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txn Count", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_ledger{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_transaction-count_ledger\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" } ], "title": "Ledger Txn Count", @@ -2654,8 +3100,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -2664,11 +3111,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2677,6 +3126,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2698,8 +3148,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2733,17 +3182,15 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txn Count", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_audit{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_transaction-count_audit\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" } ], "title": "Audit Txn Count", @@ -2751,8 +3198,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -2761,11 +3209,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2774,6 +3224,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2829,17 +3280,15 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txn Count", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_config{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_transaction-count_config\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" } ], "title": "Config Txn Count", @@ -2847,8 +3296,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -2857,11 +3307,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2870,6 +3322,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2925,17 +3378,15 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txn Count", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_pool{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_transaction-count_pool\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" } ], "title": "Pool Txn Count", @@ -2943,8 +3394,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -2953,11 +3405,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2966,6 +3420,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3021,17 +3476,15 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Txn Count", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_1001{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_transaction-count_1001\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" } ], "title": "1001 Txn Count", @@ -3039,8 +3492,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -3049,11 +3503,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3062,6 +3518,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3117,73 +3574,63 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Ledger 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_0{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Ledger 0", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_0\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" }, { + "alias": "Ledger 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_1{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", "hide": false, - "interval": "", - "legendFormat": "Ledger 1", - "range": true, - "refId": "B" + "query": "SELECT mean(\"response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series" }, { + "alias": "Ledger 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_2{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", "hide": false, - "interval": "", - "legendFormat": "Ledger 2", - "range": true, - "refId": "C" + "query": "SELECT mean(\"response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series" }, { + "alias": "Ledger 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_3{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", "hide": false, - "interval": "", - "legendFormat": "Ledger 3", - "range": true, - "refId": "D" + "query": "SELECT mean(\"response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series" }, { + "alias": "Ledger 1001", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_1001{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", "hide": false, - "interval": "", - "legendFormat": "Ledger 1001", - "range": true, - "refId": "E" + "query": "SELECT mean(\"response_result_data_Node_info_Catchup_status_Number_txns_in_catchup_1001\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series" } ], "title": "Catchup Txn Count", @@ -3204,8 +3651,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -3214,11 +3662,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3227,6 +3677,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3282,17 +3733,15 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Throughput", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_master_throughput{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Throughput", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_master throughput\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" } ], "title": "Master Throughput", @@ -3300,8 +3749,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -3310,11 +3760,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3323,6 +3775,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3401,17 +3854,46 @@ }, "targets": [ { + "alias": "Master throughput ratio", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_master_throughput_ratio{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Master throughput ratio", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_master throughput ratio\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Master Throughput Ratio", @@ -3419,8 +3901,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -3429,11 +3912,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3442,6 +3927,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3495,101 +3981,304 @@ }, "targets": [ { + "alias": "Throughput 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_0{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Throughput 0", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_0\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Throughput 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_1{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 1", - "range": true, - "refId": "B" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Throughput 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_2{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 2", - "range": true, - "refId": "C" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Throughput 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_3{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 3", - "range": true, - "refId": "D" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Throughput 4", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_4{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 4", - "range": true, - "refId": "E" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_4\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Throughput 5", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_5{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 5", - "range": true, - "refId": "F" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_5\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Throughput 6", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_throughput_6{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Throughput 6", - "range": true, - "refId": "G" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_throughput_6\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Throughput", @@ -3597,8 +4286,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -3607,11 +4297,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3620,6 +4312,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3698,17 +4391,46 @@ }, "targets": [ { + "alias": "Avg backup throughup", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_avg_backup_throughput{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Avg backup throughup", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_avg backup throughput\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Avg Backup Throughput", @@ -3716,8 +4438,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -3726,11 +4449,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3739,6 +4464,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3792,17 +4518,46 @@ }, "targets": [ { + "alias": "Request Latency", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_max_master_request_latencies{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Request Latency", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_max master request latencies\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Max Master Req. Latencies", @@ -3810,8 +4565,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -3820,11 +4576,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3833,6 +4591,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3888,87 +4647,304 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Avg Req. Latencies 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_0{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Avg Req. Latencies 0", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_1{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "hide": false, - "interval": "", - "legendFormat": "Avg Req. Latencies 1", - "range": true, - "refId": "B" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_0\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Avg Req. Latencies 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_2{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Avg Req. Latencies 2", - "range": true, - "refId": "C" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Avg Req. Latencies 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_3{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Avg Req. Latencies 3", - "range": true, - "refId": "D" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Avg Req. Latencies 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_4{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Avg Req. Latencies 4", - "range": true, - "refId": "E" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Avg Req. Latencies 4", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_client_avg_request_latencies_5{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Avg Req. Latencies 5", - "range": true, - "refId": "F" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_4\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + }, + { + "alias": "Avg Req. Latencies 5", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_5\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + }, + { + "alias": "Avg Req. Latencies 6", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_client avg request latencies_6\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Client Avg Request Latencies", @@ -3976,8 +4952,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -3986,11 +4963,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3999,6 +4978,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -4052,101 +5032,304 @@ }, "targets": [ { + "alias": "Request 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_0{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Request 0", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_0\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Request 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_1{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 1", - "range": true, - "refId": "B" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Request 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_2{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 2", - "range": true, - "refId": "C" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Request 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_3{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 3", - "range": true, - "refId": "D" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Request 4", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_4{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 4", - "range": true, - "refId": "E" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_4\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Request 5", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_5{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 5", - "range": true, - "refId": "F" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_5\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Request 6", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_durations_6{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Request 6", - "range": true, - "refId": "G" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request durations_6\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Ordered Request Durations", @@ -4154,8 +5337,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -4164,11 +5348,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4177,6 +5363,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -4207,7 +5394,32 @@ ] } }, - "overrides": [] + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "Total Requests" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] }, "gridPos": { "h": 6, @@ -4230,115 +5442,347 @@ }, "targets": [ { + "alias": "Total Requests", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_total_requests{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Total Requests", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_total requests\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Count 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_0{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 0", - "range": true, - "refId": "B" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_0\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Count 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_1{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 1", - "range": true, - "refId": "C" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Count 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_2{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 2", - "range": true, - "refId": "D" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Count 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_3{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 3", - "range": true, - "refId": "E" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Count 4", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_4{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 4", - "range": true, - "refId": "F" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_4\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Count 5", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_ordered_request_counts_5{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 5", - "range": true, - "refId": "G" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_5\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Count 6", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_node_response_result_data_Node_info_Metrics_ordered_request_counts_6{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Count 6", - "range": true, - "refId": "H" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_ordered request counts_6\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "H", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Request Counts", @@ -4346,8 +5790,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -4356,11 +5801,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4369,6 +5816,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -4422,101 +5870,304 @@ }, "targets": [ { + "alias": "Instance 0", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_0{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Instance 0", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_0\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Instance 1", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_1{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 1", - "range": true, - "refId": "B" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_1\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Instance 2", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_2{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 2", - "range": true, - "refId": "C" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_2\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Instance 3", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_3{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 3", - "range": true, - "refId": "D" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_3\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Instance 4", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_4{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 4", - "range": true, - "refId": "E" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_4\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Instance 5", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_5{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 5", - "range": true, - "refId": "F" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_5\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] }, { + "alias": "Instance 6", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_instances_started_6{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], "hide": false, - "interval": "", - "legendFormat": "Instance 6", - "range": true, - "refId": "G" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_instances started_6\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Instances Started", @@ -4524,8 +6175,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -4534,11 +6186,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4547,6 +6201,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -4602,17 +6257,46 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Replicas", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Count_of_replicas{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Replicas", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Count_of_replicas\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Replica Count", @@ -4620,8 +6304,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -4630,11 +6315,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4643,6 +6330,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -4696,17 +6384,46 @@ }, "targets": [ { + "alias": "Lambda", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_Lambda{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Lambda", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_Lambda\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Lambda", @@ -4714,8 +6431,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -4724,11 +6442,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4737,6 +6457,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -4792,17 +6513,15 @@ "pluginVersion": "8.0.0", "targets": [ { + "alias": "Omega", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_Omega{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Omega", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_Omega\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" } ], "title": "Omega", @@ -4810,8 +6529,9 @@ }, { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "description": "Node Average", "fieldConfig": { @@ -4820,11 +6540,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4833,6 +6555,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -4886,17 +6609,46 @@ }, "targets": [ { + "alias": "Delta", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_Delta{job=\"tick\", name=\"[[node]]\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Delta", - "range": true, - "refId": "A" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_Delta\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/ AND \"name\"::tag =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)\n", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } ], "title": "Delta Response", @@ -4956,6 +6708,7 @@ }, "id": 94, "options": { + "cellHeight": "sm", "footer": { "countRows": false, "fields": "", @@ -4966,7 +6719,7 @@ }, "showHeader": false }, - "pluginVersion": "9.4.3", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -5002,25 +6755,23 @@ "type": "table" } ], - "refresh": "1m", "revision": 1, - "schemaVersion": 38, - "style": "dark", + "schemaVersion": 39, "tags": [], "templating": { "list": [ { "allValue": "*", "current": { - "selected": true, - "text": "Sovrin Main Net", - "value": "Sovrin Main Net" + "selected": false, + "text": "QC-Net-beta", + "value": "QC-Net-beta" }, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "definition": "label_values(network)", + "definition": "SHOW TAG VALUES FROM \"node\" WITH KEY = \"network\"", "description": "Select a network.", "hide": 0, "includeAll": false, @@ -5029,8 +6780,8 @@ "name": "network", "options": [], "query": { - "query": "label_values(network)", - "refId": "StandardVariableQuery" + "query": "SHOW TAG VALUES FROM \"node\" WITH KEY = \"network\"", + "refId": "InfluxVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -5044,15 +6795,15 @@ { "allValue": "*", "current": { - "selected": true, - "text": "Stuard", - "value": "Stuard" + "selected": false, + "text": "beta-qc-1", + "value": "beta-qc-1" }, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "definition": "label_values(node_response_result_data_Pool_info_Reachable_nodes_count{network=\"[[network]]\"}, name)", + "definition": "SHOW TAG VALUES FROM \"node\" WITH KEY = \"name\" WHERE \"network\" = '${network}'", "description": "Select a node.", "hide": 0, "includeAll": false, @@ -5061,8 +6812,8 @@ "name": "node", "options": [], "query": { - "query": "label_values(node_response_result_data_Pool_info_Reachable_nodes_count{network=\"[[network]]\"}, name)", - "refId": "StandardVariableQuery" + "query": "SHOW TAG VALUES FROM \"node\" WITH KEY = \"name\" WHERE \"network\" = '${network}'", + "refId": "InfluxVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -5080,6 +6831,6 @@ "timezone": "", "title": "Node Detail", "uid": "IBGWryqGa", - "version": 1, + "version": 7, "weekStart": "" } \ No newline at end of file diff --git a/grafana/provisioning/dashboards/PublicDashboard.json b/grafana/provisioning/dashboards/PublicDashboard.json index eb56b10..4b0d641 100644 --- a/grafana/provisioning/dashboards/PublicDashboard.json +++ b/grafana/provisioning/dashboards/PublicDashboard.json @@ -1,1179 +1,1304 @@ { - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 1, - "links": [], - "liveNow": false, - "panels": [ + "annotations": { + "list": [ { + "builtIn": 1, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "datasource", + "uid": "grafana" }, - "description": "Network Average Node Connectivity", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 1, + "id": 14, + "links": [], + "liveNow": false, + "panels": [ + { + "datasource": { + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "description": "Network Average Node Connectivity", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" }, - "unit": "short" + "thresholdsStyle": { + "mode": "off" + } }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Reachable Nodes" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Total Nodes" + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "green", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Write Failure Threshhold" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "orange", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 4, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + { + "color": "red", + "value": 80 + } + ] }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "unit": "short" }, - "pluginVersion": "8.0.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "round(avg(node_response_result_data_Pool_info_Reachable_nodes_count{job=\"tick\", network=\"[[network]]\"}))", - "hide": false, - "interval": "", - "legendFormat": "Reachable Nodes", - "refId": "B" - }, + "overrides": [ { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "matcher": { + "id": "byName", + "options": "Reachable Nodes" }, - "exemplar": true, - "expr": "min(node_response_result_data_Pool_info_Total_nodes_count{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Total Nodes", - "refId": "A" + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] }, { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "matcher": { + "id": "byName", + "options": "Total Nodes" }, - "exemplar": true, - "expr": "max(node_response_result_data_Pool_info_Unreachable_nodes_count{job=\"tick\", network=\"[[network]]\"})", - "hide": true, - "interval": "", - "legendFormat": "Unreachable Nodes", - "refId": "C" + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] }, { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "matcher": { + "id": "byName", + "options": "Write Failure Threshhold" }, - "exemplar": true, - "expr": "max(node_response_result_data_Pool_info_Total_nodes_count{job=\"tick\", network=\"[[network]]\"} - node_response_result_data_Pool_info_f_value{job=\"tick\", network=\"[[network]]\"})", - "hide": false, - "interval": "", - "legendFormat": "Write Failure Threshhold", - "refId": "E" + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "orange", + "mode": "fixed" + } + } + ] } - ], - "transformations": [], - "type": "timeseries" + ] }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "description": "Status Errors", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.0.0", + "targets": [ + { + "alias": "Reachable Nodes", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Pool_info_Total_nodes_count\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" + }, + { + "alias": "Total Nodes", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT min(\"response_result_data_Pool_info_Total_nodes_count\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + }, + { + "alias": "Unreachable Nodes", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": true, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT max(\"response_result_data_Pool_info_Unreachable_nodes_count\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" }, - "thresholdsStyle": { - "mode": "off" + { + "params": [], + "type": "mean" } + ] + ], + "tags": [] + }, + { + "alias": "Write Failure Threshhold", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "hide": false, + "query": "SELECT max(\"response_result_data_Pool_info_Total_nodes_count\") - max(\"response_result_data_Pool_info_f_value\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series" + } + ], + "type": "timeseries" + }, + { + "datasource": { + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "description": "Status Errors", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "unit": "short" + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 0, - "y": 7 - }, - "id": 8, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "unit": "short" }, - "pluginVersion": "8.0.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "max(node_status_errors{job=\"tick\", network=\"[[network]]\"})", - "instant": false, - "interval": "", - "legendFormat": "Errors", - "refId": "A" - } - ], - "type": "timeseries" + "overrides": [] }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 7 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "description": "Status Warnings", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.0.0", + "targets": [ + { + "alias": "Errors", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT max(\"status_errors\") FROM \"autogen\".\"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($interval)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" + } + ], + "type": "timeseries" + }, + { + "datasource": { + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "description": "Status Warnings", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" }, - "unit": "short" + "thresholdsStyle": { + "mode": "off" + } }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 12, - "x": 12, - "y": 7 - }, - "id": 9, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "unit": "short" }, - "pluginVersion": "8.0.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "max(node_status_warnings{job=\"tick\", network=\"[[network]]\"})", - "format": "time_series", - "instant": false, - "interval": "", - "legendFormat": "Warnings", - "refId": "A" - } - ], - "type": "timeseries" + "overrides": [] }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 12 - }, - "id": 60, - "panels": [], - "title": "Txn Rate", - "type": "row" + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 7 }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "id": 9, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "description": "Network Average", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.0.0", + "targets": [ + { + "alias": "Warnings", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT max(\"status_warnings\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" }, - "thresholdsStyle": { - "mode": "off" + { + "params": [], + "type": "mean" } + ] + ], + "tags": [] + } + ], + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 12 + }, + "id": 60, + "panels": [], + "title": "Txn Rate", + "type": "row" + }, + { + "datasource": { + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "description": "Network Average", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "unit": "short" + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "Txns per Second" - ], - "prefix": "All except:", - "readOnly": true - } + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 13 - }, - "id": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + { + "color": "red", + "value": 80 + } + ] }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "unit": "short" }, - "pluginVersion": "8.0.0", - "targets": [ + "overrides": [ { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "Txns per Second" + ], + "prefix": "All except:", + "readOnly": true + } }, - "exemplar": false, - "expr": "avg(node_response_result_data_Node_info_Metrics_average_per_second_read_transactions{job=\"tick\", network=\"[[network]]\"})", - "format": "time_series", - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Txns per Second", - "refId": "A" + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] } - ], - "title": "Read Txns per Second", - "transformations": [], - "type": "timeseries" + ] }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 13 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "description": "Network Average", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.0.0", + "targets": [ + { + "alias": "Txns per Second", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_average-per-second_read-transactions\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" + } + ], + "title": "Read Txns per Second", + "type": "timeseries" + }, + { + "datasource": { + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "description": "Network Average", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" }, - "unit": "short" + "thresholdsStyle": { + "mode": "off" + } }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 13 - }, - "id": 6, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "unit": "short" }, - "pluginVersion": "8.0.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_average_per_second_write_transactions{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txns per Second", - "refId": "A" - } - ], - "title": "Write Txns per Second", - "type": "timeseries" + "overrides": [] }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 19 - }, - "id": 40, - "panels": [], - "title": "Transaction Count", - "type": "row" + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 13 }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "id": 6, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "description": "Network Average", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.0.0", + "targets": [ + { + "alias": "Txns per Second", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_average-per-second_write-transactions\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" + } + ], + "title": "Write Txns per Second", + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 19 + }, + "id": 40, + "panels": [], + "title": "Transaction Count", + "type": "row" + }, + { + "datasource": { + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "description": "Network Average", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" }, - "unit": "short" + "thresholdsStyle": { + "mode": "off" + } }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 20 - }, - "id": 27, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "unit": "short" }, - "pluginVersion": "8.0.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_ledger{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "refId": "A" - } - ], - "title": "Ledger Txn Count", - "type": "timeseries" + "overrides": [] }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 20 + }, + "id": 27, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "description": "Network Average", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.0.0", + "targets": [ + { + "alias": "Txn Count", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_transaction-count_ledger\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" + } + ], + "title": "Ledger Txn Count", + "type": "timeseries" + }, + { + "datasource": { + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "description": "Network Average", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" }, - "unit": "short" + "thresholdsStyle": { + "mode": "off" + } }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 20 - }, - "id": 34, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "unit": "short" }, - "pluginVersion": "8.0.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_audit{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "refId": "A" - } - ], - "title": "Audit Txn Count", - "type": "timeseries" + "overrides": [] }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 20 + }, + "id": 34, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "description": "Network Average", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.0.0", + "targets": [ + { + "alias": "Txn Count", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_transaction-count_audit\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" + } + ], + "title": "Audit Txn Count", + "type": "timeseries" + }, + { + "datasource": { + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "description": "Network Average", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" }, - "unit": "short" + "thresholdsStyle": { + "mode": "off" + } }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 26 - }, - "id": 32, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "unit": "short" }, - "pluginVersion": "8.0.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_config{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "refId": "A" - } - ], - "title": "Config Txn Count", - "type": "timeseries" + "overrides": [] }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 26 + }, + "id": 32, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "description": "Network Average", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.0.0", + "targets": [ + { + "alias": "Txn Count", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_transaction-count_config\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" + } + ], + "title": "Config Txn Count", + "type": "timeseries" + }, + { + "datasource": { + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "description": "Network Average", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" }, - "unit": "short" + "thresholdsStyle": { + "mode": "off" + } }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 26 - }, - "id": 30, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "unit": "short" }, - "pluginVersion": "8.0.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_pool{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "refId": "A" - } - ], - "title": "Pool Txn Count", - "type": "timeseries" + "overrides": [] }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 26 + }, + "id": 30, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "description": "Network Average", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.0.0", + "targets": [ + { + "alias": "Txn Count", + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_transaction-count_pool\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" + } + ], + "title": "Pool Txn Count", + "type": "timeseries" + }, + { + "datasource": { + "default": false, + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "description": "Network Average", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" }, - "unit": "short" + "thresholdsStyle": { + "mode": "off" + } }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 32 - }, - "id": 29, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "unit": "short" }, - "pluginVersion": "8.0.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "exemplar": true, - "expr": "avg(node_response_result_data_Node_info_Metrics_transaction_count_1001{job=\"tick\", network=\"[[network]]\"})", - "interval": "", - "legendFormat": "Txn Count", - "refId": "A" - } - ], - "title": "1001 Txn Count", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 37, - "style": "dark", - "tags": [], - "templating": { - "list": [ + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 32 + }, + "id": 29, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.0.0", + "targets": [ { - "current": { - "selected": false, - "text": "Sovrin Staging Net", - "value": "Sovrin Staging Net" - }, + "alias": "Txn Count", "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "definition": "label_values(network)", - "description": "Select a network.", - "hide": 0, - "includeAll": false, - "label": "Network", - "multi": false, - "name": "network", - "options": [], - "query": { - "query": "label_values(network)", - "refId": "StandardVariableQuery" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false + "query": "SELECT mean(\"response_result_data_Node_info_Metrics_transaction-count_1001\") FROM \"node\" WHERE (\"network\"::tag =~ /^$network$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" } - ] - }, - "time": { - "from": "now-30m", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Public Dashboard", - "uid": "LQRHTYo4k", - "version": 1, - "weekStart": "" - } \ No newline at end of file + ], + "title": "1001 Txn Count", + "type": "timeseries" + } + ], + "refresh": false, + "schemaVersion": 39, + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "QC-Net-beta", + "value": "QC-Net-beta" + }, + "datasource": { + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" + }, + "definition": "SHOW TAG VALUES FROM \"node\" WITH KEY = \"network\" ", + "description": "Select a network.", + "hide": 0, + "includeAll": false, + "label": "Network", + "multi": false, + "name": "network", + "options": [], + "query": { + "query": "SHOW TAG VALUES FROM \"node\" WITH KEY = \"network\" ", + "refId": "InfluxVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-30m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "Public Dashboard", + "uid": "LQRHTYo4g", + "version": 7, + "weekStart": "" +} \ No newline at end of file diff --git a/grafana/provisioning/dashboards/TestDashboard.json b/grafana/provisioning/dashboards/TestDashboard.json index 0ee4a28..433b192 100644 --- a/grafana/provisioning/dashboards/TestDashboard.json +++ b/grafana/provisioning/dashboards/TestDashboard.json @@ -24,14 +24,15 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 1, + "id": 11, "links": [], "liveNow": false, "panels": [ { "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "gridPos": { "h": 1, @@ -44,8 +45,8 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, "refId": "A" } @@ -54,54 +55,86 @@ "type": "row" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "influxdb", "uid": "P951FEA4DE68E13C5" }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "short" }, "overrides": [] }, - "fill": 1, - "fillGradient": 1, "gridPos": { "h": 8, - "w": 17, + "w": 18, "x": 0, "y": 1 }, - "hiddenSeries": false, "id": 6, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": false + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, "pluginVersion": "9.2.3", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "alias": "Total Nodes", @@ -295,168 +328,91 @@ ] } ], - "thresholds": [], - "timeRegions": [], "title": "Node Connectivity", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, "transparent": true, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "logBase": 1, - "show": true - }, - { - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "circleMaxSize": 30, - "circleMinSize": 2, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "decimals": 0, - "esMetric": "Count", - "gridPos": { - "h": 7, - "w": 7, - "x": 17, - "y": 1 - }, - "hideEmpty": false, - "hideZero": false, - "id": 8, - "initialZoom": 1, - "locationData": "countries", - "mapCenter": "(0°, 0°)", - "mapCenterLatitude": 0, - "mapCenterLongitude": 0, - "maxDataPoints": 1, - "mouseWheelZoom": false, - "pluginVersion": "7.5.7", - "showLegend": true, - "stickyLabels": false, - "tableQueryOptions": { - "geohashField": "geohash", - "latitudeField": "latitude", - "longitudeField": "longitude", - "metricField": "metric", - "queryType": "geohash" + "type": "influxdb", + "uid": "P951FEA4DE68E13C5" }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - { - "params": [ - "null" - ], - "type": "fill" + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - ], - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ { - "params": [ - "value" - ], - "type": "field" + "color": "green", + "value": null }, { - "params": [], - "type": "mean" + "color": "red", + "value": 80 } ] - ], - "tags": [] - } - ], - "thresholds": "0,10", - "title": "Panel Title", - "type": "grafana-worldmap-panel", - "unitPlural": "", - "unitSingle": "", - "valueName": "total" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "influxdb", - "uid": "P951FEA4DE68E13C5" + }, + "unit": "short" + }, + "overrides": [] }, - "fill": 1, - "fillGradient": 5, "gridPos": { "h": 7, - "w": 5, + "w": 9, "x": 0, "y": 9 }, - "hiddenSeries": false, "id": 2, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, "pluginVersion": "9.2.3", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "alias": "Txns per Second", @@ -506,37 +462,8 @@ ] } ], - "thresholds": [], - "timeRegions": [], "title": "Read Txns per Second (Avg)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:418", - "format": "short", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:419", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { "datasource": { @@ -549,11 +476,13 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 50, "gradientMode": "opacity", @@ -562,6 +491,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -598,8 +528,8 @@ }, "gridPos": { "h": 7, - "w": 5, - "x": 5, + "w": 9, + "x": 9, "y": 9 }, "id": 9, @@ -647,7 +577,7 @@ [ { "params": [ - "response_result_data_Node_info_Metrics_average-per-second_read-transactions" + "response_result_data_Node_info_Metrics_average-per-second_write-transactions" ], "type": "field" }, @@ -671,16 +601,15 @@ } ], "refresh": false, - "schemaVersion": 37, - "style": "dark", + "schemaVersion": 39, "tags": [], "templating": { "list": [ { "current": { - "selected": false, - "text": "Absa", - "value": "Absa" + "selected": true, + "text": "CandyDevOntNode01", + "value": "CandyDevOntNode01" }, "datasource": { "type": "influxdb", @@ -694,7 +623,10 @@ "multi": false, "name": "node", "options": [], - "query": "show tag values on telegraf with key = \"name\"", + "query": { + "query": "show tag values on telegraf with key = \"name\"", + "refId": "InfluxVariableQueryEditor-VariableQuery" + }, "refresh": 2, "regex": "", "skipUrlSync": false, @@ -716,4 +648,4 @@ "uid": "wuu-CJqGz", "version": 1, "weekStart": "" -} \ No newline at end of file +} diff --git a/grafana/provisioning/dashboards/dashboard.yml b/grafana/provisioning/dashboards/dashboard.yml index 14716ee..bf0fcc1 100644 --- a/grafana/provisioning/dashboards/dashboard.yml +++ b/grafana/provisioning/dashboards/dashboard.yml @@ -1,9 +1,9 @@ apiVersion: 1 providers: -- name: 'Prometheus' +- name: 'Indy dashboards' orgId: 1 - folder: '' + folder: 'Indy monitoring' type: file disableDeletion: false editable: true diff --git a/grafana/provisioning/datasources/datasource.yml b/grafana/provisioning/datasources/datasource.yml index 16b94e3..642d297 100644 --- a/grafana/provisioning/datasources/datasource.yml +++ b/grafana/provisioning/datasources/datasource.yml @@ -38,7 +38,7 @@ datasources: # enable/disable with credentials headers withCredentials: # mark as default datasource. Max one per org - isDefault: true + isDefault: false # fields that will be converted to json and stored in json_data jsonData: graphiteVersion: "1.1" @@ -64,7 +64,7 @@ datasources: user: '' database: telegraf basicAuth: false - isDefault: false + isDefault: true # jsonData: # defaultBucket: telegraf # httpMode: POST