From c45dd40fc8aa74a26fadb3e04ddb74a6bc9381ef Mon Sep 17 00:00:00 2001
From: aaronweissler <46028218+aaronweissler@users.noreply.github.com>
Date: Thu, 7 Apr 2022 10:56:25 +0200
Subject: [PATCH 1/8] Remove inspectit-ocelot-demo folder
---
inspectit-ocelot-demo/.env | 2 -
inspectit-ocelot-demo/README.md | 4 -
inspectit-ocelot-demo/build.gradle | 24 -
.../configuration-server/agent_mappings.yaml | 17 -
.../files/all/general.yml | 9 -
.../files/all/hsqldb-sql-extraction.yml | 33 -
.../files/all/parametrize-eureka-paths.yml | 20 -
.../files/all/validatePetType.yml | 31 -
.../docker-compose-influxdb-jaeger.yml | 250 -
.../docker-compose-influxdb-zipkin.yml | 249 -
.../docker-compose-prometheus-jaeger.yml | 245 -
.../docker-compose-wavefront-zipkin.yml | 223 -
.../grafana/marketplace/dashboard-mapping.txt | 10 -
.../grafana/marketplace/influx/http.json | 1311 --
.../grafana/marketplace/influx/jvm.json | 1963 ---
.../marketplace/influx/selfmonitoring.json | 1220 --
.../marketplace/influx/servicegraph.json | 483 -
.../grafana/marketplace/influx/system.json | 921 --
.../grafana/marketplace/prometheus/http.json | 1037 --
.../grafana/marketplace/prometheus/jvm.json | 1795 ---
.../prometheus/selfmonitoring.json | 1023 --
.../marketplace/prometheus/servicegraph.json | 302 -
.../marketplace/prometheus/system.json | 868 --
.../provisioning/home-dashboard/home.json | 137 -
.../agent/http-overview-influxql.json | 7560 ----------
.../dashboards/agent/jvm-metrics.json | 11781 ----------------
.../dashboards/agent/self-monitoring.json | 7068 ---------
.../agent/service-graph-influxql.json | 485 -
.../dashboards/agent/system-metrics.json | 5279 -------
.../influxdb/dashboards/dashboards.yml | 27 -
.../dashboards/eum-server/Beacons.json | 479 -
.../dashboards/eum-server/Traces.json | 805 --
.../influxdb/datasources/influxdb.yml | 84 -
.../dashboards/agent/http-overview.json | 5918 --------
.../dashboards/agent/jvm-metrics.json | 10773 --------------
.../dashboards/agent/self-monitoring.json | 2001 ---
.../dashboards/agent/service-graph.json | 306 -
.../dashboards/agent/system-metrics.json | 4960 -------
.../prometheus/dashboards/dashboards.yml | 19 -
.../prometheus/datasources/prometheus.yml | 47 -
.../influx/continous-queries.iql | 11 -
inspectit-ocelot-demo/load/Dockerfile | 15 -
.../load/docker-entrypoint.sh | 11 -
inspectit-ocelot-demo/load/load-script.yml | 63 -
.../prometheus/prometheus.yml | 14 -
.../telegraf/telegraf-influx.conf | 1250 --
.../telegraf/telegraf-wavefront.conf | 1250 --
47 files changed, 72383 deletions(-)
delete mode 100644 inspectit-ocelot-demo/.env
delete mode 100644 inspectit-ocelot-demo/README.md
delete mode 100644 inspectit-ocelot-demo/build.gradle
delete mode 100644 inspectit-ocelot-demo/configuration-server/agent_mappings.yaml
delete mode 100644 inspectit-ocelot-demo/configuration-server/files/all/general.yml
delete mode 100644 inspectit-ocelot-demo/configuration-server/files/all/hsqldb-sql-extraction.yml
delete mode 100644 inspectit-ocelot-demo/configuration-server/files/all/parametrize-eureka-paths.yml
delete mode 100644 inspectit-ocelot-demo/configuration-server/files/all/validatePetType.yml
delete mode 100644 inspectit-ocelot-demo/docker-compose-influxdb-jaeger.yml
delete mode 100644 inspectit-ocelot-demo/docker-compose-influxdb-zipkin.yml
delete mode 100644 inspectit-ocelot-demo/docker-compose-prometheus-jaeger.yml
delete mode 100644 inspectit-ocelot-demo/docker-compose-wavefront-zipkin.yml
delete mode 100644 inspectit-ocelot-demo/grafana/marketplace/dashboard-mapping.txt
delete mode 100644 inspectit-ocelot-demo/grafana/marketplace/influx/http.json
delete mode 100644 inspectit-ocelot-demo/grafana/marketplace/influx/jvm.json
delete mode 100644 inspectit-ocelot-demo/grafana/marketplace/influx/selfmonitoring.json
delete mode 100644 inspectit-ocelot-demo/grafana/marketplace/influx/servicegraph.json
delete mode 100644 inspectit-ocelot-demo/grafana/marketplace/influx/system.json
delete mode 100644 inspectit-ocelot-demo/grafana/marketplace/prometheus/http.json
delete mode 100644 inspectit-ocelot-demo/grafana/marketplace/prometheus/jvm.json
delete mode 100644 inspectit-ocelot-demo/grafana/marketplace/prometheus/selfmonitoring.json
delete mode 100644 inspectit-ocelot-demo/grafana/marketplace/prometheus/servicegraph.json
delete mode 100644 inspectit-ocelot-demo/grafana/marketplace/prometheus/system.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/home-dashboard/home.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/http-overview-influxql.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/jvm-metrics.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/self-monitoring.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/service-graph-influxql.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/system-metrics.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/dashboards.yml
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/eum-server/Beacons.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/eum-server/Traces.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/influxdb/datasources/influxdb.yml
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/prometheus/dashboards/agent/http-overview.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/prometheus/dashboards/agent/jvm-metrics.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/prometheus/dashboards/agent/self-monitoring.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/prometheus/dashboards/agent/service-graph.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/prometheus/dashboards/agent/system-metrics.json
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/prometheus/dashboards/dashboards.yml
delete mode 100644 inspectit-ocelot-demo/grafana/provisioning/prometheus/datasources/prometheus.yml
delete mode 100644 inspectit-ocelot-demo/influx/continous-queries.iql
delete mode 100644 inspectit-ocelot-demo/load/Dockerfile
delete mode 100644 inspectit-ocelot-demo/load/docker-entrypoint.sh
delete mode 100644 inspectit-ocelot-demo/load/load-script.yml
delete mode 100644 inspectit-ocelot-demo/prometheus/prometheus.yml
delete mode 100644 inspectit-ocelot-demo/telegraf/telegraf-influx.conf
delete mode 100644 inspectit-ocelot-demo/telegraf/telegraf-wavefront.conf
diff --git a/inspectit-ocelot-demo/.env b/inspectit-ocelot-demo/.env
deleted file mode 100644
index b7e64b3f34..0000000000
--- a/inspectit-ocelot-demo/.env
+++ /dev/null
@@ -1,2 +0,0 @@
-INSPECTIT_OCELOT_VERSION=latest
-INSPECTIT_PETCLINIC_VERSION=latest
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/README.md b/inspectit-ocelot-demo/README.md
deleted file mode 100644
index bae1bff919..0000000000
--- a/inspectit-ocelot-demo/README.md
+++ /dev/null
@@ -1,4 +0,0 @@
-# inspectIT Ocelot - Demo
-
-This project provides a comprehensive demonstration of the capabilities of the inspectIT Ocelot Java agent using different infrastructure architectures.
-A detailed description of each existing scenario can be found in the [documentation](https://inspectit.github.io/inspectit-ocelot/docs/getting-started/docker-examples).
diff --git a/inspectit-ocelot-demo/build.gradle b/inspectit-ocelot-demo/build.gradle
deleted file mode 100644
index c19af51893..0000000000
--- a/inspectit-ocelot-demo/build.gradle
+++ /dev/null
@@ -1,24 +0,0 @@
-task setVersionForDockerCompose(type: Copy) {
- from '.env'
- into buildDir
- filter { line -> line.replaceAll('INSPECTIT_OCELOT_VERSION=.*', "INSPECTIT_OCELOT_VERSION=${version}") }
-}
-
-task packageDemo(type: Zip) {
- dependsOn 'setVersionForDockerCompose'
- archiveName = "inspectit-ocelot-demo-${version}.zip"
- destinationDir = file(buildDir)
-
- from (projectDir){
- exclude "build.gradle"
- exclude "README.md"
- exclude "build/"
- exclude "agent/"
- exclude "**/Dockerfile"
- exclude ".env"
- }
-
- from (buildDir){
- include ".env"
- }
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/configuration-server/agent_mappings.yaml b/inspectit-ocelot-demo/configuration-server/agent_mappings.yaml
deleted file mode 100644
index beb4d40c4b..0000000000
--- a/inspectit-ocelot-demo/configuration-server/agent_mappings.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-- name: "Gateway"
- sources:
- - "/gateway"
- - "/all"
- attributes:
- service: "api-gateway"
-- name: "Services"
- sources:
- - "/services"
- - "/all"
- attributes:
- service: ".*-service"
-- name: "Default Mapping"
- sources:
- - "/all"
- attributes:
- service: ".*"
diff --git a/inspectit-ocelot-demo/configuration-server/files/all/general.yml b/inspectit-ocelot-demo/configuration-server/files/all/general.yml
deleted file mode 100644
index 7708145682..0000000000
--- a/inspectit-ocelot-demo/configuration-server/files/all/general.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# See https://github.com/inspectIT/inspectit-oce/blob/0.1.M1/inspectit-oce-core/src/main/resources/config/default.yml
-# for all the configuration options.
-inspectit:
- metrics:
- # root setting for the polling frequency of all metrics
- # when a metrics has no frequency defined separately, this frequency will be used
- frequency: 5s
- logging:
- debug: false # set to true to see more details in the agents logs
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/configuration-server/files/all/hsqldb-sql-extraction.yml b/inspectit-ocelot-demo/configuration-server/files/all/hsqldb-sql-extraction.yml
deleted file mode 100644
index c0a94ab60e..0000000000
--- a/inspectit-ocelot-demo/configuration-server/files/all/hsqldb-sql-extraction.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-inspectit:
- instrumentation:
-
- scopes:
- 's_hsqldb_prepared_statement_execute':
- type:
- name: 'org.hsqldb.jdbc.JDBCPreparedStatement'
- methods:
- - name: 'execute'
- matcher-mode: STARTS_WITH
-
- actions:
- # Extracts the SQL from a PreparedStatement for HSQLDB
- 'a_hsqldb_prepared_statement_get_sql':
- imports:
- - 'org.hsqldb.jdbc'
- - 'java.lang.reflect'
- input:
- _this: 'JDBCPreparedStatement'
- _class: 'Class'
- value-body: |
- Field sqlField = _class.getDeclaredField("sql");
- sqlField.setAccessible(true);
- return sqlField.get(_this);
-
- rules:
- 'r_hsqldb_get_prep_statement_sql':
- scopes:
- 's_hsqldb_prepared_statement_execute': true
- exit:
- 'prepared_sql':
- action: 'a_hsqldb_prepared_statement_get_sql'
- only-if-null: 'prepared_sql'
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/configuration-server/files/all/parametrize-eureka-paths.yml b/inspectit-ocelot-demo/configuration-server/files/all/parametrize-eureka-paths.yml
deleted file mode 100644
index 2251e293a2..0000000000
--- a/inspectit-ocelot-demo/configuration-server/files/all/parametrize-eureka-paths.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-inspectit:
- instrumentation:
- rules:
-
- # We extend the existing parametrization rules...
- 'r_http_parametrize_path':
- include:
- 'r_parametrize_eureka_paths': true
-
- # .. with out own rule which parametrizes eureka paths
- 'r_parametrize_eureka_paths':
- entry:
- 'http_path':
- only-if-not-null: 'http_path'
- action: 'a_regex_replaceMatch'
- data-input:
- 'string': 'http_path'
- constant-input:
- 'pattern': '\/eureka\/apps\/.+\/.+'
- 'replacement': '/eureka/apps/{service}/{location}'
diff --git a/inspectit-ocelot-demo/configuration-server/files/all/validatePetType.yml b/inspectit-ocelot-demo/configuration-server/files/all/validatePetType.yml
deleted file mode 100644
index b7c4c6fab6..0000000000
--- a/inspectit-ocelot-demo/configuration-server/files/all/validatePetType.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-inspectit:
- instrumentation:
- rules:
- r_method_configuration_trace:
- entry:
- 'error_value':
- action: 'a_assign_value'
- constant-input:
- 'value': 'birdTypeError'
- tracing:
- attributes:
- 'errorTag': 'error_value'
- include:
- r_trace_method: true
- scopes:
- s_gen_scope_2531106c_77b9_4c1f_bb2a_551e1511aaaa: true
- r_method_configuration_duration:
- include:
- r_method_metric: true
- scopes:
- s_gen_scope_2531106c_77b9_4c1f_bb2a_551e1511aaaa: true
- scopes:
- s_gen_scope_2531106c_77b9_4c1f_bb2a_551e1511aaaa:
- type:
- name: 'org.springframework.samples.petclinic.customers.web.PetResource'
- matcher-mode: 'STARTS_WITH'
- methods:
- - name: validatePetType
- matcher-mode: 'STARTS_WITH'
- visibility:
- - PRIVATE
diff --git a/inspectit-ocelot-demo/docker-compose-influxdb-jaeger.yml b/inspectit-ocelot-demo/docker-compose-influxdb-jaeger.yml
deleted file mode 100644
index 8fa3040fb6..0000000000
--- a/inspectit-ocelot-demo/docker-compose-influxdb-jaeger.yml
+++ /dev/null
@@ -1,250 +0,0 @@
-version: '3'
-
-services:
- # Ocelot
- ## Serves as a collector for traces
- agent:
- image: inspectit/inspectit-ocelot-agent:${INSPECTIT_OCELOT_VERSION}
- container_name: agent
- deploy:
- resources:
- limits:
- memory: 128M
- volumes:
- - agent-vol:/agent
-
- ## Fetches the configuration
- ocelot-config-server:
- image: inspectit/inspectit-ocelot-configurationserver:${INSPECTIT_OCELOT_VERSION}
- container_name: ocelot-config-server
- deploy:
- resources:
- limits:
- memory: 512M
- environment:
- - INSPECTIT_CONFIG_SERVER_WORKING_DIRECTORY=/configuration-server
- - INSPECTIT_CONFIG_SERVER_DEFAULT_USER_PASSWORD=demo
- volumes:
- - ./configuration-server:/configuration-server
- ports:
- - 8090:8090
-
- ## Self Monitoring
- ocelot-eum-server:
- image: inspectit/inspectit-ocelot-eum-server:${INSPECTIT_OCELOT_VERSION}
- container_name: ocelot-eum-server
- environment:
- - INSPECTIT_EUM_SERVER_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EUM_SERVER_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EUM_SERVER_EXPORTERS_METRICS_INFLUX_DATABASE=inspectit_eum
- - INSPECTIT_EUM_SERVER_EXPORTERS_TRACING_JAEGER_GRPC=jaeger:14250
- deploy:
- resources:
- limits:
- memory: 256M
- volumes:
- - ./eum-server:/eum-server
- ports:
- - 8085:8085
-
- # Petclinic
- config-server:
- image: inspectit/spring-petclinic-config-server:${INSPECTIT_PETCLINIC_VERSION}
- container_name: config-server
- hostname: config-server
- environment:
- - INSPECTIT_SERVICE_NAME=config-server
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- entrypoint: ["./dockerize", "java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8888:8888
-
- discovery-server:
- image: inspectit/spring-petclinic-discovery-server:${INSPECTIT_PETCLINIC_VERSION}
- container_name: discovery-server
- hostname: discovery-server
- environment:
- - INSPECTIT_SERVICE_NAME=discovery-server
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- entrypoint: ["./dockerize","-wait=tcp://config-server:8888","-timeout=120s","--", "java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8761:8761
-
- customers-service:
- image: inspectit/spring-petclinic-customers-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: customers-service
- hostname: customers-service
- environment:
- - INSPECTIT_SERVICE_NAME=customers-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8081:8081
-
- visits-service:
- image: inspectit/spring-petclinic-visits-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: visits-service
- hostname: visits-service
- environment:
- - INSPECTIT_SERVICE_NAME=visits-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8082:8082
-
- vets-service:
- image: inspectit/spring-petclinic-vets-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: vets-service
- hostname: vets-service
- environment:
- - INSPECTIT_SERVICE_NAME=vets-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8083:8083
-
- api-gateway:
- image: inspectit/spring-petclinic-api-gateway:${INSPECTIT_PETCLINIC_VERSION}
- container_name: api-gateway
- hostname: api-gateway
- environment:
- - INSPECTIT_SERVICE_NAME=api-gateway
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8080:8080
-
- # Monitoring Backend
-
- # Load Generator
- ## Artificial load on Demo
- load:
- image: inspectit/spring-petclinic-load:1.0
- container_name: load-generator
- hostname: load-generator
-
- # InfluxDB
- ## Time Series Database
- influxdb:
- image: influxdb:1.8
- container_name: influxdb
- environment:
- - INFLUXDB_HTTP_FLUX_ENABLED=true
- - INFLUXDB_HTTP_LOG_ENABLED=false
- - INFLUXDB_DATA_QUERY_LOG_ENABLED=false
- deploy:
- resources:
- limits:
- memory: 512M
- volumes:
- - ./influx:/docker-entrypoint-initdb.d
- ports:
- - 8086:8086
-
- # Jaeger
- ## Collects and visualizes traces
- jaeger:
- image: jaegertracing/all-in-one:1.25.0
- container_name: jaeger
- ports:
- - 16686:16686
-
- # Grafana
- ## Dashboarding
- grafana:
- image: grafana/grafana:8.0.6
- container_name: grafana
- environment:
- - GF_PANELS_DISABLE_SANITIZE_HTML=TRUE
- - GF_SECURITY_ADMIN_PASSWORD=demo
- - GF_PATHS_PROVISIONING=/usr/share/grafana/custom/
- - GF_INSTALL_PLUGINS=https://github.com/NovatecConsulting/novatec-service-dependency-graph-panel/releases/download/v4.0.2/novatec-sdg-panel.zip;novatec-sdg-panel
- volumes:
- - ./grafana/provisioning/influxdb:/usr/share/grafana/custom/
- - ./grafana/provisioning/home-dashboard/home.json:/usr/share/grafana/public/dashboards/home.json
- ports:
- - 3000:3000
-
-volumes:
- agent-vol:
diff --git a/inspectit-ocelot-demo/docker-compose-influxdb-zipkin.yml b/inspectit-ocelot-demo/docker-compose-influxdb-zipkin.yml
deleted file mode 100644
index d004d8b0c6..0000000000
--- a/inspectit-ocelot-demo/docker-compose-influxdb-zipkin.yml
+++ /dev/null
@@ -1,249 +0,0 @@
-version: '3'
-
-services:
- # Ocelot
- ## Serves as a collector for traces
- agent:
- image: inspectit/inspectit-ocelot-agent:${INSPECTIT_OCELOT_VERSION}
- container_name: agent
- deploy:
- resources:
- limits:
- memory: 128M
- volumes:
- - agent-vol:/agent
-
- ## Fetches the configuration
- ocelot-config-server:
- image: inspectit/inspectit-ocelot-configurationserver:${INSPECTIT_OCELOT_VERSION}
- container_name: ocelot-config-server
- deploy:
- resources:
- limits:
- memory: 512M
- environment:
- - INSPECTIT_CONFIG_SERVER_WORKING_DIRECTORY=/configuration-server
- - INSPECTIT_CONFIG_SERVER_DEFAULT_USER_PASSWORD=demo
- volumes:
- - ./configuration-server:/configuration-server
- ports:
- - 8090:8090
-
- ## Self Monitoring
- ocelot-eum-server:
- image: inspectit/inspectit-ocelot-eum-server:${INSPECTIT_OCELOT_VERSION}
- container_name: ocelot-eum-server
- environment:
- - INSPECTIT_EUM_SERVER_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EUM_SERVER_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EUM_SERVER_EXPORTERS_METRICS_INFLUX_DATABASE=inspectit_eum
- deploy:
- resources:
- limits:
- memory: 256M
- volumes:
- - ./eum-server:/eum-server
- ports:
- - 8085:8085
-
- # Petclinic
- config-server:
- image: inspectit/spring-petclinic-config-server:${INSPECTIT_PETCLINIC_VERSION}
- container_name: config-server
- hostname: config-server
- environment:
- - INSPECTIT_SERVICE_NAME=config-server
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://zipkin:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- entrypoint: ["./dockerize", "java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8888:8888
-
- discovery-server:
- image: inspectit/spring-petclinic-discovery-server:${INSPECTIT_PETCLINIC_VERSION}
- container_name: discovery-server
- hostname: discovery-server
- environment:
- - INSPECTIT_SERVICE_NAME=discovery-server
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://zipkin:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- entrypoint: ["./dockerize","-wait=tcp://config-server:8888","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8761:8761
-
- customers-service:
- image: inspectit/spring-petclinic-customers-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: customers-service
- hostname: customers-service
- environment:
- - INSPECTIT_SERVICE_NAME=customers-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://zipkin:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8081:8081
-
- visits-service:
- image: inspectit/spring-petclinic-visits-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: visits-service
- hostname: visits-service
- environment:
- - INSPECTIT_SERVICE_NAME=visits-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://zipkin:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8082:8082
-
- vets-service:
- image: inspectit/spring-petclinic-vets-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: vets-service
- hostname: vets-service
- environment:
- - INSPECTIT_SERVICE_NAME=vets-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://zipkin:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8083:8083
-
- api-gateway:
- image: inspectit/spring-petclinic-api-gateway:${INSPECTIT_PETCLINIC_VERSION}
- container_name: api-gateway
- hostname: api-gateway
- environment:
- - INSPECTIT_SERVICE_NAME=api-gateway
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_ENABLED=false
- - INSPECTIT_EXPORTERS_METRICS_INFLUX_URL=http://influxdb:8086
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://zipkin:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8080:8080
-
- # Monitoring Backend
-
- # Load Generator
- ## Artificial load on Demo
- load:
- image: inspectit/spring-petclinic-load:1.0
- container_name: load-generator
- hostname: load-generator
-
- # InfluxDB
- ## Time Series Database
- influxdb:
- image: influxdb:1.8
- container_name: influxdb
- environment:
- - INFLUXDB_HTTP_FLUX_ENABLED=true
- - INFLUXDB_HTTP_LOG_ENABLED=false
- - INFLUXDB_DATA_QUERY_LOG_ENABLED=false
- deploy:
- resources:
- limits:
- memory: 512M
- volumes:
- - ./influx:/docker-entrypoint-initdb.d
- ports:
- - 8086:8086
-
- # Zipkin
- ## Collects and visualizes traces
- zipkin:
- image: openzipkin/zipkin
- container_name: zipkin
- ports:
- - 9411:9411
-
- # Grafana
- ## Dashboarding
- grafana:
- image: grafana/grafana:8.0.6
- container_name: grafana
- environment:
- - GF_PANELS_DISABLE_SANITIZE_HTML=TRUE
- - GF_SECURITY_ADMIN_PASSWORD=demo
- - GF_PATHS_PROVISIONING=/usr/share/grafana/custom/
- - GF_INSTALL_PLUGINS=https://github.com/NovatecConsulting/novatec-service-dependency-graph-panel/releases/download/v4.0.2/novatec-sdg-panel.zip;novatec-sdg-panel
- volumes:
- - ./grafana/provisioning/influxdb:/usr/share/grafana/custom/
- - ./grafana/provisioning/home-dashboard/home.json:/usr/share/grafana/public/dashboards/home.json
- ports:
- - 3000:3000
-
-volumes:
- agent-vol:
diff --git a/inspectit-ocelot-demo/docker-compose-prometheus-jaeger.yml b/inspectit-ocelot-demo/docker-compose-prometheus-jaeger.yml
deleted file mode 100644
index ad88545946..0000000000
--- a/inspectit-ocelot-demo/docker-compose-prometheus-jaeger.yml
+++ /dev/null
@@ -1,245 +0,0 @@
-version: '3'
-
-services:
- # Ocelot
- ## Serves as a collector for traces
- agent:
- image: inspectit/inspectit-ocelot-agent:${INSPECTIT_OCELOT_VERSION}
- container_name: agent
- deploy:
- resources:
- limits:
- memory: 128M
- volumes:
- - agent-vol:/agent
-
- ## Fetches the configuration
- ocelot-config-server:
- image: inspectit/inspectit-ocelot-configurationserver:${INSPECTIT_OCELOT_VERSION}
- container_name: ocelot-config-server
- deploy:
- resources:
- limits:
- memory: 256M
- environment:
- - INSPECTIT_CONFIG_SERVER_WORKING_DIRECTORY=/configuration-server
- - INSPECTIT_CONFIG_SERVER_DEFAULT_USER_PASSWORD=demo
- volumes:
- - ./configuration-server:/configuration-server
- ports:
- - 8090:8090
-
- ## Self Monitoring
- ocelot-eum-server:
- image: inspectit/inspectit-ocelot-eum-server:${INSPECTIT_OCELOT_VERSION}
- container_name: ocelot-eum-server
- hostname: ocelot-eum-server
- environment:
- - INSPECTIT_EUM_SERVER_EXPORTERS_METRICS_PROMETHEUS_PORT=9097
- - INSPECTIT_EUM_SERVER_EXPORTERS_METRICS_PROMETHEUS_HOST=0.0.0.0
- - INSPECTIT_EUM_SERVER_EXPORTERS_TRACING_JAEGER_GRPC=jaeger:14250
-
- deploy:
- resources:
- limits:
- memory: 256M
- volumes:
- - ./eum-server:/eum-server
- ports:
- - 8085:8085
- - 9097:9097
-
- # Petclinic
- config-server:
- image: inspectit/spring-petclinic-config-server:${INSPECTIT_PETCLINIC_VERSION}
- container_name: config-server
- hostname: config-server
- environment:
- - INSPECTIT_SERVICE_NAME=config-server
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9096
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- entrypoint: ["./dockerize", "java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8888:8888
- - 9096:9096
-
- discovery-server:
- image: inspectit/spring-petclinic-discovery-server:${INSPECTIT_PETCLINIC_VERSION}
- container_name: discovery-server
- hostname: discovery-server
- environment:
- - INSPECTIT_SERVICE_NAME=discovery-server
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9095
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- entrypoint: ["./dockerize","-wait=tcp://config-server:8888","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8761:8761
- - 9095:9095
-
- customers-service:
- image: inspectit/spring-petclinic-customers-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: customers-service
- hostname: customers-service
- environment:
- - INSPECTIT_SERVICE_NAME=customers-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9091
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8081:8081
- - 9091:9091
-
- visits-service:
- image: inspectit/spring-petclinic-visits-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: visits-service
- hostname: visits-service
- environment:
- - INSPECTIT_SERVICE_NAME=visits-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9092
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8082:8082
- - 9092:9092
-
- vets-service:
- image: inspectit/spring-petclinic-vets-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: vets-service
- hostname: vets-service
- environment:
- - INSPECTIT_SERVICE_NAME=vets-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9093
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8083:8083
- - 9093:9093
-
- api-gateway:
- image: inspectit/spring-petclinic-api-gateway:${INSPECTIT_PETCLINIC_VERSION}
- container_name: api-gateway
- hostname: api-gateway
- environment:
- - INSPECTIT_SERVICE_NAME=api-gateway
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9094
- - INSPECTIT_EXPORTERS_TRACING_JAEGER_URL=http://jaeger:14268/api/traces
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8080:8080
- - 9094:9094
-
- # Monitoring Backend
-
- # Load Generator
- ## Artificial load on Demo
- load:
- image: inspectit/spring-petclinic-load:1.0
- container_name: load-generator
- hostname: load-generator
-
- # Prometheus
- ## Time Series Database & Monitoring
- prometheus:
- image: prom/prometheus:v2.29.1
- container_name: prometheus
- volumes:
- - ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- ports:
- - 9090:9090
-
- # Jaeger
- ## Collects and visualizes traces
- jaeger:
- image: jaegertracing/all-in-one:1.25.0
- container_name: jaeger
- ports:
- - 16686:16686
-
- # Grafana
- ## Dashboarding
- grafana:
- image: grafana/grafana:8.0.6
- container_name: grafana
- environment:
- - GF_PANELS_DISABLE_SANITIZE_HTML=TRUE
- - GF_SECURITY_ADMIN_PASSWORD=demo
- - GF_PATHS_PROVISIONING=/usr/share/grafana/custom/
- - GF_INSTALL_PLUGINS=https://github.com/NovatecConsulting/novatec-service-dependency-graph-panel/releases/download/v4.0.2/novatec-sdg-panel.zip;novatec-sdg-panel
- volumes:
- - ./grafana/provisioning/prometheus:/usr/share/grafana/custom/
- - ./grafana/provisioning/home-dashboard/home.json:/usr/share/grafana/public/dashboards/home.json
-
- ports:
- - 3000:3000
-
-volumes:
- agent-vol:
diff --git a/inspectit-ocelot-demo/docker-compose-wavefront-zipkin.yml b/inspectit-ocelot-demo/docker-compose-wavefront-zipkin.yml
deleted file mode 100644
index ba7db1ab1a..0000000000
--- a/inspectit-ocelot-demo/docker-compose-wavefront-zipkin.yml
+++ /dev/null
@@ -1,223 +0,0 @@
-version: '3'
-
-services:
- # Ocelot
- ## Serves as a collector for traces
- agent:
- image: inspectit/inspectit-ocelot-agent:${INSPECTIT_OCELOT_VERSION}
- container_name: agent
- deploy:
- resources:
- limits:
- memory: 128M
- volumes:
- - agent-vol:/agent
-
- ## Fetches the configuration
- ocelot-config-server:
- image: inspectit/inspectit-ocelot-configurationserver:${INSPECTIT_OCELOT_VERSION}
- container_name: ocelot-config-server
- deploy:
- resources:
- limits:
- memory: 256M
- environment:
- - INSPECTIT_CONFIG_SERVER_WORKING_DIRECTORY=/configuration-server
- - INSPECTIT_CONFIG_SERVER_DEFAULT_USER_PASSWORD=demo
- volumes:
- - ./configuration-server:/configuration-server
- ports:
- - 8090:8090
-
- # Petclinic
- config-server:
- image: inspectit/spring-petclinic-config-server:${INSPECTIT_PETCLINIC_VERSION}
- container_name: config-server
- hostname: config-server
- environment:
- - INSPECTIT_SERVICE_NAME=config-server
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9096
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://wfproxy:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - agent
- - ocelot-config-server
- - wfproxy
- entrypoint: ["./dockerize", "java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8888:8888
- - 9096:9096
-
- discovery-server:
- image: inspectit/spring-petclinic-discovery-server:${INSPECTIT_PETCLINIC_VERSION}
- container_name: discovery-server
- hostname: discovery-server
- environment:
- - INSPECTIT_SERVICE_NAME=discovery-server
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9095
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://wfproxy:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - ocelot-config-server
- - agent
- - wfproxy
- - config-server
- entrypoint: ["./dockerize","-wait=tcp://config-server:8888","-timeout=60s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8761:8761
- - 9095:9095
-
- customers-service:
- image: inspectit/spring-petclinic-customers-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: customers-service
- hostname: customers-service
- environment:
- - INSPECTIT_SERVICE_NAME=customers-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9091
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://wfproxy:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - ocelot-config-server
- - agent
- - wfproxy
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=60s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8081:8081
- - 9091:9091
-
- visits-service:
- image: inspectit/spring-petclinic-visits-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: visits-service
- hostname: visits-service
- environment:
- - INSPECTIT_SERVICE_NAME=visits-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9092
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://wfproxy:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - ocelot-config-server
- - agent
- - wfproxy
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=60s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8082:8082
- - 9092:9092
-
- vets-service:
- image: inspectit/spring-petclinic-vets-service:${INSPECTIT_PETCLINIC_VERSION}
- container_name: vets-service
- hostname: vets-service
- environment:
- - INSPECTIT_SERVICE_NAME=vets-service
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9093
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://wfproxy:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - ocelot-config-server
- - agent
- - wfproxy
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=60s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8083:8083
- - 9093:9093
-
- api-gateway:
- image: inspectit/spring-petclinic-api-gateway:${INSPECTIT_PETCLINIC_VERSION}
- container_name: api-gateway
- hostname: api-gateway
- environment:
- - INSPECTIT_SERVICE_NAME=api-gateway
- - INSPECTIT_CONFIG_HTTP_URL=http://ocelot-config-server:8090/api/v1/agent/configuration
- - INSPECTIT_EXPORTERS_METRICS_PROMETHEUS_PORT=9094
- - INSPECTIT_EXPORTERS_TRACING_ZIPKIN_URL=http://wfproxy:9411/api/v2/spans
- deploy:
- resources:
- limits:
- memory: 512M
- depends_on:
- - ocelot-config-server
- - agent
- - wfproxy
- - config-server
- - discovery-server
- entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=60s","--","java", "-javaagent:/agent/inspectit-ocelot-agent.jar", "org.springframework.boot.loader.JarLauncher"]
- volumes:
- - agent-vol:/agent
- ports:
- - 8080:8080
- - 9094:9094
-
- # Monitoring Backend
-
- # Load Generator
- ## Artificial load on Demo
- load:
- image: inspectit/spring-petclinic-load:1.0
- container_name: load-generator
- hostname: load-generator
-
- # Wavefront
- ## Time Series Database & Monitoring & Dashboarding
- wfproxy:
- image: wavefronthq/proxy:latest
- container_name: wfproxy
- environment:
- - WAVEFRONT_URL=${WAVEFRONT_URL}
- - WAVEFRONT_TOKEN=${WAVEFRONT_TOKEN}
- - "WAVEFRONT_PROXY_ARGS=--traceZipkinListenerPorts 9411"
- ports:
- - 2879:2878
- - 9411:9411
-
- # Telegraf
- ## Monitoring Agent for Wavefront
- telegraf:
- image: telegraf:1.19.2
- container_name: telegraf
- depends_on:
- - wfproxy
- volumes:
- - ./telegraf/telegraf-wavefront.conf:/etc/telegraf/telegraf.conf:ro
- deploy:
- resources:
- limits:
- memory: 512M
-
-volumes:
- agent-vol:
diff --git a/inspectit-ocelot-demo/grafana/marketplace/dashboard-mapping.txt b/inspectit-ocelot-demo/grafana/marketplace/dashboard-mapping.txt
deleted file mode 100644
index 2b6dcdb8f3..0000000000
--- a/inspectit-ocelot-demo/grafana/marketplace/dashboard-mapping.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-10138=prometheus/http.json
-9598=prometheus/jvm.json
-10140=prometheus/selfmonitoring.json
-10139=prometheus/servicegraph.json
-9599=prometheus/system.json
-10141=influx/http.json
-9600=influx/jvm.json
-10143=influx/selfmonitoring.json
-10142=influx/servicegraph.json
-9601=influx/system.json
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/marketplace/influx/http.json b/inspectit-ocelot-demo/grafana/marketplace/influx/http.json
deleted file mode 100644
index 8cf30727c8..0000000000
--- a/inspectit-ocelot-demo/grafana/marketplace/influx/http.json
+++ /dev/null
@@ -1,1311 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_LOCALINFLUX",
- "label": "LocalInflux",
- "description": "",
- "type": "datasource",
- "pluginId": "influxdb",
- "pluginName": "InfluxDB"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.3"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "influxdb",
- "name": "InfluxDB",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- },
- {
- "type": "panel",
- "id": "table",
- "name": "Table",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "$$hashKey": "object:290",
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1588835205547,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 4,
- "panels": [],
- "repeat": "service",
- "title": "$service",
- "type": "row"
- },
- {
- "columns": [],
- "datasource": "${DS_LOCALINFLUX}",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 1
- },
- "id": 2,
- "links": [],
- "pageSize": null,
- "repeat": null,
- "repeatDirection": "h",
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 4,
- "desc": true
- },
- "styles": [
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "none"
- }
- ],
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path\n) GROUP BY http_path",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path fill(0)\n)\nGROUP BY http_path",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Incoming Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 1
- },
- "hiddenSeries": false,
- "id": 23,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_path",
- "expr": "(sum(increase(http_in_responsetime_sum{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)) >= 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "legendFormat": "{{http_path}}",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count)\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "decimals": 2,
- "description": "Incoming HTTP Requests per second for the selected endpoints and applications",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 1
- },
- "hideTimeOverride": true,
- "id": 6,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "In Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "decimals": 2,
- "description": "The error rate of incoming http requests for the selected endpoints and applications",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 1
- },
- "hideTimeOverride": true,
- "id": 44,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_in_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "In Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "columns": [],
- "datasource": "${DS_LOCALINFLUX}",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 6
- },
- "id": 45,
- "links": [],
- "pageSize": null,
- "repeatDirection": "h",
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 6,
- "desc": true
- },
- "styles": [
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "preserveFormat": false,
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "Target Host",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_host",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "expr": "sum(label_join(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]), \"http_url\", \"\", \"http_host\", \"http_path\")) by (http_url) > 0",
- "format": "table",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host\n) GROUP BY *",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host fill(0)\n)\nGROUP BY *",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Outgoing Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 6
- },
- "hiddenSeries": false,
- "id": 76,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_host$tag_http_path",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count) AS value \nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path,http_host fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "decimals": 2,
- "description": "Outgoing HTTP Requests per second issued towards the selected endpoints from the given application",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 6
- },
- "hideTimeOverride": true,
- "id": 112,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "Out Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "decimals": 2,
- "description": "The error rate of outgoing http requests issued towards the selected endpoints of the selected application",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 6
- },
- "hideTimeOverride": true,
- "id": 153,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_out_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "Out Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {},
- "datasource": "${DS_LOCALINFLUX}",
- "definition": "SHOW TAG VALUES WITH key = \"service\"",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": "Service",
- "multi": true,
- "name": "service",
- "options": [],
- "query": "SHOW TAG VALUES WITH key = \"service\"",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": ".*",
- "current": {},
- "datasource": "${DS_LOCALINFLUX}",
- "definition": "SHOW TAG VALUES WITH key = \"http_path\"",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": "Endpoint",
- "multi": true,
- "name": "path",
- "options": [],
- "query": "SHOW TAG VALUES WITH key = \"http_path\"",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-5m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "HTTP Overview",
- "uid": "523wqxqmz",
- "variables": {
- "list": []
- },
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/marketplace/influx/jvm.json b/inspectit-ocelot-demo/grafana/marketplace/influx/jvm.json
deleted file mode 100644
index c279c3884d..0000000000
--- a/inspectit-ocelot-demo/grafana/marketplace/influx/jvm.json
+++ /dev/null
@@ -1,1963 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_LOCALINFLUX",
- "label": "LocalInflux",
- "description": "",
- "type": "datasource",
- "pluginId": "influxdb",
- "pluginName": "InfluxDB"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "5.4.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": "5.0.0"
- },
- {
- "type": "datasource",
- "id": "influxdb",
- "name": "InfluxDB",
- "version": "5.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": "5.0.0"
- },
- {
- "type": "panel",
- "id": "text",
- "name": "Text",
- "version": "5.0.0"
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1587549648580,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 7,
- "panels": [],
- "repeat": "service",
- "title": "$service",
- "type": "row"
- },
- {
- "aliasColors": {
- "process_cpu_usage ": "#badff4",
- "system_cpu_usage ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 7,
- "x": 0,
- "y": 1
- },
- "id": 11,
- "interval": "5s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "System CPU Usage",
- "color": "#1f78c1"
- },
- {
- "alias": "JVM CPU Usage",
- "color": "#70dbed"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "System CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"process_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 1
- },
- "id": 39,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "daemon ": "#0a50a1",
- "live-non-daemon ": "#82b5d8",
- "non-daemon ": "#82b5d8",
- "peak ": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 1
- },
- "id": 42,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "peak live since JVM start",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 3
- },
- {
- "alias": "total live"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total live",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_live",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "live daemons",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_daemon",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "peak live since JVM start",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_peak",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [
- {
- "colorMode": "background6",
- "fill": true,
- "line": false,
- "op": "time"
- }
- ],
- "timeShift": null,
- "title": "# Live Threads",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 1
- },
- "id": 46,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Allocated Memory",
- "bars": true,
- "color": "#ef843c",
- "lines": false
- },
- {
- "alias": "Promoted Memory",
- "bars": true,
- "color": "#629e51",
- "lines": false
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Live Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_live_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Max Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_max_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Allocated Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_allocated",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Promoted Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_promoted",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "F",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Memory",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 4,
- "x": 0,
- "y": 7
- },
- "id": 49,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.8,0.9",
- "title": "Current CPU Usage",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 7
- },
- "id": 4,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_loaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Loaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 7
- },
- "id": 40,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Non-Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 7
- },
- "id": 41,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_state",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "state"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_states",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "# Threads by States",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Major GC": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 7
- },
- "id": 47,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": false,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 3,
- "points": true,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Minor GC"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Minor GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of minor GC"
- }
- ]
- },
- {
- "alias": "Major GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of major GC"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Pauses",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 10
- },
- "id": 12,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_unloaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_unloaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Unloaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "content": "----",
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 13
- },
- "id": 51,
- "links": [],
- "mode": "html",
- "title": "",
- "transparent": true,
- "type": "text"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 16,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {},
- "datasource": "${DS_LOCALINFLUX}",
- "definition": "SHOW TAG VALUES WITH KEY=\"service\"",
- "hide": 0,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "service",
- "options": [],
- "query": "SHOW TAG VALUES WITH KEY=\"service\"",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "JVM Metrics",
- "uid": "jaEIHn8ik",
- "version": 2
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/marketplace/influx/selfmonitoring.json b/inspectit-ocelot-demo/grafana/marketplace/influx/selfmonitoring.json
deleted file mode 100644
index 7269739932..0000000000
--- a/inspectit-ocelot-demo/grafana/marketplace/influx/selfmonitoring.json
+++ /dev/null
@@ -1,1220 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_LOCALINFLUX",
- "label": "LocalInflux",
- "description": "",
- "type": "datasource",
- "pluginId": "influxdb",
- "pluginName": "InfluxDB"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.3"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "influxdb",
- "name": "InfluxDB",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- },
- {
- "type": "panel",
- "id": "table",
- "name": "Table",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "$$hashKey": "object:10",
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1588835108154,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "panels": [],
- "repeat": "service",
- "title": "$service",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "decimals": 3,
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 0,
- "y": 1
- },
- "id": 4,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT LAST(\"instrumented\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "10,30",
- "title": "Instr. Scope",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "columns": [],
- "datasource": "${DS_LOCALINFLUX}",
- "fontSize": "120%",
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 3,
- "y": 1
- },
- "id": 47,
- "links": [],
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": false
- },
- "styles": [
- {
- "alias": "Time",
- "align": "auto",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "hidden"
- },
- {
- "alias": "Description",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Metric",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Count",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "Value",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "alias": "# classes loaded by JVM",
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# instrumented classes",
- "groupBy": [],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# classes pending for analysis",
- "groupBy": [],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "title": "Instrumentation State",
- "transform": "timeseries_to_rows",
- "type": "table"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 9,
- "y": 1
- },
- "id": 23,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - LAST(\"queuesize\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.33,0.66",
- "title": "Analysis Progress",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#890f02",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 1
- },
- "id": 76,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:380",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:381",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^ERROR$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Errors",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:383",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "classes pending for hook": "#99440a"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 10,
- "x": 14,
- "y": 1
- },
- "hiddenSeries": false,
- "id": 49,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "instrumented classes",
- "color": "#629e51",
- "fill": 5,
- "zindex": 3
- },
- {
- "alias": "classes pending for analysis",
- "color": "#eab839",
- "zindex": 0
- },
- {
- "alias": "loaded classes",
- "color": "#82b5d8",
- "zindex": -3
- },
- {
- "alias": "JVM CPU Utilization",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 2,
- "yaxis": 2,
- "zindex": 3
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "loaded classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "instrumented classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "classes pending for analysis",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Instrumentation State over time (Logarithmic Scale)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "# Classes",
- "logBase": 10,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1",
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 3
- },
- "id": 107,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:421",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:422",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^WARN$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Warnings",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:424",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 5
- },
- "id": 108,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:462",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:463",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^INFO|DEBUG|TRACE$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Other Logs",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:465",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {},
- "datasource": "${DS_LOCALINFLUX}",
- "definition": "SHOW TAG VALUES WITH KEY = \"service\"",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": null,
- "multi": true,
- "name": "service",
- "options": [],
- "query": "SHOW TAG VALUES WITH KEY = \"service\"",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "inspectIT Agent Self-Monitoring",
- "uid": "D-EaVt_ik",
- "variables": {
- "list": []
- },
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/marketplace/influx/servicegraph.json b/inspectit-ocelot-demo/grafana/marketplace/influx/servicegraph.json
deleted file mode 100644
index c9343bb66e..0000000000
--- a/inspectit-ocelot-demo/grafana/marketplace/influx/servicegraph.json
+++ /dev/null
@@ -1,483 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_LOCALINFLUX",
- "label": "LocalInflux",
- "description": "",
- "type": "datasource",
- "pluginId": "influxdb",
- "pluginName": "InfluxDB"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.3"
- },
- {
- "type": "datasource",
- "id": "influxdb",
- "name": "InfluxDB",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "novatec-service-dependency-graph-panel",
- "name": "Service Dependency Graph",
- "version": "2.0"
- }
- ],
- "annotations": {
- "list": [
- {
- "$$hashKey": "object:728",
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1588835372501,
- "links": [],
- "panels": [
- {
- "dataMapping": {
- "errorRateColumn": "error-rate",
- "errorRateOutgoingColumn": "error-rate-out",
- "extOrigin": "origin_external",
- "extTarget": "target_external",
- "requestRateColumn": "in_count",
- "requestRateExternalColumn": "request-rate-external",
- "requestRateOutgoingColumn": "out_count",
- "responseTimeColumn": "in_responsetime",
- "responseTimeExternalColumn": "response-time-external",
- "responseTimeOutgoingColumn": "out_responsetime",
- "sourceComponentPrefix": "origin_",
- "targetComponentPrefix": "target_",
- "type": "protocol"
- },
- "datasource": "${DS_LOCALINFLUX}",
- "gridPos": {
- "h": 20,
- "w": 22,
- "x": 0,
- "y": 0
- },
- "id": 4,
- "links": [],
- "sdgSettings": {
- "externalIcons": [
- {
- "icon": "web",
- "type": "web"
- },
- {
- "icon": "message",
- "type": "jms"
- },
- {
- "icon": "database",
- "type": "jdbc"
- },
- {
- "icon": "http",
- "type": "http"
- }
- ],
- "filterEmptyConnections": true,
- "layout": "ltrTree",
- "maxVolume": 10000,
- "showConnectionStats": true,
- "sumTimings": false
- },
- "sdgStyle": {
- "dangerColor": "rgb(184, 36, 36)",
- "healthyColor": "rgb(87, 148, 242)"
- },
- "settings": {
- "animate": true,
- "dataMapping": {
- "errorRateColumn": "in_errors",
- "errorRateOutgoingColumn": "out_errors",
- "extOrigin": "origin_external",
- "extTarget": "target_external",
- "requestRateColumn": "in_count",
- "requestRateOutgoingColumn": "out_count",
- "responseTimeColumn": "in_responsetime",
- "responseTimeOutgoingColumn": "out_responsetime",
- "sourceComponentPrefix": "origin_",
- "targetComponentPrefix": "target_",
- "type": "protocol"
- },
- "drillDownLink": "",
- "externalIcons": [
- {
- "$$hashKey": "object:822",
- "filename": "web",
- "name": "web"
- },
- {
- "$$hashKey": "object:823",
- "filename": "message",
- "name": "jms"
- },
- {
- "$$hashKey": "object:824",
- "filename": "database",
- "name": "jdbc"
- },
- {
- "$$hashKey": "object:825",
- "filename": "http",
- "name": "http"
- }
- ],
- "filterEmptyConnections": true,
- "showConnectionStats": true,
- "showDebugInformation": false,
- "showDummyData": false,
- "style": {
- "dangerColor": "rgb(184, 36, 36)",
- "healthyColor": "rgb(87, 148, 242)"
- },
- "sumTimings": false
- },
- "targets": [
- {
- "alias": "in_count",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "service_in_count",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"count\") AS \"in_count\" FROM \"autogen\".\"service_in_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND $timeFilter\nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "spread"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"count\") AS \"out_count\" FROM \"autogen\".\"service_out_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND $timeFilter\nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"sum\")/SUM(\"count\") AS \"in_responsetime\" FROM \"autogen\".\"service_in_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND $timeFilter\nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"sum\")/SUM(\"count\") AS \"out_responsetime\" FROM \"autogen\".\"service_out_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND $timeFilter\nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "alias": "in_count",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "service_in_count",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"count\") AS \"in_errors\" FROM \"autogen\".\"service_in_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND \"error\"='true' AND $timeFilter\nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "E",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "spread"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"count\") AS \"out_errors\" FROM \"autogen\".\"service_out_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND \"error\"='true' AND $timeFilter\nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "F",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Service Graph",
- "type": "novatec-service-dependency-graph-panel"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "service",
- "value": "service"
- },
- "hide": 2,
- "includeAll": false,
- "label": "",
- "multi": false,
- "name": "aggregationType",
- "options": [
- {
- "selected": true,
- "text": "service",
- "value": "service"
- }
- ],
- "query": "service",
- "skipUrlSync": false,
- "type": "custom"
- },
- {
- "allValue": ".*",
- "current": {},
- "datasource": "${DS_LOCALINFLUX}",
- "definition": "SHOW TAG VALUES WITH KEY=\"service\"",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": "Service",
- "multi": true,
- "name": "service",
- "options": [],
- "query": "SHOW TAG VALUES WITH KEY=\"service\"",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-5m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Service Graph",
- "uid": "Kx4wbZRZk",
- "variables": {
- "list": []
- },
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/marketplace/influx/system.json b/inspectit-ocelot-demo/grafana/marketplace/influx/system.json
deleted file mode 100644
index fffeed00c3..0000000000
--- a/inspectit-ocelot-demo/grafana/marketplace/influx/system.json
+++ /dev/null
@@ -1,921 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_LOCALINFLUX",
- "label": "LocalInflux",
- "description": "",
- "type": "datasource",
- "pluginId": "influxdb",
- "pluginName": "InfluxDB"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "5.4.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": "5.0.0"
- },
- {
- "type": "datasource",
- "id": "influxdb",
- "name": "InfluxDB",
- "version": "5.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": "5.0.0"
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1580729039210,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 7,
- "panels": [],
- "repeat": "host",
- "title": "$host",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#bf1b00"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 0,
- "y": 1
- },
- "id": 5,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "last",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "CPU Usage",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "CPU Utilization": "#82b5d8",
- "Load Average": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 3,
- "y": 1
- },
- "id": 11,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 3,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Load Average",
- "fill": 0,
- "linewidth": 3,
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "Load Average",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_load_average_1m",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 12,
- "y": 1
- },
- "id": 4,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - last(\"free\") / last(\"total\") FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Disk Usage",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "disk_free ": "#629e51",
- "disk_used ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALINFLUX}",
- "fill": 7,
- "gridPos": {
- "h": 6,
- "w": 9,
- "x": 15,
- "y": 1
- },
- "id": 13,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total capacity",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_total",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "usedPerc = () => {\ntotal = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_total\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nfree = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nreturn join(tables:{total:total, free:free},on:[\"_time\",\"_stop\",\"_start\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_total - r._value_free),\n _measurement: \"disk_used\"\n }))\n}\n\nusedPerc()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"total\")- mean(free) FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Disk Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 0,
- "y": 5
- },
- "id": 9,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_count",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "from(bucket: \"telegraf\")\n|> range(start: -1m)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_count\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])\n|> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "",
- "title": "# CPUs",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "${DS_LOCALINFLUX}",
- "decimals": null,
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 12,
- "y": 5
- },
- "id": 12,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "disk_free",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\"])\n |> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "500000,200000",
- "title": "Disk Free",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 16,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {},
- "datasource": "${DS_LOCALINFLUX}",
- "definition": "SHOW TAG VALUES WITH KEY = \"host\"",
- "hide": 0,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "host",
- "options": [],
- "query": "SHOW TAG VALUES WITH KEY = \"host\"",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "System Metrics",
- "uid": "system-metrics",
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/marketplace/prometheus/http.json b/inspectit-ocelot-demo/grafana/marketplace/prometheus/http.json
deleted file mode 100644
index f697d59701..0000000000
--- a/inspectit-ocelot-demo/grafana/marketplace/prometheus/http.json
+++ /dev/null
@@ -1,1037 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_LOCALPROMETHEUS",
- "label": "LocalPrometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.3"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- },
- {
- "type": "panel",
- "id": "table",
- "name": "Table",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "$$hashKey": "object:1734",
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1588834567590,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 4,
- "panels": [],
- "repeat": "service",
- "title": "$service",
- "type": "row"
- },
- {
- "columns": [],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 1
- },
- "id": 2,
- "links": [],
- "pageSize": null,
- "repeat": null,
- "repeatDirection": "h",
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": true
- },
- "styles": [
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "Value #A",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "Value #B",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Value #C",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- }
- ],
- "targets": [
- {
- "expr": "sum(increase(http_in_count{service=\"$service\",http_path=~\"$path\"}[$__range])) by (http_path) > 0",
- "format": "table",
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- },
- {
- "expr": "sum(increase(http_in_responsetime_sum{service=\"$service\",http_path=~\"$path\"}[$__range])) by (http_path) \n/ sum(increase(http_in_count{service=\"$service\",http_path=~\"$path\"}[$__range])) by (http_path) > 0",
- "format": "table",
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "B"
- },
- {
- "expr": "(sum(increase(http_in_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",http_path=~\"$path\"}[$__range])) by (http_path) \n/ sum(increase(http_in_count{service=\"$service\",http_path=~\"$path\"}[$__range])) by (http_path)) >= 0\nor (sum(increase(http_in_count{service=\"$service\",http_path=~\"$path\"}[$__range])) by (http_path) > 0) * 0",
- "format": "table",
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "C"
- }
- ],
- "title": "Incoming Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 1
- },
- "hiddenSeries": false,
- "id": 23,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "(sum(increase(http_in_responsetime_sum{service=\"$service\",http_path=~\"$path\"}[$__interval])) by (http_path)\n/ sum(increase(http_in_count{service=\"$service\",http_path=~\"$path\"}[$__interval])) by (http_path)) >= 0",
- "format": "time_series",
- "instant": false,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "{{http_path}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "decimals": 2,
- "description": "Incoming HTTP Requests per second for the selected endpoints and applications",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 1
- },
- "hideTimeOverride": true,
- "id": 6,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_in_count{service=\"$service\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "instant": false,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "timeShift": "15s",
- "title": "In Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "decimals": 2,
- "description": "The error rate of incoming http requests for the selected endpoints and applications",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 1
- },
- "hideTimeOverride": true,
- "id": 44,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_in_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_in_count{service=\"$service\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_in_count{service=\"$service\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": "15s",
- "title": "In Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "columns": [],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 6
- },
- "id": 45,
- "links": [],
- "pageSize": null,
- "repeatDirection": "h",
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 6,
- "desc": true
- },
- "styles": [
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "Value #A",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "Value #B",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "preserveFormat": false,
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Value #C",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "Target Host",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_host",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Http URL",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_url",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "expr": "sum(label_join(increase(http_out_count{service=\"$service\",http_path=~\"$path\"}[$__range]), \"http_url\", \"\", \"http_host\", \"http_path\")) by (http_url) > 0",
- "format": "table",
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- },
- {
- "expr": "label_join(sum(increase(http_out_responsetime_sum{service=\"$service\",http_path=~\"$path\"}[$__range])) by (http_host,http_path) \n/ sum(increase(http_out_count{service=\"$service\",http_path=~\"$path\"}[$__range])) by (http_host,http_path) > 0, \"http_url\", \"\", \"http_host\", \"http_path\")",
- "format": "table",
- "hide": false,
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "B"
- },
- {
- "expr": "label_join((sum(increase(http_out_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",http_path=~\"$path\"}[$__range])) by (http_path) \n/ sum(increase(http_out_count{service=\"$service\",http_path=~\"$path\"}[$__range])) by (http_host,http_path)) >= 0\nor (sum(increase(http_out_count{service=\"$service\",http_path=~\"$path\"}[$__range])) by (http_host,http_path) > 0) * 0 , \"http_url\", \"\", \"http_host\", \"http_path\")",
- "format": "table",
- "hide": false,
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "C"
- }
- ],
- "title": "Outgoing Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 6
- },
- "hiddenSeries": false,
- "id": 76,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "(sum(increase(http_out_responsetime_sum{service=\"$service\",http_path=~\"$path\"}[$__interval])) by (http_host,http_path)\n/ sum(increase(http_out_count{service=\"$service\",http_path=~\"$path\"}[$__interval])) by (http_host,http_path)) >= 0",
- "format": "time_series",
- "instant": false,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "{{http_host}}{{http_path}}",
- "refId": "A"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "decimals": 2,
- "description": "Outgoing HTTP Requests per second issued towards the selected endpoints from the given application",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 6
- },
- "hideTimeOverride": true,
- "id": 112,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_out_count{service=\"$service\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "instant": false,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "",
- "timeShift": "15s",
- "title": "Out Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "decimals": 2,
- "description": "The error rate of outgoing http requests issued towards the selected endpoints of the selected application",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 6
- },
- "hideTimeOverride": true,
- "id": 153,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_out_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_out_count{service=\"$service\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_out_count{service=\"$service\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": "15s",
- "title": "Out Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {},
- "datasource": "${DS_LOCALPROMETHEUS}",
- "definition": "label_values(service)",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": "Service",
- "multi": true,
- "name": "service",
- "options": [],
- "query": "label_values(service)",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": ".*",
- "current": {},
- "datasource": "${DS_LOCALPROMETHEUS}",
- "definition": "label_values(http_path)",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": "Endpoint",
- "multi": true,
- "name": "path",
- "options": [],
- "query": "label_values(http_path)",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-5m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "HTTP Overview",
- "uid": "523wqxqmz",
- "variables": {
- "list": []
- },
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/marketplace/prometheus/jvm.json b/inspectit-ocelot-demo/grafana/marketplace/prometheus/jvm.json
deleted file mode 100644
index 30727f8cfe..0000000000
--- a/inspectit-ocelot-demo/grafana/marketplace/prometheus/jvm.json
+++ /dev/null
@@ -1,1795 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_LOCALPROMETHEUS",
- "label": "LocalPrometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "5.4.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": "5.0.0"
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "5.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": "5.0.0"
- },
- {
- "type": "panel",
- "id": "text",
- "name": "Text",
- "version": "5.0.0"
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1567608124582,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 7,
- "panels": [],
- "repeat": "service",
- "title": "$service",
- "type": "row"
- },
- {
- "aliasColors": {
- "process_cpu_usage": "#badff4",
- "process_cpu_usage ": "#badff4",
- "system_cpu_usage": "#1f78c1",
- "system_cpu_usage ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 7,
- "x": 0,
- "y": 1
- },
- "id": 11,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "process_cpu_usage{service=\"$service\"}",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "process_cpu_usage",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"process_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])",
- "refId": "A",
- "resultFormat": "time_series"
- },
- {
- "expr": "system_cpu_usage{service=\"$service\"}",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "system_cpu_usage",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n",
- "refId": "B",
- "resultFormat": "time_series"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 1
- },
- "id": 39,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "expr": "sum(jvm_memory_max{service=\"$service\", area=\"heap\"})",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "max",
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "committed",
- "expr": "sum(jvm_memory_committed{service=\"$service\", area=\"heap\"})",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "committed",
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "used",
- "expr": "sum(jvm_memory_used{service=\"$service\", area=\"heap\"})",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "used",
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "daemon": "#0a50a1",
- "daemon ": "#0a50a1",
- "live-non-daemon ": "#82b5d8",
- "non-daemon ": "#82b5d8",
- "non-deamon": "#82b5d8",
- "peak": "#bf1b00",
- "peak ": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 1
- },
- "id": 42,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "expr": "jvm_threads_daemon{service=\"$service\"}",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "daemon",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_daemon\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> map(fn:(r) => ({\n _time: r._time,\n _value: r._value,\n _measurement: \"daemon\"\n }))\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])",
- "refId": "B"
- },
- {
- "alias": "$tag_state",
- "expr": "jvm_threads_live{service=\"$service\"} - jvm_threads_daemon{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "state"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "non-deamon",
- "measurement": "jvm_threads_states",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "lnd = () => {\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \ndaemon = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_daemon\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nreturn join(tables:{live:live, daemon:daemon},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_live - r._value_daemon),\n _measurement: \"non-daemon\"\n }))\n}\n\nlnd()",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "expr": "jvm_threads_peak{service=\"$service\"} - jvm_threads_live{service=\"$service\"}",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "peak",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "C"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [
- {
- "colorMode": "background6",
- "fill": true,
- "line": false,
- "op": "time"
- }
- ],
- "timeShift": null,
- "title": "# Live Threads",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 1
- },
- "id": 46,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Allocated Memory",
- "bars": true,
- "color": "#ef843c",
- "lines": false
- },
- {
- "alias": "Promoted Memory",
- "bars": true,
- "color": "#629e51",
- "lines": false
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Live Data Size",
- "expr": "jvm_gc_live_data_size{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "Live Data Size",
- "measurement": "jvm_gc_live_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Max Data Size",
- "expr": "jvm_gc_max_data_size{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "intervalFactor": 1,
- "legendFormat": "Max Data Size",
- "measurement": "jvm_gc_max_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Allocated Memory",
- "expr": "idelta(jvm_gc_memory_allocated{service=\"$service\"}[$__range])",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "Allocated Memory",
- "measurement": "jvm_gc_memory_allocated",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT difference(sum(\"counter\")) FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(15s)",
- "rawQuery": false,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Promoted Memory",
- "expr": "idelta(jvm_gc_memory_promoted{service=\"$service\"}[$__range])",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "Promoted Memory",
- "measurement": "jvm_gc_memory_promoted",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT difference(sum(\"counter\")) FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(15s)",
- "rawQuery": false,
- "refId": "F",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Memory",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 4,
- "x": 0,
- "y": 7
- },
- "id": 49,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "process_cpu_usage{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [],
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.8,0.9",
- "title": "Current CPU Usage",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 7
- },
- "id": 4,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "jvm_classes_loaded{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_loaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Loaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 7
- },
- "id": 40,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "expr": "sum(jvm_memory_max{service=\"$service\", area=\"nonheap\"})",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "max",
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "committed",
- "expr": "sum(jvm_memory_committed{service=\"$service\", area=\"nonheap\"})",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "committed",
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "used",
- "expr": "sum(jvm_memory_used{service=\"$service\", area=\"nonheap\"})",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "used",
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Non-Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 7
- },
- "id": 41,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_state",
- "expr": "jvm_threads_states{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "state"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "{{state}}",
- "measurement": "jvm_threads_states",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "# Threads by States",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Major GC": "#bf1b00"
- },
- "bars": true,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 7
- },
- "id": 47,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": false,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "expr": "sum(idelta(jvm_gc_pause{service=\"$service\", action=\"end of minor GC\"}[$__range]))",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "Minor GC",
- "refId": "A"
- },
- {
- "expr": "idelta(jvm_gc_pause{service=\"$service\", action=\"end of major GC\"}[$__range])",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "Major GC",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Pauses",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 10
- },
- "id": 12,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "jvm_classes_unloaded{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_unloaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Unloaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "content": "----",
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 13
- },
- "id": 51,
- "links": [],
- "mode": "html",
- "title": "",
- "transparent": true,
- "type": "text"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 16,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {},
- "datasource": "${DS_LOCALPROMETHEUS}",
- "definition": "label_values(service)",
- "hide": 0,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "service",
- "options": [],
- "query": "label_values(service)",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "JVM Metrics",
- "uid": "D65bST8iz",
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/marketplace/prometheus/selfmonitoring.json b/inspectit-ocelot-demo/grafana/marketplace/prometheus/selfmonitoring.json
deleted file mode 100644
index 5fa706e730..0000000000
--- a/inspectit-ocelot-demo/grafana/marketplace/prometheus/selfmonitoring.json
+++ /dev/null
@@ -1,1023 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_LOCALPROMETHEUS",
- "label": "LocalPrometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.3"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": ""
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": ""
- },
- {
- "type": "panel",
- "id": "table",
- "name": "Table",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "$$hashKey": "object:181",
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1588836480548,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "panels": [],
- "repeat": "service",
- "title": "$service",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "decimals": 3,
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 0,
- "y": 1
- },
- "id": 4,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "inspectit_self_instrumented_classes{service=\"$service\"} / jvm_classes_loaded{service=\"$service\"}",
- "format": "time_series",
- "instant": true,
- "intervalFactor": 1,
- "query": "perc = () => {\ninstrumented = from(bucket: \"telegraf\")\n|> range(start:-1h)\n|> filter(fn: (r) => \nr._measurement == \"inspectit_self_instrumented_classes\" AND \nr.service == \"$service\" AND \nr._field == \"gauge\")\n|> keep(columns: [\"_time\",\"_value\"])\n\n\nloaded = from(bucket: \"telegraf\")\n|> range(start:-1h)\n|> filter(fn: (r) => \nr._measurement == \"jvm_classes_loaded\" AND \nr.service == \"$service\" AND \nr._field == \"gauge\")\n|> keep(columns: [\"_time\",\"_value\"])\n\n\nreturn join(tables:{instrumented:instrumented, loaded:loaded},on:[\"_time\"])\n|> map(fn:(r) => ({\n_time: r._time,\n_value: (r._value_instrumented / r._value_loaded),\n_measurement: \"perc-instrumented\" }))\n|> last()\n}\n\nperc()",
- "refId": "A",
- "resultFormat": "time_series"
- }
- ],
- "thresholds": "10,30",
- "title": "Instr. Scope",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "columns": [],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fontSize": "120%",
- "gridPos": {
- "h": 6,
- "w": 7,
- "x": 3,
- "y": 1
- },
- "id": 47,
- "links": [],
- "pageSize": null,
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 2,
- "desc": true
- },
- "styles": [
- {
- "alias": "Time",
- "align": "auto",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "hidden"
- },
- {
- "alias": "Description",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Metric",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Count",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "Value",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "alias": "# classes loaded by JVM",
- "expr": "jvm_classes_loaded{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [],
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "# classes loaded by JVM",
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# instrumented classes",
- "expr": "inspectit_self_instrumentation_queue_size{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [],
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "# classes pending for analysis",
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# classes pending for analysis",
- "expr": "inspectit_self_instrumented_classes{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [],
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "# instrumented classes",
- "measurement": "inspectit_self_instrumentation_analysis_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "expr": "inspectit_self_logs{service=\"$service\",level=\"ERROR\"}",
- "format": "time_series",
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "# errors since startup",
- "refId": "D"
- },
- {
- "expr": "inspectit_self_logs{service=\"$service\",level=\"WARN\"}",
- "format": "time_series",
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "# warnings since startup",
- "refId": "E"
- }
- ],
- "title": "Instrumentation State",
- "transform": "timeseries_to_rows",
- "type": "table"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorPostfix": false,
- "colorValue": false,
- "colors": [
- "rgb(33, 33, 36)",
- "#890f02",
- "#299c46"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "decimals": 0,
- "description": "Number of newly logged errors. This metric can display too low numbers in case the agent just restarted!",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 10,
- "y": 1
- },
- "id": 76,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:291",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:292",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": " ",
- "postfixFontSize": "30%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(increase(inspectit_self_logs{service=~\"$service\",level=~\"FATAL|ERROR\"}[$__range]))",
- "format": "time_series",
- "instant": true,
- "intervalFactor": 1,
- "refId": "A"
- }
- ],
- "thresholds": "1",
- "title": "Errors",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:294",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 12,
- "y": 1
- },
- "id": 23,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "1 - (inspectit_self_instrumentation_queue_size{service=\"$service\"}/jvm_classes_loaded{service=\"$service\"})",
- "format": "time_series",
- "instant": true,
- "intervalFactor": 1,
- "query": "perc = () => {\ninstrumented = from(bucket: \"telegraf\")\n|> range(start:-1h)\n|> filter(fn: (r) => \nr._measurement == \"inspectit_self_instrumentation_analysis_queue_size\" AND \nr.service == \"$service\" AND \nr._field == \"gauge\")\n|> keep(columns: [\"_time\",\"_value\"])\n\n\nloaded = from(bucket: \"telegraf\")\n|> range(start:-1h)\n|> filter(fn: (r) => \nr._measurement == \"jvm_classes_loaded\" AND \nr.service == \"$service\" AND \nr._field == \"gauge\")\n|> keep(columns: [\"_time\",\"_value\"])\n\n\nreturn join(tables:{instrumented:instrumented, loaded:loaded},on:[\"_time\"])\n|> map(fn:(r) => ({\n_time: r._time,\n_value: 1.0 - (r._value_instrumented / r._value_loaded),\n_measurement: \"progress\" }))\n|> last()\n}\n\nperc()",
- "refId": "A",
- "resultFormat": "time_series"
- }
- ],
- "thresholds": "0.33,0.66",
- "title": "Instrumentation Progress",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {
- "classes pending for hook": "#99440a"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 9,
- "x": 15,
- "y": 1
- },
- "hiddenSeries": false,
- "id": 49,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "instrumented classes",
- "color": "#629e51",
- "fill": 5,
- "zindex": 3
- },
- {
- "alias": "classes pending for analysis",
- "color": "#eab839",
- "zindex": 0
- },
- {
- "alias": "loaded classes",
- "color": "#82b5d8",
- "zindex": -3
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "loaded classes",
- "expr": "inspectit_self_instrumented_classes{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "instrumented classes",
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "instrumented classes",
- "expr": "inspectit_self_instrumentation_queue_size{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "classes pending for analysis",
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "classes pending for analysis",
- "expr": "jvm_classes_loaded{service=\"$service\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "loaded classes",
- "measurement": "inspectit_self_instrumentation_analysis_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Instrumentation State over time (Logarithmic Scale)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "# Classes",
- "logBase": 10,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorPostfix": false,
- "colorValue": false,
- "colors": [
- "rgba(33, 33, 36, 1)",
- "#967302",
- "#299c46"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "decimals": 0,
- "description": "Number of newly logged warnings. This metric can display too low numbers in case the agent just restarted!",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 10,
- "y": 3
- },
- "id": 107,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:397",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:398",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "30%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "increase(inspectit_self_logs{service=~\"$service\",level=~\"WARN\"}[$__range])",
- "format": "time_series",
- "instant": true,
- "intervalFactor": 1,
- "refId": "A"
- }
- ],
- "thresholds": "1",
- "title": "Warnings",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:400",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorValue": false,
- "colors": [
- "rgba(28, 26, 25, 0)",
- "#eab839",
- "#299c46"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "decimals": 0,
- "description": "Number of newly logged infos. This metric can display too low numbers in case the agent just restarted!",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 10,
- "y": 5
- },
- "id": 143,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:431",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:432",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "30%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "SUM(increase(inspectit_self_logs{service=~\"$service\",level=~\"INFO|DEBUG|TRACE\"}[$__range]))",
- "format": "time_series",
- "instant": true,
- "intervalFactor": 1,
- "refId": "A"
- }
- ],
- "thresholds": "",
- "title": "Other Logs",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:434",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {},
- "datasource": "${DS_LOCALPROMETHEUS}",
- "definition": "label_values(service)",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": null,
- "multi": true,
- "name": "service",
- "options": [],
- "query": "label_values(service)",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-30m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "inspectIT Agent Self-Monitoring",
- "uid": "oG69sg5Zk",
- "variables": {
- "list": []
- },
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/marketplace/prometheus/servicegraph.json b/inspectit-ocelot-demo/grafana/marketplace/prometheus/servicegraph.json
deleted file mode 100644
index 6bac556539..0000000000
--- a/inspectit-ocelot-demo/grafana/marketplace/prometheus/servicegraph.json
+++ /dev/null
@@ -1,302 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_LOCALPROMETHEUS",
- "label": "LocalPrometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "6.7.3"
- },
- {
- "type": "panel",
- "id": "novatec-service-dependency-graph-panel",
- "name": "Service Dependency Graph",
- "version": "2.0"
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- }
- ],
- "annotations": {
- "list": [
- {
- "$$hashKey": "object:1388",
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1588833980797,
- "links": [],
- "panels": [
- {
- "dataMapping": {
- "errorRateColumn": "error-rate",
- "errorRateOutgoingColumn": "error-rate-out",
- "extOrigin": "origin_external",
- "extTarget": "target_external",
- "requestRateColumn": "Value #A",
- "requestRateExternalColumn": "",
- "requestRateOutgoingColumn": "Value #B",
- "responseTimeColumn": "Value #C",
- "responseTimeExternalColumn": "",
- "responseTimeOutgoingColumn": "Value #D",
- "sourceComponentPrefix": "origin_",
- "targetComponentPrefix": "target_",
- "type": "protocol"
- },
- "datasource": "${DS_LOCALPROMETHEUS}",
- "gridPos": {
- "h": 19,
- "w": 23,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "links": [],
- "sdgSettings": {
- "externalIcons": [
- {
- "icon": "web",
- "type": "web"
- },
- {
- "icon": "message",
- "type": "jms"
- },
- {
- "icon": "database",
- "type": "jdbc"
- },
- {
- "icon": "http",
- "type": "http"
- }
- ],
- "filterEmptyConnections": true,
- "layout": "ltrTree",
- "maxVolume": "100000",
- "showConnectionStats": true,
- "sumTimings": true
- },
- "sdgStyle": {
- "dangerColor": "rgb(184, 36, 36)",
- "healthyColor": "rgb(87, 148, 242)"
- },
- "settings": {
- "animate": true,
- "dataMapping": {
- "errorRateColumn": "Value #E",
- "errorRateOutgoingColumn": "Value #F",
- "extOrigin": "origin_external",
- "extTarget": "target_external",
- "requestRateColumn": "Value #A",
- "requestRateOutgoingColumn": "Value #B",
- "responseTimeColumn": "Value #C",
- "responseTimeOutgoingColumn": "Value #D",
- "sourceComponentPrefix": "origin_",
- "targetComponentPrefix": "target_",
- "type": "protocol"
- },
- "drillDownLink": "",
- "externalIcons": [
- {
- "$$hashKey": "object:1411",
- "filename": "web",
- "name": "web"
- },
- {
- "$$hashKey": "object:1412",
- "filename": "message",
- "name": "jms"
- },
- {
- "$$hashKey": "object:1413",
- "filename": "database",
- "name": "jdbc"
- },
- {
- "$$hashKey": "object:1414",
- "filename": "http",
- "name": "http"
- }
- ],
- "filterEmptyConnections": true,
- "showConnectionStats": true,
- "showDebugInformation": false,
- "showDummyData": false,
- "style": {
- "dangerColor": "rgb(184, 36, 36)",
- "healthyColor": "rgb(87, 148, 242)"
- },
- "sumTimings": true
- },
- "targets": [
- {
- "expr": "sum(increase(service_in_count{service=~\"$service\"}[$__range]) or increase(service_in_count{origin_service=~\"$service\"}[$__range]) >= 0) by (service,origin_service,origin_external,protocol) > 0",
- "format": "table",
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- },
- {
- "expr": "sum(increase(service_out_count{service=~\"$service\"}[$__range]) or increase(service_out_count{target_service=~\"$service\"}[$__range]) >= 0) by (service,target_service,target_external,protocol) > 0",
- "format": "table",
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "B"
- },
- {
- "expr": "sum(increase(service_in_responsetime_sum{service=~\"$service\"}[$__range]) or increase(service_in_responsetime_sum{origin_service=~\"$service\"}[$__range]) >= 0) by (service,origin_service,origin_external,protocol) > 0",
- "format": "table",
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "C"
- },
- {
- "expr": "sum(increase(service_out_responsetime_sum{service=~\"$service\"}[$__range]) or increase(service_out_responsetime_sum{target_service=~\"$service\"}[$__range]) >= 0) by (service,target_service,target_external,protocol) > 0",
- "format": "table",
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "D"
- },
- {
- "expr": "sum(increase(service_in_count{service=~\"$service\",error=\"true\"}[$__range]) or increase(service_in_count{origin_service=~\"$service\",error=\"true\"}[$__range]) >= 0) by (service,origin_service,origin_external,protocol) > 0",
- "format": "table",
- "instant": true,
- "interval": "",
- "legendFormat": "",
- "refId": "E"
- },
- {
- "expr": "sum(increase(service_out_count{service=~\"$service\",error=\"true\"}[$__range]) or increase(service_out_count{target_service=~\"$service\",error=\"true\"}[$__range]) >= 0) by (service,target_service,target_external,protocol) > 0",
- "format": "table",
- "instant": true,
- "interval": "",
- "legendFormat": "",
- "refId": "F"
- }
- ],
- "title": "Service Graph",
- "type": "novatec-service-dependency-graph-panel"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "text": "service",
- "value": "service"
- },
- "hide": 2,
- "includeAll": false,
- "label": null,
- "multi": false,
- "name": "aggregationType",
- "options": [
- {
- "selected": true,
- "text": "service",
- "value": "service"
- }
- ],
- "query": "service",
- "skipUrlSync": false,
- "type": "custom"
- },
- {
- "allValue": ".*",
- "current": {},
- "datasource": "${DS_LOCALPROMETHEUS}",
- "definition": "label_values(service)",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": "Services",
- "multi": true,
- "name": "service",
- "options": [],
- "query": "label_values(service)",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-5m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Service Graph",
- "uid": "FlzDnieiz",
- "variables": {
- "list": []
- },
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/marketplace/prometheus/system.json b/inspectit-ocelot-demo/grafana/marketplace/prometheus/system.json
deleted file mode 100644
index a807eac086..0000000000
--- a/inspectit-ocelot-demo/grafana/marketplace/prometheus/system.json
+++ /dev/null
@@ -1,868 +0,0 @@
-{
- "__inputs": [
- {
- "name": "DS_LOCALPROMETHEUS",
- "label": "LocalPrometheus",
- "description": "",
- "type": "datasource",
- "pluginId": "prometheus",
- "pluginName": "Prometheus"
- }
- ],
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "5.4.2"
- },
- {
- "type": "panel",
- "id": "graph",
- "name": "Graph",
- "version": "5.0.0"
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "5.0.0"
- },
- {
- "type": "panel",
- "id": "singlestat",
- "name": "Singlestat",
- "version": "5.0.0"
- }
- ],
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": null,
- "iteration": 1567608165891,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 7,
- "panels": [],
- "repeat": "host",
- "title": "$host",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#bf1b00"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 0,
- "y": 1
- },
- "id": 5,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "system_cpu_usage{host=\"$host\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range(start: -1m)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "CPU Usage",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {
- "CPU Utilization": "#82b5d8",
- "Load Average": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 3,
- "y": 1
- },
- "id": 11,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 3,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Load Average",
- "fill": 0,
- "linewidth": 3,
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "CPU Utilization",
- "expr": "system_cpu_usage{host=\"$host\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "CPU Utilization",
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "Load Average",
- "expr": "system_load_average_1m{host=\"$host\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "intervalFactor": 1,
- "legendFormat": "Load Average",
- "measurement": "system_load_average_1m",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 12,
- "y": 1
- },
- "id": 4,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(disk_total{host=\"$host\"} - disk_free{host=\"$host\"})/disk_total{host=\"$host\"}",
- "format": "time_series",
- "instant": true,
- "intervalFactor": 1,
- "query": "usedPerc = () => {\ntotal = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_total\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n \nfree = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n \nreturn join(tables:{total:total, free:free},on:[\"_time\",\"_stop\",\"_start\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_total - r._value_free)/r._value_total\n \n }))\n}\n\nusedPerc()",
- "refId": "A"
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Disk Usage",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {
- "disk_free": "#629e51",
- "disk_free ": "#629e51",
- "disk_free{host=\"4d8670ccd24b\",host-address=\"172.19.0.10\",instance=\"vets-service:9093\",job=\"inspectit\",service=\"vets-service\"}": "#629e51",
- "disk_used": "#1f78c1",
- "disk_used ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "${DS_LOCALPROMETHEUS}",
- "fill": 7,
- "gridPos": {
- "h": 6,
- "w": 9,
- "x": 15,
- "y": 1
- },
- "id": 13,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "expr": "disk_total{host=\"$host\"} - disk_free{host=\"$host\"}",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "disk_used",
- "query": "usedPerc = () => {\ntotal = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_total\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nfree = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nreturn join(tables:{total:total, free:free},on:[\"_time\",\"_stop\",\"_start\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_total - r._value_free),\n _measurement: \"disk_used\"\n }))\n}\n\nusedPerc()",
- "refId": "A"
- },
- {
- "expr": "disk_free{host=\"$host\"}",
- "format": "time_series",
- "intervalFactor": 1,
- "legendFormat": "disk_free",
- "query": "from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n",
- "refId": "B"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Disk Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 0,
- "y": 5
- },
- "id": 9,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "system_cpu_count{host=\"$host\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "measurement": "system_cpu_count",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range(start: -1m)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_count\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])\n|> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "",
- "title": "# CPUs",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "${DS_LOCALPROMETHEUS}",
- "decimals": null,
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 12,
- "y": 5
- },
- "id": 12,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "disk_free{host=\"$host\"}",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "measurement": "system_cpu_count",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\"])\n |> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "500000,200000",
- "title": "Disk Free",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 16,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {},
- "datasource": "${DS_LOCALPROMETHEUS}",
- "definition": "label_values(host)",
- "hide": 0,
- "includeAll": true,
- "label": null,
- "multi": false,
- "name": "host",
- "options": [],
- "query": "label_values(host)",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "System Metrics",
- "uid": "skfGrta43Ae2",
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/provisioning/home-dashboard/home.json b/inspectit-ocelot-demo/grafana/provisioning/home-dashboard/home.json
deleted file mode 100644
index 0f611e18c4..0000000000
--- a/inspectit-ocelot-demo/grafana/provisioning/home-dashboard/home.json
+++ /dev/null
@@ -1,137 +0,0 @@
-{
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": 7,
- "links": [],
- "panels": [
- {
- "datasource": null,
- "gridPos": {
- "h": 5,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 123126,
- "options": {
- "content": "
\r\n\t\r\n\t",
- "mode": "html"
- },
- "pluginVersion": "8.0.6",
- "targets": [
- {
- "queryType": "randomWalk",
- "refId": "A"
- }
- ],
- "transparent": true,
- "type": "text"
- },
- {
- "datasource": null,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 5
- },
- "id": 123124,
- "links": [],
- "options": {
- "folderId": 8,
- "maxItems": 30,
- "query": "",
- "showHeadings": false,
- "showRecentlyViewed": false,
- "showSearch": true,
- "showStarred": false,
- "tags": []
- },
- "pluginVersion": "8.0.6",
- "tags": [],
- "title": "Agent",
- "type": "dashlist"
- },
- {
- "datasource": null,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 12,
- "y": 5
- },
- "id": 3,
- "links": [],
- "options": {
- "folderId": 9,
- "maxItems": 30,
- "query": "",
- "showHeadings": false,
- "showRecentlyViewed": false,
- "showSearch": true,
- "showStarred": false,
- "tags": []
- },
- "pluginVersion": "8.0.6",
- "tags": [],
- "title": "EUM",
- "type": "dashlist"
- }
- ],
- "refresh": false,
- "schemaVersion": 30,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": []
- },
- "time": {
- "from": "2021-08-24T06:47:32.708Z",
- "to": "2021-08-24T18:47:32.708Z"
- },
- "timepicker": {
- "hidden": true,
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ],
- "type": "timepicker"
- },
- "timezone": "browser",
- "title": "Home",
- "uid": null,
- "version": 0
-}
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/http-overview-influxql.json b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/http-overview-influxql.json
deleted file mode 100644
index 982ffbeaee..0000000000
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/http-overview-influxql.json
+++ /dev/null
@@ -1,7560 +0,0 @@
-{
- "annotations": {
- "list": [
- {
- "$$hashKey": "object:290",
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": 2,
- "iteration": 1588835205546,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 4,
- "panels": [],
- "repeat": "service",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 1
- },
- "id": 2,
- "links": [],
- "pageSize": null,
- "repeat": null,
- "repeatDirection": "h",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 4,
- "desc": true
- },
- "styles": [
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "none"
- }
- ],
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path\n) GROUP BY http_path",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path fill(0)\n)\nGROUP BY http_path",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Incoming Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 1
- },
- "hiddenSeries": false,
- "id": 23,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_path",
- "expr": "(sum(increase(http_in_responsetime_sum{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)) >= 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "legendFormat": "{{http_path}}",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count)\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Incoming HTTP Requests per second for the selected endpoints and applications",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 1
- },
- "hideTimeOverride": true,
- "id": 6,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "In Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of incoming http requests for the selected endpoints and applications",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 1
- },
- "hideTimeOverride": true,
- "id": 44,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_in_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "In Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 6
- },
- "id": 45,
- "links": [],
- "pageSize": null,
- "repeatDirection": "h",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 6,
- "desc": true
- },
- "styles": [
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "preserveFormat": false,
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "Target Host",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_host",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "expr": "sum(label_join(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]), \"http_url\", \"\", \"http_host\", \"http_path\")) by (http_url) > 0",
- "format": "table",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host\n) GROUP BY *",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host fill(0)\n)\nGROUP BY *",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Outgoing Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 6
- },
- "hiddenSeries": false,
- "id": 76,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_host$tag_http_path",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count) AS value \nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path,http_host fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Outgoing HTTP Requests per second issued towards the selected endpoints from the given application",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 6
- },
- "hideTimeOverride": true,
- "id": 112,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "Out Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of outgoing http requests issued towards the selected endpoints of the selected application",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 6
- },
- "hideTimeOverride": true,
- "id": 153,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_out_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "Out Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 11
- },
- "id": 154,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1588835205546,
- "repeatPanelId": 4,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 12
- },
- "id": 155,
- "links": [],
- "pageSize": null,
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 2,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 4,
- "desc": true
- },
- "styles": [
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "none"
- }
- ],
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path\n) GROUP BY http_path",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path fill(0)\n)\nGROUP BY http_path",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Incoming Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 12
- },
- "hiddenSeries": false,
- "id": 156,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 23,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_path",
- "expr": "(sum(increase(http_in_responsetime_sum{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)) >= 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "legendFormat": "{{http_path}}",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count)\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Incoming HTTP Requests per second for the selected endpoints and applications",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 12
- },
- "hideTimeOverride": true,
- "id": 157,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 6,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "In Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of incoming http requests for the selected endpoints and applications",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 12
- },
- "hideTimeOverride": true,
- "id": 158,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 44,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_in_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "In Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 17
- },
- "id": 159,
- "links": [],
- "pageSize": null,
- "repeatDirection": "h",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 45,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 6,
- "desc": true
- },
- "styles": [
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "preserveFormat": false,
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "Target Host",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_host",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "expr": "sum(label_join(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]), \"http_url\", \"\", \"http_host\", \"http_path\")) by (http_url) > 0",
- "format": "table",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host\n) GROUP BY *",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host fill(0)\n)\nGROUP BY *",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Outgoing Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 17
- },
- "hiddenSeries": false,
- "id": 160,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 76,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_host$tag_http_path",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count) AS value \nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path,http_host fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Outgoing HTTP Requests per second issued towards the selected endpoints from the given application",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 17
- },
- "hideTimeOverride": true,
- "id": 161,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 112,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "Out Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of outgoing http requests issued towards the selected endpoints of the selected application",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 17
- },
- "hideTimeOverride": true,
- "id": 162,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 153,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_out_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "Out Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 22
- },
- "id": 163,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1588835205546,
- "repeatPanelId": 4,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 23
- },
- "id": 164,
- "links": [],
- "pageSize": null,
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 2,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 4,
- "desc": true
- },
- "styles": [
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "none"
- }
- ],
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path\n) GROUP BY http_path",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path fill(0)\n)\nGROUP BY http_path",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Incoming Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 23
- },
- "hiddenSeries": false,
- "id": 165,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 23,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_path",
- "expr": "(sum(increase(http_in_responsetime_sum{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)) >= 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "legendFormat": "{{http_path}}",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count)\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Incoming HTTP Requests per second for the selected endpoints and applications",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 23
- },
- "hideTimeOverride": true,
- "id": 166,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 6,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "In Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of incoming http requests for the selected endpoints and applications",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 23
- },
- "hideTimeOverride": true,
- "id": 167,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 44,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_in_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "In Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 28
- },
- "id": 168,
- "links": [],
- "pageSize": null,
- "repeatDirection": "h",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 45,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 6,
- "desc": true
- },
- "styles": [
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "preserveFormat": false,
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "Target Host",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_host",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "expr": "sum(label_join(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]), \"http_url\", \"\", \"http_host\", \"http_path\")) by (http_url) > 0",
- "format": "table",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host\n) GROUP BY *",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host fill(0)\n)\nGROUP BY *",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Outgoing Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 28
- },
- "hiddenSeries": false,
- "id": 169,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 76,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_host$tag_http_path",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count) AS value \nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path,http_host fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Outgoing HTTP Requests per second issued towards the selected endpoints from the given application",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 28
- },
- "hideTimeOverride": true,
- "id": 170,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 112,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "Out Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of outgoing http requests issued towards the selected endpoints of the selected application",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 28
- },
- "hideTimeOverride": true,
- "id": 171,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 153,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_out_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "Out Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 33
- },
- "id": 172,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1588835205546,
- "repeatPanelId": 4,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 34
- },
- "id": 173,
- "links": [],
- "pageSize": null,
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 2,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 4,
- "desc": true
- },
- "styles": [
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "none"
- }
- ],
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path\n) GROUP BY http_path",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path fill(0)\n)\nGROUP BY http_path",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Incoming Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 34
- },
- "hiddenSeries": false,
- "id": 174,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 23,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_path",
- "expr": "(sum(increase(http_in_responsetime_sum{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)) >= 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "legendFormat": "{{http_path}}",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count)\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Incoming HTTP Requests per second for the selected endpoints and applications",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 34
- },
- "hideTimeOverride": true,
- "id": 175,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 6,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "In Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of incoming http requests for the selected endpoints and applications",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 34
- },
- "hideTimeOverride": true,
- "id": 176,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 44,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_in_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "In Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 39
- },
- "id": 177,
- "links": [],
- "pageSize": null,
- "repeatDirection": "h",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 45,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 6,
- "desc": true
- },
- "styles": [
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "preserveFormat": false,
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "Target Host",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_host",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "expr": "sum(label_join(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]), \"http_url\", \"\", \"http_host\", \"http_path\")) by (http_url) > 0",
- "format": "table",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host\n) GROUP BY *",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host fill(0)\n)\nGROUP BY *",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Outgoing Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 39
- },
- "hiddenSeries": false,
- "id": 178,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 76,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_host$tag_http_path",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count) AS value \nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path,http_host fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Outgoing HTTP Requests per second issued towards the selected endpoints from the given application",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 39
- },
- "hideTimeOverride": true,
- "id": 179,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 112,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "Out Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of outgoing http requests issued towards the selected endpoints of the selected application",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 39
- },
- "hideTimeOverride": true,
- "id": 180,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 153,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_out_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "Out Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 44
- },
- "id": 181,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1588835205546,
- "repeatPanelId": 4,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 45
- },
- "id": 182,
- "links": [],
- "pageSize": null,
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 2,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 4,
- "desc": true
- },
- "styles": [
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "none"
- }
- ],
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path\n) GROUP BY http_path",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path fill(0)\n)\nGROUP BY http_path",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Incoming Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 45
- },
- "hiddenSeries": false,
- "id": 183,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 23,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_path",
- "expr": "(sum(increase(http_in_responsetime_sum{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)) >= 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "legendFormat": "{{http_path}}",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count)\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Incoming HTTP Requests per second for the selected endpoints and applications",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 45
- },
- "hideTimeOverride": true,
- "id": 184,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 6,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "In Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of incoming http requests for the selected endpoints and applications",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 45
- },
- "hideTimeOverride": true,
- "id": 185,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 44,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_in_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "In Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 50
- },
- "id": 186,
- "links": [],
- "pageSize": null,
- "repeatDirection": "h",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 45,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 6,
- "desc": true
- },
- "styles": [
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "preserveFormat": false,
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "Target Host",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_host",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "expr": "sum(label_join(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]), \"http_url\", \"\", \"http_host\", \"http_path\")) by (http_url) > 0",
- "format": "table",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host\n) GROUP BY *",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host fill(0)\n)\nGROUP BY *",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Outgoing Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 50
- },
- "hiddenSeries": false,
- "id": 187,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 76,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_host$tag_http_path",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count) AS value \nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path,http_host fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Outgoing HTTP Requests per second issued towards the selected endpoints from the given application",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 50
- },
- "hideTimeOverride": true,
- "id": 188,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 112,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "Out Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of outgoing http requests issued towards the selected endpoints of the selected application",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 50
- },
- "hideTimeOverride": true,
- "id": 189,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 153,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_out_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "Out Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 55
- },
- "id": 190,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1588835205546,
- "repeatPanelId": 4,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 56
- },
- "id": 191,
- "links": [],
- "pageSize": null,
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 2,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 4,
- "desc": true
- },
- "styles": [
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "none"
- }
- ],
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path\n) GROUP BY http_path",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path fill(0)\n)\nGROUP BY http_path",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Incoming Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 56
- },
- "hiddenSeries": false,
- "id": 192,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 23,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_path",
- "expr": "(sum(increase(http_in_responsetime_sum{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval])) by (http_path)) >= 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "legendFormat": "{{http_path}}",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count)\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Incoming Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Incoming HTTP Requests per second for the selected endpoints and applications",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 56
- },
- "hideTimeOverride": true,
- "id": 193,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 6,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "In Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of incoming http requests for the selected endpoints and applications",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 56
- },
- "hideTimeOverride": true,
- "id": 194,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 44,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_in_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_in_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "In Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "100%",
- "gridPos": {
- "h": 5,
- "w": 11,
- "x": 0,
- "y": 61
- },
- "id": 195,
- "links": [],
- "pageSize": null,
- "repeatDirection": "h",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 45,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 6,
- "desc": true
- },
- "styles": [
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Time",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Requests",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "za_requests",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "Avg. Response Time",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "link": false,
- "mappingType": 1,
- "pattern": "zb_response_time",
- "thresholds": [],
- "type": "number",
- "unit": "ms"
- },
- {
- "alias": "HTTP Path",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_path",
- "preserveFormat": false,
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Error Rate",
- "align": "auto",
- "colorMode": "cell",
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "zc_error_rate",
- "thresholds": [
- "0.0001",
- "0.3"
- ],
- "type": "number",
- "unit": "percentunit"
- },
- {
- "alias": "Target Host",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "http_host",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "expr": "sum(label_join(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]), \"http_url\", \"\", \"http_host\", \"http_path\")) by (http_url) > 0",
- "format": "table",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT SUM(\"count\") AS total, SUM(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host\n) GROUP BY *",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS zc_error_rate FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host fill(0)\n)\nGROUP BY *",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Outgoing Requests",
- "transform": "table",
- "type": "table"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "description": "",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 5,
- "w": 9,
- "x": 11,
- "y": 61
- },
- "hiddenSeries": false,
- "id": 196,
- "interval": "15s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588835205546,
- "repeatPanelId": 76,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_http_host$tag_http_path",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(sum) / SUM(count) AS value \nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path,http_host fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Outgoing Avg. Response Time",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "Outgoing HTTP Requests per second issued towards the selected endpoints from the given application",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 20,
- "y": 61
- },
- "hideTimeOverride": true,
- "id": 197,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 112,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(rate(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__interval]))",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": false,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "",
- "timeShift": null,
- "title": "Out Req / Sec",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorPostfix": false,
- "colorPrefix": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 2,
- "description": "The error rate of outgoing http requests issued towards the selected endpoints of the selected application",
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 5,
- "w": 2,
- "x": 22,
- "y": 61
- },
- "hideTimeOverride": true,
- "id": 198,
- "interval": "15s",
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588835205546,
- "repeatPanelId": 153,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(sum(increase(http_out_count{http_status!~\"(1|2|3)\\\\d\\\\d\",service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range]))\n/ sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) >= 0)\nor (sum(increase(http_out_count{service=\"$service\",application=~\"$application\",http_path=~\"$path\"}[$__range])) > 0) * 0",
- "format": "time_series",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "instant": true,
- "intervalFactor": 1,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(errors) / SUM(total) AS value FROM (\n SELECT SUM(\"count\") AS total, SUM(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND http_path =~ /^$path$/ GROUP BY time($__interval) fill(0)\n)\nWHERE total > 0\nGROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.01,0.1",
- "timeFrom": null,
- "timeShift": null,
- "title": "Out Error Rate",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": false,
- "text": "All",
- "value": "$__all"
- },
- "datasource": "LocalInflux",
- "definition": "SHOW TAG VALUES WITH key = \"service\"",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": "Service",
- "multi": true,
- "name": "service",
- "options": [],
- "query": "SHOW TAG VALUES WITH key = \"service\"",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "allValue": ".*",
- "current": {
- "selected": false,
- "text": "All",
- "value": "$__all"
- },
- "datasource": "LocalInflux",
- "definition": "SHOW TAG VALUES WITH key = \"http_path\"",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": "Endpoint",
- "multi": true,
- "name": "path",
- "options": [],
- "query": "SHOW TAG VALUES WITH key = \"http_path\"",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-5m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "HTTP Overview",
- "uid": "523wqxqmz",
- "variables": {
- "list": []
- },
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/jvm-metrics.json b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/jvm-metrics.json
deleted file mode 100644
index 4ca97d66b4..0000000000
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/jvm-metrics.json
+++ /dev/null
@@ -1,11781 +0,0 @@
-{
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": 5,
- "iteration": 1587549200544,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 7,
- "panels": [],
- "repeat": "service",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "aliasColors": {
- "process_cpu_usage ": "#badff4",
- "system_cpu_usage ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 7,
- "x": 0,
- "y": 1
- },
- "id": 11,
- "interval": "5s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "seriesOverrides": [
- {
- "alias": "System CPU Usage",
- "color": "#1f78c1"
- },
- {
- "alias": "JVM CPU Usage",
- "color": "#70dbed"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "System CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"process_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 1
- },
- "id": 39,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "daemon ": "#0a50a1",
- "live-non-daemon ": "#82b5d8",
- "non-daemon ": "#82b5d8",
- "peak ": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 1
- },
- "id": 42,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "seriesOverrides": [
- {
- "alias": "peak live since JVM start",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 3
- },
- {
- "alias": "total live"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total live",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_live",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "live daemons",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_daemon",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "peak live since JVM start",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_peak",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [
- {
- "colorMode": "background6",
- "fill": true,
- "line": false,
- "op": "time"
- }
- ],
- "timeShift": null,
- "title": "# Live Threads",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 1
- },
- "id": 46,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Allocated Memory",
- "bars": true,
- "color": "#ef843c",
- "lines": false
- },
- {
- "alias": "Promoted Memory",
- "bars": true,
- "color": "#629e51",
- "lines": false
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Live Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_live_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Max Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_max_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Allocated Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_allocated",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Promoted Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_promoted",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "F",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Memory",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 4,
- "x": 0,
- "y": 7
- },
- "id": 49,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.8,0.9",
- "title": "Current CPU Usage",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 7
- },
- "id": 4,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_loaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Loaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 7
- },
- "id": 40,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Non-Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 7
- },
- "id": 41,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_state",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "state"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_states",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "# Threads by States",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Major GC": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 7
- },
- "id": 47,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": false,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 3,
- "points": true,
- "renderer": "flot",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Minor GC"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Minor GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of minor GC"
- }
- ]
- },
- {
- "alias": "Major GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of major GC"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Pauses",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 10
- },
- "id": 12,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_unloaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_unloaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Unloaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "content": "----",
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 13
- },
- "id": 51,
- "links": [],
- "mode": "html",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "title": "",
- "transparent": true,
- "type": "text"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 14
- },
- "id": 52,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1587549200544,
- "repeatPanelId": 7,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "aliasColors": {
- "process_cpu_usage ": "#badff4",
- "system_cpu_usage ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 7,
- "x": 0,
- "y": 15
- },
- "id": 53,
- "interval": "5s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 11,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "System CPU Usage",
- "color": "#1f78c1"
- },
- {
- "alias": "JVM CPU Usage",
- "color": "#70dbed"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "System CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"process_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 15
- },
- "id": 54,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 39,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "daemon ": "#0a50a1",
- "live-non-daemon ": "#82b5d8",
- "non-daemon ": "#82b5d8",
- "peak ": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 15
- },
- "id": 55,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 42,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "peak live since JVM start",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 3
- },
- {
- "alias": "total live"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total live",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_live",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "live daemons",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_daemon",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "peak live since JVM start",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_peak",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [
- {
- "colorMode": "background6",
- "fill": true,
- "line": false,
- "op": "time"
- }
- ],
- "timeShift": null,
- "title": "# Live Threads",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 15
- },
- "id": 56,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 46,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Allocated Memory",
- "bars": true,
- "color": "#ef843c",
- "lines": false
- },
- {
- "alias": "Promoted Memory",
- "bars": true,
- "color": "#629e51",
- "lines": false
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Live Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_live_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Max Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_max_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Allocated Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_allocated",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Promoted Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_promoted",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "F",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Memory",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 4,
- "x": 0,
- "y": 21
- },
- "id": 57,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1587549200544,
- "repeatPanelId": 49,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.8,0.9",
- "title": "Current CPU Usage",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 21
- },
- "id": 58,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_loaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Loaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 21
- },
- "id": 59,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 40,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Non-Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 21
- },
- "id": 60,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 41,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_state",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "state"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_states",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "# Threads by States",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Major GC": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 21
- },
- "id": 61,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": false,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 3,
- "points": true,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 47,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Minor GC"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Minor GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of minor GC"
- }
- ]
- },
- {
- "alias": "Major GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of major GC"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Pauses",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 24
- },
- "id": 62,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 12,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_unloaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_unloaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Unloaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "content": "----",
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 27
- },
- "id": 63,
- "links": [],
- "mode": "html",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 51,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "title": "",
- "transparent": true,
- "type": "text"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 28
- },
- "id": 64,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1587549200544,
- "repeatPanelId": 7,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "aliasColors": {
- "process_cpu_usage ": "#badff4",
- "system_cpu_usage ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 7,
- "x": 0,
- "y": 29
- },
- "id": 65,
- "interval": "5s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 11,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "System CPU Usage",
- "color": "#1f78c1"
- },
- {
- "alias": "JVM CPU Usage",
- "color": "#70dbed"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "System CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"process_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 29
- },
- "id": 66,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 39,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "daemon ": "#0a50a1",
- "live-non-daemon ": "#82b5d8",
- "non-daemon ": "#82b5d8",
- "peak ": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 29
- },
- "id": 67,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 42,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "peak live since JVM start",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 3
- },
- {
- "alias": "total live"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total live",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_live",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "live daemons",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_daemon",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "peak live since JVM start",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_peak",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [
- {
- "colorMode": "background6",
- "fill": true,
- "line": false,
- "op": "time"
- }
- ],
- "timeShift": null,
- "title": "# Live Threads",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 29
- },
- "id": 68,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 46,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Allocated Memory",
- "bars": true,
- "color": "#ef843c",
- "lines": false
- },
- {
- "alias": "Promoted Memory",
- "bars": true,
- "color": "#629e51",
- "lines": false
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Live Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_live_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Max Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_max_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Allocated Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_allocated",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Promoted Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_promoted",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "F",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Memory",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 4,
- "x": 0,
- "y": 35
- },
- "id": 69,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1587549200544,
- "repeatPanelId": 49,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.8,0.9",
- "title": "Current CPU Usage",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 35
- },
- "id": 70,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_loaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Loaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 35
- },
- "id": 71,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 40,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Non-Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 35
- },
- "id": 72,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 41,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_state",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "state"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_states",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "# Threads by States",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Major GC": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 35
- },
- "id": 73,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": false,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 3,
- "points": true,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 47,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Minor GC"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Minor GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of minor GC"
- }
- ]
- },
- {
- "alias": "Major GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of major GC"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Pauses",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 38
- },
- "id": 74,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 12,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_unloaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_unloaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Unloaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "content": "----",
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 41
- },
- "id": 75,
- "links": [],
- "mode": "html",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 51,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "title": "",
- "transparent": true,
- "type": "text"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 42
- },
- "id": 76,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1587549200544,
- "repeatPanelId": 7,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "aliasColors": {
- "process_cpu_usage ": "#badff4",
- "system_cpu_usage ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 7,
- "x": 0,
- "y": 43
- },
- "id": 77,
- "interval": "5s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 11,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "System CPU Usage",
- "color": "#1f78c1"
- },
- {
- "alias": "JVM CPU Usage",
- "color": "#70dbed"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "System CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"process_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 43
- },
- "id": 78,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 39,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "daemon ": "#0a50a1",
- "live-non-daemon ": "#82b5d8",
- "non-daemon ": "#82b5d8",
- "peak ": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 43
- },
- "id": 79,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 42,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "peak live since JVM start",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 3
- },
- {
- "alias": "total live"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total live",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_live",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "live daemons",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_daemon",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "peak live since JVM start",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_peak",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [
- {
- "colorMode": "background6",
- "fill": true,
- "line": false,
- "op": "time"
- }
- ],
- "timeShift": null,
- "title": "# Live Threads",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 43
- },
- "id": 80,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 46,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Allocated Memory",
- "bars": true,
- "color": "#ef843c",
- "lines": false
- },
- {
- "alias": "Promoted Memory",
- "bars": true,
- "color": "#629e51",
- "lines": false
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Live Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_live_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Max Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_max_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Allocated Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_allocated",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Promoted Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_promoted",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "F",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Memory",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 4,
- "x": 0,
- "y": 49
- },
- "id": 81,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1587549200544,
- "repeatPanelId": 49,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.8,0.9",
- "title": "Current CPU Usage",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 49
- },
- "id": 82,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_loaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Loaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 49
- },
- "id": 83,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 40,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Non-Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 49
- },
- "id": 84,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 41,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_state",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "state"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_states",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "# Threads by States",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Major GC": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 49
- },
- "id": 85,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": false,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 3,
- "points": true,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 47,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Minor GC"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Minor GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of minor GC"
- }
- ]
- },
- {
- "alias": "Major GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of major GC"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Pauses",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 52
- },
- "id": 86,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 12,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_unloaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_unloaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Unloaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "content": "----",
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 55
- },
- "id": 87,
- "links": [],
- "mode": "html",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 51,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "title": "",
- "transparent": true,
- "type": "text"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 56
- },
- "id": 88,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1587549200544,
- "repeatPanelId": 7,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "aliasColors": {
- "process_cpu_usage ": "#badff4",
- "system_cpu_usage ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 7,
- "x": 0,
- "y": 57
- },
- "id": 89,
- "interval": "5s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 11,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "System CPU Usage",
- "color": "#1f78c1"
- },
- {
- "alias": "JVM CPU Usage",
- "color": "#70dbed"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "System CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"process_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 57
- },
- "id": 90,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 39,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "daemon ": "#0a50a1",
- "live-non-daemon ": "#82b5d8",
- "non-daemon ": "#82b5d8",
- "peak ": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 57
- },
- "id": 91,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 42,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "peak live since JVM start",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 3
- },
- {
- "alias": "total live"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total live",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_live",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "live daemons",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_daemon",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "peak live since JVM start",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_peak",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [
- {
- "colorMode": "background6",
- "fill": true,
- "line": false,
- "op": "time"
- }
- ],
- "timeShift": null,
- "title": "# Live Threads",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 57
- },
- "id": 92,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 46,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Allocated Memory",
- "bars": true,
- "color": "#ef843c",
- "lines": false
- },
- {
- "alias": "Promoted Memory",
- "bars": true,
- "color": "#629e51",
- "lines": false
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Live Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_live_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Max Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_max_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Allocated Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_allocated",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Promoted Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_promoted",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "F",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Memory",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 4,
- "x": 0,
- "y": 63
- },
- "id": 93,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1587549200544,
- "repeatPanelId": 49,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.8,0.9",
- "title": "Current CPU Usage",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 63
- },
- "id": 94,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_loaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Loaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 63
- },
- "id": 95,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 40,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Non-Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 63
- },
- "id": 96,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 41,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_state",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "state"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_states",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "# Threads by States",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Major GC": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 63
- },
- "id": 97,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": false,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 3,
- "points": true,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 47,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Minor GC"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Minor GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of minor GC"
- }
- ]
- },
- {
- "alias": "Major GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of major GC"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Pauses",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 66
- },
- "id": 98,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 12,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_unloaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_unloaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Unloaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "content": "----",
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 69
- },
- "id": 99,
- "links": [],
- "mode": "html",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 51,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "title": "",
- "transparent": true,
- "type": "text"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 70
- },
- "id": 100,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1587549200544,
- "repeatPanelId": 7,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "aliasColors": {
- "process_cpu_usage ": "#badff4",
- "system_cpu_usage ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 7,
- "x": 0,
- "y": 71
- },
- "id": 101,
- "interval": "5s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 11,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "System CPU Usage",
- "color": "#1f78c1"
- },
- {
- "alias": "JVM CPU Usage",
- "color": "#70dbed"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "System CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"process_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Usage",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 71
- },
- "id": 102,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 39,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'heap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "heap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "daemon ": "#0a50a1",
- "live-non-daemon ": "#82b5d8",
- "non-daemon ": "#82b5d8",
- "peak ": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 71
- },
- "id": 103,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 2,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 42,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "peak live since JVM start",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 3
- },
- {
- "alias": "total live"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total live",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_live",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "live daemons",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_daemon",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "peak live since JVM start",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "previous"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_peak",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "stackedPeak = () => {\npeak = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_peak\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n\nlive = from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"jvm_threads_live\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \n\n \nreturn join(tables:{live:live, peak:peak},on:[\"_time\",\"_stop\",\"_start\", \"host\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_peak - r._value_live),\n _measurement: \"peak\"\n }))\n}\n\nstackedPeak()",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "max"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [
- {
- "colorMode": "background6",
- "fill": true,
- "line": false,
- "op": "time"
- }
- ],
- "timeShift": null,
- "title": "# Live Threads",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 71
- },
- "id": 104,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 46,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Allocated Memory",
- "bars": true,
- "color": "#ef843c",
- "lines": false
- },
- {
- "alias": "Promoted Memory",
- "bars": true,
- "color": "#629e51",
- "lines": false
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Live Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_live_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Max Data Size",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_max_data_size",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT \"gauge\" FROM \"jvm_gc_live_data_size\" WHERE (\"service\" =~ /^$service$/) ",
- "rawQuery": false,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Allocated Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_allocated",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "Promoted Memory",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_memory_promoted",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time($__interval)",
- "rawQuery": true,
- "refId": "F",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Memory",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 4,
- "x": 0,
- "y": 77
- },
- "id": 105,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1587549200544,
- "repeatPanelId": 49,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.8,0.9",
- "title": "Current CPU Usage",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 77
- },
- "id": 106,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_loaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Loaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 10,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 7,
- "y": 77
- },
- "id": 107,
- "interval": "1s",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 40,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "used",
- "color": "#82b5d8"
- },
- {
- "alias": "committed",
- "color": "#447ebc"
- },
- {
- "alias": "max",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 4
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "max",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_max",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_max WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "committed",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_committed",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_committed WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_memory_used",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT mean(value) AS val FROM jvm_memory_used WHERE $timeFilter AND area = 'nonheap' AND service =~ /^$service/ GROUP BY time($__interval),*) GROUP BY time($__interval) fill(previous)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "gauge"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "area",
- "operator": "=",
- "value": "nonheap"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Memory - Non-Heap",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 4,
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 13,
- "y": 77
- },
- "id": 108,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 41,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_state",
- "groupBy": [
- {
- "params": [
- "15s"
- ],
- "type": "time"
- },
- {
- "params": [
- "state"
- ],
- "type": "tag"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_threads_states",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"gauge\") FROM \"jvm_memory_max\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY time(1m) fill(null)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "# Threads by States",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Major GC": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 1,
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 77
- },
- "id": 109,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": false,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 3,
- "points": true,
- "renderer": "flot",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 47,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Minor GC"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Minor GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of minor GC"
- }
- ]
- },
- {
- "alias": "Major GC",
- "groupBy": [
- {
- "params": [
- "1s"
- ],
- "type": "time"
- }
- ],
- "hide": false,
- "measurement": "jvm_gc_pause",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "action",
- "operator": "=",
- "value": "end of major GC"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Garbage Collection Pauses",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 3,
- "x": 4,
- "y": 80
- },
- "id": 110,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 12,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "jvm_classes_unloaded",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"jvm_classes_unloaded\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"service\"])\n |> last()\n",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Unloaded Classes",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "content": "----",
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 83
- },
- "id": 111,
- "links": [],
- "mode": "html",
- "repeatIteration": 1587549200544,
- "repeatPanelId": 51,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "title": "",
- "transparent": true,
- "type": "text"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 16,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "tags": [],
- "text": "All",
- "value": [
- "$__all"
- ]
- },
- "datasource": "LocalInflux",
- "definition": "SHOW TAG VALUES WITH KEY=\"service\"",
- "hide": 0,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "service",
- "options": [],
- "query": "SHOW TAG VALUES WITH KEY=\"service\"",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "JVM Metrics",
- "uid": "jaEIHn8ik",
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/self-monitoring.json b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/self-monitoring.json
deleted file mode 100644
index 508defe277..0000000000
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/self-monitoring.json
+++ /dev/null
@@ -1,7068 +0,0 @@
-{
- "annotations": {
- "list": [
- {
- "$$hashKey": "object:10",
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": 6,
- "iteration": 1588836303607,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "panels": [],
- "repeat": "service",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 3,
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 0,
- "y": 1
- },
- "id": 4,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT LAST(\"instrumented\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "10,30",
- "title": "Instr. Scope",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "120%",
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 3,
- "y": 1
- },
- "id": 47,
- "links": [],
- "pageSize": null,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": false
- },
- "styles": [
- {
- "alias": "Time",
- "align": "auto",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "hidden"
- },
- {
- "alias": "Description",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Metric",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Count",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "Value",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "alias": "# classes loaded by JVM",
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# instrumented classes",
- "groupBy": [],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# classes pending for analysis",
- "groupBy": [],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "title": "Instrumentation State",
- "transform": "timeseries_to_rows",
- "type": "table"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 9,
- "y": 1
- },
- "id": 23,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - LAST(\"queuesize\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.33,0.66",
- "title": "Analysis Progress",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#890f02",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 1
- },
- "id": 76,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:380",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:381",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^ERROR$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Errors",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:383",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "classes pending for hook": "#99440a"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 10,
- "x": 14,
- "y": 1
- },
- "hiddenSeries": false,
- "id": 49,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "seriesOverrides": [
- {
- "alias": "instrumented classes",
- "color": "#629e51",
- "fill": 5,
- "zindex": 3
- },
- {
- "alias": "classes pending for analysis",
- "color": "#eab839",
- "zindex": 0
- },
- {
- "alias": "loaded classes",
- "color": "#82b5d8",
- "zindex": -3
- },
- {
- "alias": "JVM CPU Utilization",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 2,
- "yaxis": 2,
- "zindex": 3
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "loaded classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "instrumented classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "classes pending for analysis",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Instrumentation State over time (Logarithmic Scale)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "# Classes",
- "logBase": 10,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1",
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 3
- },
- "id": 107,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:421",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:422",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^WARN$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Warnings",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:424",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 5
- },
- "id": 108,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:462",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:463",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "api-gateway",
- "value": "api-gateway"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^INFO|DEBUG|TRACE$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Other Logs",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:465",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 7
- },
- "id": 109,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1588836303607,
- "repeatPanelId": 2,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 3,
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 0,
- "y": 8
- },
- "id": 110,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT LAST(\"instrumented\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "10,30",
- "title": "Instr. Scope",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "120%",
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 3,
- "y": 8
- },
- "id": 111,
- "links": [],
- "pageSize": null,
- "repeatIteration": 1588836303607,
- "repeatPanelId": 47,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": false
- },
- "styles": [
- {
- "alias": "Time",
- "align": "auto",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "hidden"
- },
- {
- "alias": "Description",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Metric",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Count",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "Value",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "alias": "# classes loaded by JVM",
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# instrumented classes",
- "groupBy": [],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# classes pending for analysis",
- "groupBy": [],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "title": "Instrumentation State",
- "transform": "timeseries_to_rows",
- "type": "table"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 9,
- "y": 8
- },
- "id": 112,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 23,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - LAST(\"queuesize\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.33,0.66",
- "title": "Analysis Progress",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#890f02",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 8
- },
- "id": 113,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:380",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:381",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 76,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^ERROR$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Errors",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:383",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "classes pending for hook": "#99440a"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 10,
- "x": 14,
- "y": 8
- },
- "hiddenSeries": false,
- "id": 114,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588836303607,
- "repeatPanelId": 49,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "instrumented classes",
- "color": "#629e51",
- "fill": 5,
- "zindex": 3
- },
- {
- "alias": "classes pending for analysis",
- "color": "#eab839",
- "zindex": 0
- },
- {
- "alias": "loaded classes",
- "color": "#82b5d8",
- "zindex": -3
- },
- {
- "alias": "JVM CPU Utilization",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 2,
- "yaxis": 2,
- "zindex": 3
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "loaded classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "instrumented classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "classes pending for analysis",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Instrumentation State over time (Logarithmic Scale)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "# Classes",
- "logBase": 10,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1",
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 10
- },
- "id": 115,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:421",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:422",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 107,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^WARN$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Warnings",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:424",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 12
- },
- "id": 116,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:462",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:463",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 108,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "config-server",
- "value": "config-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^INFO|DEBUG|TRACE$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Other Logs",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:465",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 14
- },
- "id": 117,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1588836303607,
- "repeatPanelId": 2,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 3,
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 0,
- "y": 15
- },
- "id": 118,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT LAST(\"instrumented\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "10,30",
- "title": "Instr. Scope",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "120%",
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 3,
- "y": 15
- },
- "id": 119,
- "links": [],
- "pageSize": null,
- "repeatIteration": 1588836303607,
- "repeatPanelId": 47,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": false
- },
- "styles": [
- {
- "alias": "Time",
- "align": "auto",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "hidden"
- },
- {
- "alias": "Description",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Metric",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Count",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "Value",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "alias": "# classes loaded by JVM",
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# instrumented classes",
- "groupBy": [],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# classes pending for analysis",
- "groupBy": [],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "title": "Instrumentation State",
- "transform": "timeseries_to_rows",
- "type": "table"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 9,
- "y": 15
- },
- "id": 120,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 23,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - LAST(\"queuesize\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.33,0.66",
- "title": "Analysis Progress",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#890f02",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 15
- },
- "id": 121,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:380",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:381",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 76,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^ERROR$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Errors",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:383",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "classes pending for hook": "#99440a"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 10,
- "x": 14,
- "y": 15
- },
- "hiddenSeries": false,
- "id": 122,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588836303607,
- "repeatPanelId": 49,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "instrumented classes",
- "color": "#629e51",
- "fill": 5,
- "zindex": 3
- },
- {
- "alias": "classes pending for analysis",
- "color": "#eab839",
- "zindex": 0
- },
- {
- "alias": "loaded classes",
- "color": "#82b5d8",
- "zindex": -3
- },
- {
- "alias": "JVM CPU Utilization",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 2,
- "yaxis": 2,
- "zindex": 3
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "loaded classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "instrumented classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "classes pending for analysis",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Instrumentation State over time (Logarithmic Scale)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "# Classes",
- "logBase": 10,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1",
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 17
- },
- "id": 123,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:421",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:422",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 107,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^WARN$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Warnings",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:424",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 19
- },
- "id": 124,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:462",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:463",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 108,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "customers-service",
- "value": "customers-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^INFO|DEBUG|TRACE$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Other Logs",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:465",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 21
- },
- "id": 125,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1588836303607,
- "repeatPanelId": 2,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 3,
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 0,
- "y": 22
- },
- "id": 126,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT LAST(\"instrumented\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "10,30",
- "title": "Instr. Scope",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "120%",
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 3,
- "y": 22
- },
- "id": 127,
- "links": [],
- "pageSize": null,
- "repeatIteration": 1588836303607,
- "repeatPanelId": 47,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": false
- },
- "styles": [
- {
- "alias": "Time",
- "align": "auto",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "hidden"
- },
- {
- "alias": "Description",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Metric",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Count",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "Value",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "alias": "# classes loaded by JVM",
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# instrumented classes",
- "groupBy": [],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# classes pending for analysis",
- "groupBy": [],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "title": "Instrumentation State",
- "transform": "timeseries_to_rows",
- "type": "table"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 9,
- "y": 22
- },
- "id": 128,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 23,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - LAST(\"queuesize\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.33,0.66",
- "title": "Analysis Progress",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#890f02",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 22
- },
- "id": 129,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:380",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:381",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 76,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^ERROR$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Errors",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:383",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "classes pending for hook": "#99440a"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 10,
- "x": 14,
- "y": 22
- },
- "hiddenSeries": false,
- "id": 130,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588836303607,
- "repeatPanelId": 49,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "seriesOverrides": [
- {
- "alias": "instrumented classes",
- "color": "#629e51",
- "fill": 5,
- "zindex": 3
- },
- {
- "alias": "classes pending for analysis",
- "color": "#eab839",
- "zindex": 0
- },
- {
- "alias": "loaded classes",
- "color": "#82b5d8",
- "zindex": -3
- },
- {
- "alias": "JVM CPU Utilization",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 2,
- "yaxis": 2,
- "zindex": 3
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "loaded classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "instrumented classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "classes pending for analysis",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Instrumentation State over time (Logarithmic Scale)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "# Classes",
- "logBase": 10,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1",
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 24
- },
- "id": 131,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:421",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:422",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 107,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^WARN$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Warnings",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:424",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 26
- },
- "id": 132,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:462",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:463",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 108,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^INFO|DEBUG|TRACE$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Other Logs",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:465",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 28
- },
- "id": 133,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1588836303607,
- "repeatPanelId": 2,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 3,
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 0,
- "y": 29
- },
- "id": 134,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT LAST(\"instrumented\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "10,30",
- "title": "Instr. Scope",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "120%",
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 3,
- "y": 29
- },
- "id": 135,
- "links": [],
- "pageSize": null,
- "repeatIteration": 1588836303607,
- "repeatPanelId": 47,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": false
- },
- "styles": [
- {
- "alias": "Time",
- "align": "auto",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "hidden"
- },
- {
- "alias": "Description",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Metric",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Count",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "Value",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "alias": "# classes loaded by JVM",
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# instrumented classes",
- "groupBy": [],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# classes pending for analysis",
- "groupBy": [],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "title": "Instrumentation State",
- "transform": "timeseries_to_rows",
- "type": "table"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 9,
- "y": 29
- },
- "id": 136,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 23,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - LAST(\"queuesize\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.33,0.66",
- "title": "Analysis Progress",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#890f02",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 29
- },
- "id": 137,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:380",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:381",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 76,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^ERROR$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Errors",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:383",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "classes pending for hook": "#99440a"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 10,
- "x": 14,
- "y": 29
- },
- "hiddenSeries": false,
- "id": 138,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588836303607,
- "repeatPanelId": 49,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "instrumented classes",
- "color": "#629e51",
- "fill": 5,
- "zindex": 3
- },
- {
- "alias": "classes pending for analysis",
- "color": "#eab839",
- "zindex": 0
- },
- {
- "alias": "loaded classes",
- "color": "#82b5d8",
- "zindex": -3
- },
- {
- "alias": "JVM CPU Utilization",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 2,
- "yaxis": 2,
- "zindex": 3
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "loaded classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "instrumented classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "classes pending for analysis",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Instrumentation State over time (Logarithmic Scale)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "# Classes",
- "logBase": 10,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1",
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 31
- },
- "id": 139,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:421",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:422",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 107,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^WARN$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Warnings",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:424",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 33
- },
- "id": 140,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:462",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:463",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 108,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "vets-service",
- "value": "vets-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^INFO|DEBUG|TRACE$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Other Logs",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:465",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "collapsed": false,
- "datasource": null,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 35
- },
- "id": 141,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1588836303607,
- "repeatPanelId": 2,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "title": "$service",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "decimals": 3,
- "format": "percentunit",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 0,
- "y": 36
- },
- "id": 142,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT LAST(\"instrumented\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "10,30",
- "title": "Instr. Scope",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "columns": [],
- "datasource": "LocalInflux",
- "fontSize": "120%",
- "gridPos": {
- "h": 6,
- "w": 6,
- "x": 3,
- "y": 36
- },
- "id": 143,
- "links": [],
- "pageSize": null,
- "repeatIteration": 1588836303607,
- "repeatPanelId": 47,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 1,
- "desc": false
- },
- "styles": [
- {
- "alias": "Time",
- "align": "auto",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "hidden"
- },
- {
- "alias": "Description",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Metric",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Count",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "Value",
- "thresholds": [],
- "type": "number",
- "unit": "none"
- },
- {
- "alias": "",
- "align": "auto",
- "colorMode": null,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "/.*/",
- "thresholds": [],
- "type": "number",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "alias": "# classes loaded by JVM",
- "groupBy": [],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# instrumented classes",
- "groupBy": [],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "# classes pending for analysis",
- "groupBy": [],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "title": "Instrumentation State",
- "transform": "timeseries_to_rows",
- "type": "table"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 6,
- "w": 3,
- "x": 9,
- "y": 36
- },
- "id": 144,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 23,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - LAST(\"queuesize\")/LAST(\"loaded\") FROM instrumentation_state WHERE $timeFilter AND service =~ /^$service/",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": "0.33,0.66",
- "title": "Analysis Progress",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#890f02",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 36
- },
- "id": 145,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:380",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:381",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 76,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^ERROR$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Errors",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:383",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "classes pending for hook": "#99440a"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 5,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 10,
- "x": 14,
- "y": 36
- },
- "hiddenSeries": false,
- "id": 146,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1588836303607,
- "repeatPanelId": 49,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "seriesOverrides": [
- {
- "alias": "instrumented classes",
- "color": "#629e51",
- "fill": 5,
- "zindex": 3
- },
- {
- "alias": "classes pending for analysis",
- "color": "#eab839",
- "zindex": 0
- },
- {
- "alias": "loaded classes",
- "color": "#82b5d8",
- "zindex": -3
- },
- {
- "alias": "JVM CPU Utilization",
- "color": "#bf1b00",
- "fill": 0,
- "linewidth": 2,
- "yaxis": 2,
- "zindex": 3
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "loaded classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "jvm_classes_loaded",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "instrumented classes",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumented_classes",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "classes pending for analysis",
- "groupBy": [
- {
- "params": [
- "1m"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_instrumentation_queue_size",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- },
- {
- "alias": "JVM CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "process_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Instrumentation State over time (Logarithmic Scale)",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "# Classes",
- "logBase": 10,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1",
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 38
- },
- "id": 147,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:421",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:422",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 107,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^WARN$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Warnings",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:424",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgb(33,33,36)",
- "#967302",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 2,
- "x": 12,
- "y": 40
- },
- "id": 148,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "$$hashKey": "object:462",
- "name": "value to text",
- "value": 1
- },
- {
- "$$hashKey": "object:463",
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1588836303607,
- "repeatPanelId": 108,
- "repeatedByRow": true,
- "scopedVars": {
- "service": {
- "selected": false,
- "text": "visits-service",
- "value": "visits-service"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^INFO|DEBUG|TRACE$/ ) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- },
- {
- "params": [],
- "type": "non_negative_difference"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- }
- ],
- "thresholds": "1",
- "title": "Other Logs",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "$$hashKey": "object:465",
- "op": "=",
- "text": "0",
- "value": "null"
- }
- ],
- "valueName": "current"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 22,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": false,
- "text": "All",
- "value": "$__all"
- },
- "datasource": "LocalInflux",
- "definition": "SHOW TAG VALUES WITH KEY = \"service\"",
- "hide": 0,
- "includeAll": true,
- "index": -1,
- "label": null,
- "multi": true,
- "name": "service",
- "options": [],
- "query": "SHOW TAG VALUES WITH KEY = \"service\"",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "inspectIT Agent Self-Monitoring",
- "uid": "D-EaVt_ik",
- "variables": {
- "list": []
- },
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/service-graph-influxql.json b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/service-graph-influxql.json
deleted file mode 100644
index 7045de8907..0000000000
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/service-graph-influxql.json
+++ /dev/null
@@ -1,485 +0,0 @@
-{
- "annotations": {
- "list": [
- {
- "$$hashKey": "object:728",
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "iteration": 1629379201350,
- "links": [],
- "panels": [
- {
- "datasource": "LocalInflux",
- "gridPos": {
- "h": 20,
- "w": 22,
- "x": 0,
- "y": 0
- },
- "id": 4,
- "links": [],
- "options": {
- "aggregationType": "service",
- "baselineRtUpper": "threshold",
- "dataMapping": {
- "aggregationType": "service",
- "baselineRtUpper": "threshold",
- "errorRateColumn": "error_in",
- "errorRateOutgoingColumn": "error_out",
- "extOrigin": "",
- "extTarget": "",
- "requestRateColumn": "in_count",
- "requestRateOutgoingColumn": "out_count",
- "responseTimeColumn": "in_timesum",
- "responseTimeOutgoingColumn": "out_timesum",
- "showDummyData": false,
- "sourceColumn": "origin_service",
- "targetColumn": "target_service",
- "type": ""
- },
- "drillDownLink": "",
- "dummyDataSwitch": {
- "aggregationType": "service",
- "baselineRtUpper": "threshold",
- "errorRateColumn": "error-rate",
- "errorRateOutgoingColumn": "error-rate-out",
- "extOrigin": "external_origin",
- "extTarget": "external_target",
- "requestRateColumn": "request-rate",
- "requestRateOutgoingColumn": "request-rate-out",
- "responseTimeColumn": "response-time",
- "responseTimeOutgoingColumn": "response-time-out",
- "showDummyData": false,
- "sourceColumn": "origin_service",
- "targetColumn": "target_service",
- "type": "type"
- },
- "errorRateColumn": "error-rate",
- "errorRateOutgoingColumn": "error-rate-out",
- "externalIconMapping": [
- {
- "filename": "web",
- "pattern": "web"
- },
- {
- "filename": "message",
- "pattern": "jms"
- },
- {
- "filename": "database",
- "pattern": "jdbc"
- },
- {
- "filename": "http",
- "pattern": "http"
- }
- ],
- "externalIcons": [
- {
- "filename": "web",
- "pattern": "web"
- },
- {
- "filename": "message",
- "pattern": "jms"
- },
- {
- "filename": "database",
- "pattern": "jdbc"
- },
- {
- "filename": "http",
- "pattern": "http"
- }
- ],
- "externalOrigin": "external_origin",
- "externalTarget": "external_target",
- "filterEmptyConnections": true,
- "iconMapping": [
- {
- "filename": "java",
- "pattern": "java"
- },
- {
- "filename": "star_trek",
- "pattern": "spok|star trek"
- }
- ],
- "icons": [
- {
- "filename": "java",
- "pattern": "java"
- },
- {
- "filename": "star_trek",
- "pattern": "spok|star trek"
- }
- ],
- "requestRateColumn": "request-rate",
- "requestRateOutgoingColumn": "request-rate-out",
- "responseTime": "response-time",
- "responseTimeOutgoingColumn": "response-time-out",
- "showBaselines": false,
- "showConnectionStats": true,
- "showDebugInformation": false,
- "sourceComponentPrefix": "origin_service",
- "style": {
- "dangerColor": "rgb(196, 22, 42)",
- "healthyColor": "rgb(87, 148, 242)",
- "noDataColor": "rgb(123, 123, 138)"
- },
- "sumTimings": true,
- "targetComponentPrefix": "target_service",
- "timeFormat": "m",
- "type": "type"
- },
- "pluginVersion": "4.0.2",
- "targets": [
- {
- "alias": "in_count",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "service_in_count",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"count\") AS \"in_count\" FROM \"autogen\".\"service_in_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND $timeFilter\nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "spread"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"count\") AS \"out_count\" FROM \"autogen\".\"service_out_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND $timeFilter\nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"sum\")/SUM(\"count\") AS \"in_responsetime\" FROM \"autogen\".\"service_in_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND $timeFilter\nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"sum\")/SUM(\"count\") AS \"out_responsetime\" FROM \"autogen\".\"service_out_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND $timeFilter\nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- },
- {
- "alias": "in_count",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "service_in_count",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"count\") AS \"in_errors\" FROM \"autogen\".\"service_in_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND \"error\"='true' AND $timeFilter\nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "E",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "spread"
- }
- ]
- ],
- "tags": []
- },
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT SUM(\"count\") AS \"out_errors\" FROM \"autogen\".\"service_out_responsetime\" \nWHERE (\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND \"error\"='true' AND $timeFilter\nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
- "rawQuery": true,
- "refId": "F",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Service Graph",
- "type": "novatec-sdg-panel"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 30,
- "style": "dark",
- "tags": [
- "agent"
- ],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": "service",
- "value": "service"
- },
- "description": null,
- "error": null,
- "hide": 2,
- "includeAll": false,
- "label": "",
- "multi": false,
- "name": "aggregationType",
- "options": [
- {
- "selected": true,
- "text": "service",
- "value": "service"
- }
- ],
- "query": "service",
- "skipUrlSync": false,
- "type": "custom"
- },
- {
- "allValue": ".*",
- "current": {
- "selected": true,
- "text": [
- "All"
- ],
- "value": [
- "$__all"
- ]
- },
- "datasource": "LocalInflux",
- "definition": "SHOW TAG VALUES WITH KEY=\"service\"",
- "description": null,
- "error": null,
- "hide": 0,
- "includeAll": true,
- "label": "Service",
- "multi": true,
- "name": "service",
- "options": [],
- "query": "SHOW TAG VALUES WITH KEY=\"service\"",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-5m",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Service Graph",
- "uid": "Kx4wbZRZk",
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/system-metrics.json b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/system-metrics.json
deleted file mode 100644
index 4a20669243..0000000000
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/agent/system-metrics.json
+++ /dev/null
@@ -1,5279 +0,0 @@
-{
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": 2,
- "iteration": 1580729039212,
- "links": [],
- "panels": [
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 7,
- "panels": [],
- "repeat": "host",
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "1bfe532f5646",
- "value": "1bfe532f5646"
- }
- },
- "title": "$host",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#bf1b00"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 0,
- "y": 1
- },
- "id": 5,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "1bfe532f5646",
- "value": "1bfe532f5646"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "last",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "CPU Usage",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "CPU Utilization": "#82b5d8",
- "Load Average": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 3,
- "y": 1
- },
- "id": 11,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 3,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "1bfe532f5646",
- "value": "1bfe532f5646"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Load Average",
- "fill": 0,
- "linewidth": 3,
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "Load Average",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_load_average_1m",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 12,
- "y": 1
- },
- "id": 4,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "1bfe532f5646",
- "value": "1bfe532f5646"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - last(\"free\") / last(\"total\") FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Disk Usage",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "disk_free ": "#629e51",
- "disk_used ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 7,
- "gridPos": {
- "h": 6,
- "w": 9,
- "x": 15,
- "y": 1
- },
- "id": 13,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "1bfe532f5646",
- "value": "1bfe532f5646"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total capacity",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_total",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "usedPerc = () => {\ntotal = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_total\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nfree = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nreturn join(tables:{total:total, free:free},on:[\"_time\",\"_stop\",\"_start\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_total - r._value_free),\n _measurement: \"disk_used\"\n }))\n}\n\nusedPerc()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"total\")- mean(free) FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Disk Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 0,
- "y": 5
- },
- "id": 9,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "1bfe532f5646",
- "value": "1bfe532f5646"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_count",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "from(bucket: \"telegraf\")\n|> range(start: -1m)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_count\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])\n|> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "",
- "title": "# CPUs",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "decimals": null,
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 12,
- "y": 5
- },
- "id": 12,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "1bfe532f5646",
- "value": "1bfe532f5646"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "disk_free",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\"])\n |> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "500000,200000",
- "title": "Disk Free",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 7
- },
- "id": 14,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1580729039212,
- "repeatPanelId": 7,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "5c848976289b",
- "value": "5c848976289b"
- }
- },
- "title": "$host",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#bf1b00"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 0,
- "y": 8
- },
- "id": 15,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 5,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "5c848976289b",
- "value": "5c848976289b"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "last",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "CPU Usage",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "CPU Utilization": "#82b5d8",
- "Load Average": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 3,
- "y": 8
- },
- "id": 16,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 3,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 11,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "5c848976289b",
- "value": "5c848976289b"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Load Average",
- "fill": 0,
- "linewidth": 3,
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "Load Average",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_load_average_1m",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 12,
- "y": 8
- },
- "id": 17,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "5c848976289b",
- "value": "5c848976289b"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - last(\"free\") / last(\"total\") FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Disk Usage",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "disk_free ": "#629e51",
- "disk_used ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 7,
- "gridPos": {
- "h": 6,
- "w": 9,
- "x": 15,
- "y": 8
- },
- "id": 18,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 13,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "5c848976289b",
- "value": "5c848976289b"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total capacity",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_total",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "usedPerc = () => {\ntotal = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_total\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nfree = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nreturn join(tables:{total:total, free:free},on:[\"_time\",\"_stop\",\"_start\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_total - r._value_free),\n _measurement: \"disk_used\"\n }))\n}\n\nusedPerc()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"total\")- mean(free) FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Disk Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 0,
- "y": 12
- },
- "id": 19,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1580729039212,
- "repeatPanelId": 9,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "5c848976289b",
- "value": "5c848976289b"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_count",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "from(bucket: \"telegraf\")\n|> range(start: -1m)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_count\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])\n|> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "",
- "title": "# CPUs",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "decimals": null,
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 12,
- "y": 12
- },
- "id": 20,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1580729039212,
- "repeatPanelId": 12,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "5c848976289b",
- "value": "5c848976289b"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "disk_free",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\"])\n |> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "500000,200000",
- "title": "Disk Free",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 14
- },
- "id": 21,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1580729039212,
- "repeatPanelId": 7,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "843e55a2f995",
- "value": "843e55a2f995"
- }
- },
- "title": "$host",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#bf1b00"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 0,
- "y": 15
- },
- "id": 22,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 5,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "843e55a2f995",
- "value": "843e55a2f995"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "last",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "CPU Usage",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "CPU Utilization": "#82b5d8",
- "Load Average": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 3,
- "y": 15
- },
- "id": 23,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 3,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 11,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "843e55a2f995",
- "value": "843e55a2f995"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Load Average",
- "fill": 0,
- "linewidth": 3,
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "Load Average",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_load_average_1m",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 12,
- "y": 15
- },
- "id": 24,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "843e55a2f995",
- "value": "843e55a2f995"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - last(\"free\") / last(\"total\") FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Disk Usage",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "disk_free ": "#629e51",
- "disk_used ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 7,
- "gridPos": {
- "h": 6,
- "w": 9,
- "x": 15,
- "y": 15
- },
- "id": 25,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 13,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "843e55a2f995",
- "value": "843e55a2f995"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total capacity",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_total",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "usedPerc = () => {\ntotal = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_total\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nfree = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nreturn join(tables:{total:total, free:free},on:[\"_time\",\"_stop\",\"_start\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_total - r._value_free),\n _measurement: \"disk_used\"\n }))\n}\n\nusedPerc()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"total\")- mean(free) FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Disk Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 0,
- "y": 19
- },
- "id": 26,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1580729039212,
- "repeatPanelId": 9,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "843e55a2f995",
- "value": "843e55a2f995"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_count",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "from(bucket: \"telegraf\")\n|> range(start: -1m)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_count\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])\n|> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "",
- "title": "# CPUs",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "decimals": null,
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 12,
- "y": 19
- },
- "id": 27,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1580729039212,
- "repeatPanelId": 12,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "843e55a2f995",
- "value": "843e55a2f995"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "disk_free",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\"])\n |> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "500000,200000",
- "title": "Disk Free",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 21
- },
- "id": 28,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1580729039212,
- "repeatPanelId": 7,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "891bdc889c77",
- "value": "891bdc889c77"
- }
- },
- "title": "$host",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#bf1b00"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 0,
- "y": 22
- },
- "id": 29,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 5,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "891bdc889c77",
- "value": "891bdc889c77"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "last",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "CPU Usage",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "CPU Utilization": "#82b5d8",
- "Load Average": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 3,
- "y": 22
- },
- "id": 30,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 3,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 11,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "891bdc889c77",
- "value": "891bdc889c77"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Load Average",
- "fill": 0,
- "linewidth": 3,
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "Load Average",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_load_average_1m",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 12,
- "y": 22
- },
- "id": 31,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "891bdc889c77",
- "value": "891bdc889c77"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - last(\"free\") / last(\"total\") FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Disk Usage",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "disk_free ": "#629e51",
- "disk_used ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 7,
- "gridPos": {
- "h": 6,
- "w": 9,
- "x": 15,
- "y": 22
- },
- "id": 32,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 13,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "891bdc889c77",
- "value": "891bdc889c77"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total capacity",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_total",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "usedPerc = () => {\ntotal = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_total\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nfree = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nreturn join(tables:{total:total, free:free},on:[\"_time\",\"_stop\",\"_start\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_total - r._value_free),\n _measurement: \"disk_used\"\n }))\n}\n\nusedPerc()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"total\")- mean(free) FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Disk Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 0,
- "y": 26
- },
- "id": 33,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1580729039212,
- "repeatPanelId": 9,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "891bdc889c77",
- "value": "891bdc889c77"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_count",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "from(bucket: \"telegraf\")\n|> range(start: -1m)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_count\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])\n|> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "",
- "title": "# CPUs",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "decimals": null,
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 12,
- "y": 26
- },
- "id": 34,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1580729039212,
- "repeatPanelId": 12,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "891bdc889c77",
- "value": "891bdc889c77"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "disk_free",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\"])\n |> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "500000,200000",
- "title": "Disk Free",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 28
- },
- "id": 35,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1580729039212,
- "repeatPanelId": 7,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "a54468c29b5f",
- "value": "a54468c29b5f"
- }
- },
- "title": "$host",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#bf1b00"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 0,
- "y": 29
- },
- "id": 36,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 5,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "a54468c29b5f",
- "value": "a54468c29b5f"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "last",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "CPU Usage",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "CPU Utilization": "#82b5d8",
- "Load Average": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 3,
- "y": 29
- },
- "id": 37,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 3,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 11,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "a54468c29b5f",
- "value": "a54468c29b5f"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Load Average",
- "fill": 0,
- "linewidth": 3,
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "Load Average",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_load_average_1m",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 12,
- "y": 29
- },
- "id": 38,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "a54468c29b5f",
- "value": "a54468c29b5f"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - last(\"free\") / last(\"total\") FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Disk Usage",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "disk_free ": "#629e51",
- "disk_used ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 7,
- "gridPos": {
- "h": 6,
- "w": 9,
- "x": 15,
- "y": 29
- },
- "id": 39,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 13,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "a54468c29b5f",
- "value": "a54468c29b5f"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total capacity",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_total",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "usedPerc = () => {\ntotal = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_total\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nfree = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nreturn join(tables:{total:total, free:free},on:[\"_time\",\"_stop\",\"_start\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_total - r._value_free),\n _measurement: \"disk_used\"\n }))\n}\n\nusedPerc()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"total\")- mean(free) FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Disk Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 0,
- "y": 33
- },
- "id": 40,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1580729039212,
- "repeatPanelId": 9,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "a54468c29b5f",
- "value": "a54468c29b5f"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_count",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "from(bucket: \"telegraf\")\n|> range(start: -1m)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_count\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])\n|> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "",
- "title": "# CPUs",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "decimals": null,
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 12,
- "y": 33
- },
- "id": 41,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1580729039212,
- "repeatPanelId": 12,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "a54468c29b5f",
- "value": "a54468c29b5f"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "disk_free",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\"])\n |> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "500000,200000",
- "title": "Disk Free",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 35
- },
- "id": 42,
- "panels": [],
- "repeat": null,
- "repeatIteration": 1580729039212,
- "repeatPanelId": 7,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "f009585a9a12",
- "value": "f009585a9a12"
- }
- },
- "title": "$host",
- "type": "row"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#bf1b00"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 0,
- "y": 36
- },
- "id": 43,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatDirection": "h",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 5,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "f009585a9a12",
- "value": "f009585a9a12"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "last",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "CPU Usage",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "CPU Utilization": "#82b5d8",
- "Load Average": "#bf1b00"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 2,
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 3,
- "y": 36
- },
- "id": 44,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 3,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 11,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "f009585a9a12",
- "value": "f009585a9a12"
- }
- },
- "seriesOverrides": [
- {
- "alias": "Load Average",
- "fill": 0,
- "linewidth": 3,
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "CPU Utilization",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_cpu_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n|> range($range)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_usage\" AND\n r.service == \"$service\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "Load Average",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "system_load_average_1m",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "percentunit",
- "label": null,
- "logBase": 1,
- "max": "1.05",
- "min": "0",
- "show": true
- },
- {
- "format": "none",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "percentunit",
- "gauge": {
- "maxValue": 1,
- "minValue": 0,
- "show": true,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 12,
- "y": 36
- },
- "id": 45,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 4,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "f009585a9a12",
- "value": "f009585a9a12"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT 1 - last(\"free\") / last(\"total\") FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "0.9,0.95",
- "title": "Disk Usage",
- "type": "singlestat",
- "valueFontSize": "50%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "aliasColors": {
- "disk_free ": "#629e51",
- "disk_used ": "#1f78c1"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "LocalInflux",
- "fill": 7,
- "gridPos": {
- "h": 6,
- "w": 9,
- "x": 15,
- "y": 36
- },
- "id": 46,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeatIteration": 1580729039212,
- "repeatPanelId": 13,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "f009585a9a12",
- "value": "f009585a9a12"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "total capacity",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "linear"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_total",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "usedPerc = () => {\ntotal = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_total\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nfree = from(bucket: \"telegraf\")\n |> range($range)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\", \"_measurement\"])\n \nreturn join(tables:{total:total, free:free},on:[\"_time\",\"_stop\",\"_start\"])\n |> map(fn:(r) => ({\n _time: r._time,\n _value: (r._value_total - r._value_free),\n _measurement: \"disk_used\"\n }))\n}\n\nusedPerc()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- },
- {
- "alias": "used",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "null"
- ],
- "type": "fill"
- }
- ],
- "measurement": "disk_usage",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "SELECT mean(\"total\")- mean(free) FROM \"disk_usage\" WHERE (\"host\" =~ /^$host$/) AND $timeFilter GROUP BY time($__interval) fill(linear)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "total"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Disk Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": null,
- "format": "decbytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "#d44a3a"
- ],
- "datasource": "LocalInflux",
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 0,
- "y": 40
- },
- "id": 47,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1580729039212,
- "repeatPanelId": 9,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "f009585a9a12",
- "value": "f009585a9a12"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "system_cpu_count",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "from(bucket: \"telegraf\")\n|> range(start: -1m)\n|> filter(fn: (r) =>\n r._measurement == \"system_cpu_count\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n|> keep(columns: [\"_value\", \"_time\"])\n|> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "",
- "title": "# CPUs",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#d44a3a",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": "LocalInflux",
- "decimals": null,
- "format": "decbytes",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 2,
- "w": 3,
- "x": 12,
- "y": 40
- },
- "id": 48,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeatIteration": 1580729039212,
- "repeatPanelId": 12,
- "repeatedByRow": true,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "f009585a9a12",
- "value": "f009585a9a12"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "groupBy": [],
- "measurement": "disk_free",
- "orderByTime": "ASC",
- "policy": "default",
- "query": "from(bucket: \"telegraf\")\n |> range(start: -1m)\n |> filter(fn: (r) =>\n r._measurement == \"disk_free\" AND\n r.host == \"$host\" AND\n r._field == \"gauge\")\n |> keep(columns: [\"_value\", \"_time\"])\n |> last()",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "host",
- "operator": "=~",
- "value": "/^$host$/"
- }
- ]
- }
- ],
- "thresholds": "500000,200000",
- "title": "Disk Free",
- "transparent": false,
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "avg"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 16,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "text": "All",
- "value": [
- "$__all"
- ]
- },
- "datasource": "LocalInflux",
- "definition": "SHOW TAG VALUES WITH KEY = \"host\"",
- "hide": 0,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "host",
- "options": [],
- "query": "SHOW TAG VALUES WITH KEY = \"host\"",
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "System Metrics",
- "uid": "system-metrics",
- "version": 1
-}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/dashboards.yml b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/dashboards.yml
deleted file mode 100644
index 128dda5c8a..0000000000
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/dashboards.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-apiVersion: 1
-
-providers:
-- name: 'default'
- orgId: 1
- folder: ''
- type: file
- disableDeletion: false
- updateIntervalSeconds: 10 #how often Grafana will scan for changed dashboards
- options:
- path: /usr/share/grafana/custom/dashboards/
-- name: 'agent'
- orgId: 1
- folder: 'agent'
- type: file
- disableDeletion: false
- updateIntervalSeconds: 10 #how often Grafana will scan for changed dashboards
- options:
- path: /usr/share/grafana/custom/dashboards/agent
-- name: 'eum-server'
- orgId: 1
- folder: 'eum-server'
- type: file
- disableDeletion: false
- updateIntervalSeconds: 10 #how often Grafana will scan for changed dashboards
- options:
- path: /usr/share/grafana/custom/dashboards/eum-server
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/eum-server/Beacons.json b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/eum-server/Beacons.json
deleted file mode 100644
index ea6d1407f6..0000000000
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/eum-server/Beacons.json
+++ /dev/null
@@ -1,479 +0,0 @@
-{
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "links": [],
- "panels": [
- {
- "datasource": "InfluxDB-EUM",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 0
- },
- "id": 16,
- "options": {
- "colorMode": "value",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "sum"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "8.0.6",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "none"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_eum_self_beacons_received",
- "orderByTime": "ASC",
- "policy": "autogen",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "count"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": []
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "All Beacon Count",
- "type": "stat"
- },
- {
- "datasource": "InfluxDB-EUM",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "ms"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 0
- },
- "id": 8,
- "options": {
- "colorMode": "value",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "8.0.6",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "beacon_processor"
- ],
- "type": "tag"
- }
- ],
- "hide": false,
- "measurement": "inspectit_eum_self_beacons_processor",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "SELECT sum(\"duration_sum\")/sum(\"count\") FROM \"autogen\".\"inspectit_eum_self_beacons_processor\" WHERE $timeFilter GROUP BY \"beacon_processor\"",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "duration_sum"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": []
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Avg duration of all beacons",
- "transformations": [
- {
- "id": "reduce",
- "options": {
- "includeTimeField": false,
- "mode": "reduceFields",
- "reducers": [
- "mean"
- ]
- }
- }
- ],
- "type": "stat"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "InfluxDB-EUM",
- "fieldConfig": {
- "defaults": {
- "unit": "ms"
- },
- "overrides": []
- },
- "fill": 7,
- "fillGradient": 0,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 7
- },
- "hiddenSeries": false,
- "id": 6,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 0,
- "nullPointMode": "null as zero",
- "options": {
- "alertThreshold": false
- },
- "percentage": false,
- "pluginVersion": "8.0.6",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "$tag_beacon_processor",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "beacon_processor"
- ],
- "type": "tag"
- },
- {
- "params": [
- "none"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_eum_self_beacons_processor",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "SELECT sum(\"duration_sum\")/sum(\"count\") FROM \"autogen\".\"inspectit_eum_self_beacons_processor\" WHERE $timeFilter GROUP BY time($interval), \"beacon_processor\" fill(none)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "duration_sum"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Avg Duration",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:63",
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "$$hashKey": "object:64",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "datasource": "InfluxDB-EUM",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "fixed"
- },
- "custom": {
- "align": "left",
- "displayMode": "auto",
- "filterable": false
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "ms"
- },
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "beacon_processor"
- },
- "properties": [
- {
- "id": "custom.width",
- "value": 287
- }
- ]
- }
- ]
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 7
- },
- "id": 10,
- "options": {
- "frameIndex": 1,
- "showHeader": true,
- "sortBy": []
- },
- "pluginVersion": "8.0.6",
- "targets": [
- {
- "alias": "Duration",
- "groupBy": [
- {
- "params": [
- "beacon_processor"
- ],
- "type": "tag"
- }
- ],
- "hide": false,
- "measurement": "inspectit_eum_self_beacons_processor",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "SELECT sum(\"duration_sum\")/sum(\"count\") FROM \"autogen\".\"inspectit_eum_self_beacons_processor\" WHERE $timeFilter GROUP BY \"beacon_processor\"",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "duration_sum"
- ],
- "type": "field"
- }
- ]
- ],
- "tags": []
- }
- ],
- "title": "Beacon Table",
- "transformations": [
- {
- "id": "seriesToColumns",
- "options": {
- "byField": "beacon_processor"
- }
- },
- {
- "id": "organize",
- "options": {
- "excludeByName": {
- "Time": true,
- "Time 1": true,
- "Time 2": true,
- "sum": true
- },
- "indexByName": {},
- "renameByName": {
- "Time 1": "",
- "beacon_processor": "Beacon Processor",
- "sum_sum": "Average Duration"
- }
- }
- }
- ],
- "type": "table"
- }
- ],
- "refresh": "5s",
- "schemaVersion": 30,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": []
- },
- "time": {
- "from": "now-30m",
- "to": "now"
- },
- "timepicker": {},
- "timezone": "",
- "title": "Beacons",
- "uid": "f6YQCSqGk",
- "version": 1
-}
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/eum-server/Traces.json b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/eum-server/Traces.json
deleted file mode 100644
index 658ca74635..0000000000
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/eum-server/Traces.json
+++ /dev/null
@@ -1,805 +0,0 @@
-{
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "links": [],
- "panels": [
- {
- "datasource": "InfluxDB-EUM",
- "description": "",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 0,
- "y": 0
- },
- "id": 16,
- "options": {
- "colorMode": "value",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "sum"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "8.0.6",
- "targets": [
- {
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "none"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_eum_self_traces_received",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "SELECT sum(\"count\") FROM \"autogen\".\"inspectit_eum_self_traces_received_duration\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
- "rawQuery": false,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "count"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": []
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Received Traces",
- "type": "stat"
- },
- {
- "datasource": "InfluxDB-EUM",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "ms"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 8,
- "y": 0
- },
- "id": 8,
- "options": {
- "colorMode": "value",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "8.0.6",
- "targets": [
- {
- "alias": "",
- "groupBy": [],
- "measurement": "inspectit_eum_self_traces_received",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "SELECT sum(\"duration_sum\")/sum(\"count\") FROM \"autogen\".\"inspectit_eum_self_traces_received\" WHERE $timeFilter",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "table",
- "select": [
- [
- {
- "params": [
- "duration_sum"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": []
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Average Processing Time",
- "transformations": [],
- "type": "stat"
- },
- {
- "datasource": "InfluxDB-EUM",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "max": 1,
- "min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "none"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 6,
- "w": 8,
- "x": 16,
- "y": 0
- },
- "id": 18,
- "options": {
- "colorMode": "value",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "8.0.6",
- "targets": [
- {
- "alias": "All Traces",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "none"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "inspectit_eum_self_traces_received",
- "orderByTime": "ASC",
- "policy": "autogen",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "count"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": []
- },
- {
- "alias": "Error Traces",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "none"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "inspectit_eum_self_traces_received",
- "orderByTime": "ASC",
- "policy": "autogen",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "count"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "is_error",
- "operator": "=",
- "value": "true"
- }
- ]
- }
- ],
- "title": "Processing Errors",
- "transformations": [
- {
- "id": "calculateField",
- "options": {
- "alias": "All Error Traces",
- "binary": {
- "left": "Error Traces",
- "operator": "/",
- "reducer": "sum",
- "right": "All Traces"
- },
- "mode": "reduceRow",
- "reduce": {
- "include": [
- "Error Traces"
- ],
- "reducer": "count"
- },
- "replaceFields": false
- }
- },
- {
- "id": "calculateField",
- "options": {
- "alias": "Error Rate",
- "binary": {
- "left": "All Error Traces",
- "operator": "/",
- "reducer": "sum",
- "right": "All Traces"
- },
- "mode": "binary",
- "reduce": {
- "reducer": "sum"
- },
- "replaceFields": true
- }
- }
- ],
- "type": "stat"
- },
- {
- "aliasColors": {},
- "bars": true,
- "dashLength": 10,
- "dashes": false,
- "datasource": "InfluxDB-EUM",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 10,
- "w": 8,
- "x": 0,
- "y": 6
- },
- "hiddenSeries": false,
- "id": 22,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": false,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "8.0.6",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Successful Traces",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "none"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_eum_self_traces_received",
- "orderByTime": "ASC",
- "policy": "autogen",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "count"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": [
- {
- "key": "is_error",
- "operator": "=",
- "value": "false"
- }
- ]
- },
- {
- "alias": "Errors",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "none"
- ],
- "type": "fill"
- }
- ],
- "hide": false,
- "measurement": "inspectit_eum_self_traces_received",
- "orderByTime": "ASC",
- "policy": "autogen",
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "count"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "count"
- }
- ]
- ],
- "tags": [
- {
- "key": "is_error",
- "operator": "=",
- "value": "true"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Received Traces and Error Count",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "transformations": [],
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:335",
- "decimals": null,
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "$$hashKey": "object:336",
- "decimals": null,
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": "InfluxDB-EUM",
- "fieldConfig": {
- "defaults": {
- "unit": "ms"
- },
- "overrides": []
- },
- "fill": 8,
- "fillGradient": 0,
- "gridPos": {
- "h": 10,
- "w": 8,
- "x": 8,
- "y": 6
- },
- "hiddenSeries": false,
- "id": 6,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 0,
- "nullPointMode": "connected",
- "options": {
- "alertThreshold": false
- },
- "percentage": false,
- "pluginVersion": "8.0.6",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Avg Duration",
- "groupBy": [
- {
- "params": [
- "$interval"
- ],
- "type": "time"
- }
- ],
- "measurement": "inspectit_eum_self_traces_received",
- "orderByTime": "ASC",
- "policy": "autogen",
- "query": "SELECT sum(\"duration_sum\")/sum(\"count\") FROM \"autogen\".\"inspectit_eum_self_traces_received\" WHERE $timeFilter GROUP BY time($interval)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "duration_sum"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Average Duration of Traces",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:231",
- "format": "ms",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "$$hashKey": "object:232",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": true,
- "dashLength": 10,
- "dashes": false,
- "datasource": "InfluxDB-EUM",
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 10,
- "w": 8,
- "x": 16,
- "y": 6
- },
- "hiddenSeries": false,
- "id": 20,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": false,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "alertThreshold": false
- },
- "percentage": false,
- "pluginVersion": "8.0.6",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "alias": "Span Size",
- "groupBy": [
- {
- "params": [
- "$__interval"
- ],
- "type": "time"
- },
- {
- "params": [
- "none"
- ],
- "type": "fill"
- }
- ],
- "measurement": "inspectit_eum_self_traces_span_size",
- "orderByTime": "ASC",
- "policy": "autogen",
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "sum"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "sum"
- }
- ]
- ],
- "tags": []
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Spans per Request",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "$$hashKey": "object:89",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "$$hashKey": "object:90",
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "refresh": "5s",
- "schemaVersion": 30,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": []
- },
- "time": {
- "from": "now-1h",
- "to": "now"
- },
- "timepicker": {},
- "timezone": "",
- "title": "Trace Controller",
- "uid": "-Lqc_TRnk",
- "version": 2
-}
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/datasources/influxdb.yml b/inspectit-ocelot-demo/grafana/provisioning/influxdb/datasources/influxdb.yml
deleted file mode 100644
index 501beae345..0000000000
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/datasources/influxdb.yml
+++ /dev/null
@@ -1,84 +0,0 @@
-# config file version
-apiVersion: 1
-
-# list of datasources to insert/update depending
-# what's available in the database
-datasources:
- # name of the datasource. Required
-- name: LocalInflux
- # datasource type. Required
- type: influxdb
- # access mode. proxy or direct (Server or Browser in the UI). Required
- access: proxy
- # org id. will default to orgId 1 if not specified
- orgId: 1
- # url
- url: http://influxdb:8086
- # database password, if used
- password:
- # database user, if used
- user:
- # database name, if used
- database: inspectit
- # enable/disable basic auth
- basicAuth:
- # basic auth username
- basicAuthUser:
- # basic auth password
- basicAuthPassword:
- # enable/disable with credentials headers
- withCredentials:
- # mark as default datasource. Max one per org
- isDefault:
- #