diff --git a/.gitignore b/.gitignore
index 4a5941c39c..0080ebf6c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,3 +31,4 @@ hooks
/.nb-gradle/
/working_directory/
+inspectit-ocelot-demo/configuration-server/users.db
diff --git a/components/inspectit-ocelot-eum-server/build.gradle b/components/inspectit-ocelot-eum-server/build.gradle
index 2416a7f97f..6145775c06 100644
--- a/components/inspectit-ocelot-eum-server/build.gradle
+++ b/components/inspectit-ocelot-eum-server/build.gradle
@@ -61,7 +61,7 @@ dependencies {
'com.maxmind.geoip2:geoip2:2.12.0',
'commons-net:commons-net:3.3',
'org.springframework.boot:spring-boot-starter-actuator',
- "rocks.inspectit:opencensus-influxdb-exporter:1.0",
+ "rocks.inspectit:opencensus-influxdb-exporter:1.1",
"org.influxdb:influxdb-java:2.15"
)
compileOnly "org.projectlombok:lombok:1.18.4"
diff --git a/components/inspectit-ocelot-eum-server/src/main/java/rocks/inspectit/oce/eum/server/exporters/InfluxExporterService.java b/components/inspectit-ocelot-eum-server/src/main/java/rocks/inspectit/oce/eum/server/exporters/InfluxExporterService.java
index 9caf1e8677..718877cfa0 100644
--- a/components/inspectit-ocelot-eum-server/src/main/java/rocks/inspectit/oce/eum/server/exporters/InfluxExporterService.java
+++ b/components/inspectit-ocelot-eum-server/src/main/java/rocks/inspectit/oce/eum/server/exporters/InfluxExporterService.java
@@ -50,7 +50,8 @@ private boolean shouldEnable() {
private void doEnable() {
InfluxExporterSettings influx = config.getExporters().getMetrics().getInflux();
if (shouldEnable()) {
- log.info("Starting InfluxDB Exporter to '{}:{}' on '{}'", influx.getDatabase(), influx.getRetentionPolicy(), influx.getUrl());
+ log.info("Starting InfluxDB Exporter to '{}:{}' on '{}'", influx.getDatabase(), influx.getRetentionPolicy(), influx
+ .getUrl());
activeExporter = InfluxExporter.builder()
.url(influx.getUrl())
.database(influx.getDatabase())
@@ -58,8 +59,10 @@ private void doEnable() {
.user(influx.getUser())
.password(influx.getPassword())
.createDatabase(influx.isCreateDatabase())
+ .exportDifference(influx.isCountersAsDifferences())
.build();
- exporterTask = executor.scheduleAtFixedRate(activeExporter::export, 0, influx.getExportInterval().toMillis(), TimeUnit.MILLISECONDS);
+ exporterTask = executor.scheduleAtFixedRate(activeExporter::export, 0, influx.getExportInterval()
+ .toMillis(), TimeUnit.MILLISECONDS);
}
}
diff --git a/components/inspectit-ocelot-eum-server/src/main/resources/application.yml b/components/inspectit-ocelot-eum-server/src/main/resources/application.yml
index 1213f5224e..e9494e311b 100644
--- a/components/inspectit-ocelot-eum-server/src/main/resources/application.yml
+++ b/components/inspectit-ocelot-eum-server/src/main/resources/application.yml
@@ -114,6 +114,11 @@ inspectit-eum-server:
retention-policy: "autogen"
# If true, the specified database will be created with the autogen retention policy
create-database: true
+ # If disabled, the raw values of each counter will be written to the InfluxDB on each export.
+ # When enabled, only the change of the counter in comparison to the previous export will be written.
+ # This difference will only be written if the counter has changed (=the difference is non-zero).
+ # This can greatly reduce the total data written to influx and makes writing queries easier.
+ counters-as-differences: true
# settings for the EUM server's self-monitoring
self-monitoring:
diff --git a/inspectit-ocelot-config/src/main/java/rocks/inspectit/ocelot/config/model/exporters/metrics/InfluxExporterSettings.java b/inspectit-ocelot-config/src/main/java/rocks/inspectit/ocelot/config/model/exporters/metrics/InfluxExporterSettings.java
index 6a9c9b1854..48205ef627 100644
--- a/inspectit-ocelot-config/src/main/java/rocks/inspectit/ocelot/config/model/exporters/metrics/InfluxExporterSettings.java
+++ b/inspectit-ocelot-config/src/main/java/rocks/inspectit/ocelot/config/model/exporters/metrics/InfluxExporterSettings.java
@@ -54,4 +54,12 @@ public class InfluxExporterSettings {
* If enabled, the Influx Exporter creates the specified database upon initial connection.
*/
private boolean createDatabase;
+
+ /**
+ * If disabled, the raw values of each counter will be written to the InfluxDB on each export.
+ * When enabled, only the change of the counter in comparison to the previous export will be written.
+ * This difference will only be exposed if the counter has changed (=the difference is non-zero).
+ * This can greatly reduce the total data written to influx and makes writing queries easier.
+ */
+ private boolean countersAsDifferences;
}
diff --git a/inspectit-ocelot-config/src/main/resources/rocks/inspectit/ocelot/config/default/exporters.yml b/inspectit-ocelot-config/src/main/resources/rocks/inspectit/ocelot/config/default/exporters.yml
index 09635857e3..163082786c 100644
--- a/inspectit-ocelot-config/src/main/resources/rocks/inspectit/ocelot/config/default/exporters.yml
+++ b/inspectit-ocelot-config/src/main/resources/rocks/inspectit/ocelot/config/default/exporters.yml
@@ -40,6 +40,11 @@ inspectit:
retention-policy: "autogen"
# If true, the specified database will be created with the autogen retention policy
create-database: true
+ # If disabled, the raw values of each counter will be written to the InfluxDB on each export.
+ # When enabled, only the change of the counter in comparison to the previous export will be written.
+ # This difference will only be written if the counter has changed (=the difference is non-zero).
+ # This can greatly reduce the total data written to influx and makes writing queries easier.
+ counters-as-differences: true
# settings for trace exporters
tracing:
diff --git a/inspectit-ocelot-core/build.gradle b/inspectit-ocelot-core/build.gradle
index 1784c5fb92..f279fc6244 100644
--- a/inspectit-ocelot-core/build.gradle
+++ b/inspectit-ocelot-core/build.gradle
@@ -38,7 +38,6 @@ dependencies {
project(':inspectit-ocelot-config'),
project(':inspectit-ocelot-sdk'),
- "rocks.inspectit:opencensus-influxdb-exporter:1.0",
// spring releated
"org.springframework.boot:spring-boot:${springVersion}",
@@ -69,6 +68,7 @@ dependencies {
"io.opencensus:opencensus-exporter-trace-jaeger:${openCensusVersion}",
"io.opencensus:opencensus-exporter-metrics-ocagent:${openCensusVersion}",
"io.opencensus:opencensus-exporter-trace-ocagent:${openCensusVersion}",
+ "rocks.inspectit:opencensus-influxdb-exporter:1.1",
// bytecode manipulation
"net.bytebuddy:byte-buddy:1.9.2"
diff --git a/inspectit-ocelot-core/src/main/java/rocks/inspectit/ocelot/core/exporter/InfluxExporterService.java b/inspectit-ocelot-core/src/main/java/rocks/inspectit/ocelot/core/exporter/InfluxExporterService.java
index 4a33fe3802..2d3bd34c46 100644
--- a/inspectit-ocelot-core/src/main/java/rocks/inspectit/ocelot/core/exporter/InfluxExporterService.java
+++ b/inspectit-ocelot-core/src/main/java/rocks/inspectit/ocelot/core/exporter/InfluxExporterService.java
@@ -33,7 +33,6 @@ public class InfluxExporterService extends DynamicallyActivatableService {
*/
private Future exporterTask;
-
public InfluxExporterService() {
super("exporters.metrics.influx", "metrics.enabled");
}
@@ -51,7 +50,8 @@ protected boolean checkEnabledForConfig(InspectitConfig conf) {
@Override
protected boolean doEnable(InspectitConfig configuration) {
InfluxExporterSettings influx = configuration.getExporters().getMetrics().getInflux();
- log.info("Starting InfluxDB Exporter to '{}:{}' on '{}'", influx.getDatabase(), influx.getRetentionPolicy(), influx.getUrl());
+ log.info("Starting InfluxDB Exporter to '{}:{}' on '{}'", influx.getDatabase(), influx.getRetentionPolicy(), influx
+ .getUrl());
activeExporter = InfluxExporter.builder()
.url(influx.getUrl())
.database(influx.getDatabase())
@@ -59,8 +59,10 @@ protected boolean doEnable(InspectitConfig configuration) {
.user(influx.getUser())
.password(influx.getPassword())
.createDatabase(influx.isCreateDatabase())
+ .exportDifference(influx.isCountersAsDifferences())
.build();
- exporterTask = executor.scheduleAtFixedRate(activeExporter::export, 0, influx.getExportInterval().toMillis(), TimeUnit.MILLISECONDS);
+ exporterTask = executor.scheduleAtFixedRate(activeExporter::export, 0, influx.getExportInterval()
+ .toMillis(), TimeUnit.MILLISECONDS);
return true;
}
diff --git a/inspectit-ocelot-demo/configuration-server/files/all/general.yml b/inspectit-ocelot-demo/configuration-server/files/all/general.yml
index 022e02dc3e..7708145682 100644
--- a/inspectit-ocelot-demo/configuration-server/files/all/general.yml
+++ b/inspectit-ocelot-demo/configuration-server/files/all/general.yml
@@ -4,6 +4,6 @@ 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: 1s
+ 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/grafana/marketplace/influx/http.json b/inspectit-ocelot-demo/grafana/marketplace/influx/http.json
index e2139c5c9b..087491c343 100644
--- a/inspectit-ocelot-demo/grafana/marketplace/influx/http.json
+++ b/inspectit-ocelot-demo/grafana/marketplace/influx/http.json
@@ -58,7 +58,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
- "iteration": 1580728981189,
+ "iteration": 1587549556162,
"links": [],
"panels": [
{
@@ -179,7 +179,7 @@
"pattern": "Time",
"thresholds": [],
"type": "hidden",
- "unit": "short"
+ "unit": "none"
}
],
"targets": [
@@ -201,7 +201,7 @@
"hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT * FROM (\n SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT spread(\"count\") AS total, spread(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) GROUP BY http_path fill(0)\n) WHERE za_requests > 0",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path\n) GROUP BY http_path",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
@@ -236,10 +236,9 @@
"type": "fill"
}
],
- "hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT zc_error_rate FROM (\nSELECT SUM(errors) / SUM(total) AS zc_error_rate, SUM(total) as total FROM (\n SELECT spread(\"count\") AS total, spread(\"errorcount\")AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) \nGROUP BY http_path fill(0)\n) WHERE total > 0 GROUP BY http_path fill(0)",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path fill(0)\n)\nGROUP BY http_path",
"rawQuery": true,
"refId": "B",
"resultFormat": "table",
@@ -279,7 +278,7 @@
"y": 1
},
"id": 23,
- "interval": "5s",
+ "interval": "15s",
"legend": {
"avg": false,
"current": false,
@@ -325,7 +324,7 @@
"legendFormat": "{{http_path}}",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) / SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nWHERE total > 0\nGROUP BY time($__interval), http_path fill(linear)",
+ "query": "SELECT SUM(sum) / SUM(count)\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -415,7 +414,7 @@
},
"hideTimeOverride": true,
"id": 6,
- "interval": "1s",
+ "interval": "15s",
"links": [],
"mappingType": 1,
"mappingTypes": [
@@ -471,7 +470,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(total)/$__interval_ms*1000 AS value FROM (\n SELECT difference(\"count\") AS total FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nGROUP BY time($__interval) fill(linear)",
+ "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -592,7 +591,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(errors)/SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY * ) \nGROUP BY time($__interval) fill(0)",
+ "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 application =~ /^$application$/ 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",
@@ -774,7 +773,7 @@
"legendFormat": "",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT * FROM (\n SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT spread(\"count\") AS total, spread(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) GROUP BY http_host, http_path fill(0)\n) WHERE za_requests > 0",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host\n) GROUP BY *",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
@@ -811,7 +810,7 @@
],
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT zc_error_rate FROM (\nSELECT SUM(errors) / SUM(total) AS zc_error_rate, SUM(total) as total FROM (\n SELECT spread(\"count\") AS total, spread(\"errorcount\")AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) \nGROUP BY http_host,http_path fill(0)\n) WHERE total > 0 GROUP BY http_host, http_path fill(0)",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host fill(0)\n)\nGROUP BY *",
"rawQuery": true,
"refId": "B",
"resultFormat": "table",
@@ -851,6 +850,7 @@
"y": 6
},
"id": 76,
+ "interval": "15s",
"legend": {
"avg": false,
"current": false,
@@ -891,7 +891,7 @@
],
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) / SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nWHERE total > 0\nGROUP BY time($__interval), http_path,http_host fill(linear)",
+ "query": "SELECT SUM(sum) / SUM(count) AS value \nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path,http_host fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -1037,7 +1037,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(total)/$__interval_ms*1000 AS value FROM (\n SELECT difference(\"count\") AS total FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY * ) \nGROUP BY time($__interval) fill(linear)",
+ "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -1158,7 +1158,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(errors)/SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nGROUP BY time($__interval) fill(0)",
+ "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 application =~ /^$application$/ 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",
@@ -1270,7 +1270,7 @@
]
},
"time": {
- "from": "now-15m",
+ "from": "now-5m",
"to": "now"
},
"timepicker": {
@@ -1301,5 +1301,5 @@
"timezone": "",
"title": "HTTP Overview",
"uid": "523wqxqmz",
- "version": 2
+ "version": 5
}
\ 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
index abd9900d91..c279c3884d 100644
--- a/inspectit-ocelot-demo/grafana/marketplace/influx/jvm.json
+++ b/inspectit-ocelot-demo/grafana/marketplace/influx/jvm.json
@@ -58,7 +58,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
- "iteration": 1580138904831,
+ "iteration": 1587549648580,
"links": [],
"panels": [
{
@@ -890,7 +890,7 @@
"measurement": "jvm_gc_memory_allocated",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -934,7 +934,7 @@
"measurement": "jvm_gc_memory_promoted",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -1648,7 +1648,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -1698,7 +1698,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -1959,5 +1959,5 @@
"timezone": "",
"title": "JVM Metrics",
"uid": "jaEIHn8ik",
- "version": 1
+ "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
index f28a6c69d3..f59a7562df 100644
--- a/inspectit-ocelot-demo/grafana/marketplace/influx/selfmonitoring.json
+++ b/inspectit-ocelot-demo/grafana/marketplace/influx/selfmonitoring.json
@@ -58,7 +58,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
- "iteration": 1580134615470,
+ "iteration": 1587549636297,
"links": [],
"panels": [
{
@@ -350,78 +350,6 @@
"value": "/^$service$/"
}
]
- },
- {
- "alias": "# errors since startup",
- "groupBy": [],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- },
- {
- "alias": "# warnings since startup",
- "groupBy": [],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "E",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "WARN"
- }
- ]
}
],
"title": "Instrumentation State",
@@ -618,7 +546,7 @@
"measurement": "inspectit_self_logs",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"diffs\") FROM (SELECT non_negative_difference(\"counter\") AS \"diffs\" FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^ERROR$/ ) AND $timeFilter)",
+ "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^ERROR$/ ) AND $timeFilter",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -1023,7 +951,7 @@
"measurement": "inspectit_self_logs",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"diffs\") FROM (SELECT non_negative_difference(\"counter\") AS \"diffs\" FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^WARN$/ ) AND $timeFilter)",
+ "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^WARN$/ ) AND $timeFilter",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -1151,7 +1079,7 @@
"measurement": "inspectit_self_logs",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"diffs\") FROM (SELECT non_negative_difference(\"counter\") AS \"diffs\" FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^INFO|DEBUG|TRACE$/ ) AND $timeFilter)",
+ "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",
@@ -1264,5 +1192,5 @@
"timezone": "",
"title": "inspectIT Agent Self-Monitoring",
"uid": "D-EaVt_ik",
- "version": 1
+ "version": 2
}
\ 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
index e940ecf669..d86c1044bf 100644
--- a/inspectit-ocelot-demo/grafana/marketplace/influx/servicegraph.json
+++ b/inspectit-ocelot-demo/grafana/marketplace/influx/servicegraph.json
@@ -46,7 +46,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
- "iteration": 1580133689920,
+ "iteration": 1587549662471,
"links": [],
"panels": [
{
@@ -58,9 +58,9 @@
"requestRateColumn": "in_count",
"requestRateExternalColumn": "request-rate-external",
"requestRateOutgoingColumn": "out_count",
- "responseTimeColumn": "in_timesum",
+ "responseTimeColumn": "in_responsetime",
"responseTimeExternalColumn": "response-time-external",
- "responseTimeOutgoingColumn": "out_timesum",
+ "responseTimeOutgoingColumn": "out_responsetime",
"sourceComponentPrefix": "origin_",
"targetComponentPrefix": "target_",
"type": "protocol"
@@ -97,7 +97,7 @@
"layout": "ltrTree",
"maxVolume": 10000,
"showConnectionStats": true,
- "sumTimings": true
+ "sumTimings": false
},
"sdgStyle": {
"dangerColor": "rgb(184, 36, 36)",
@@ -124,7 +124,7 @@
"measurement": "service_in_count",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"cnt\") AS \"in_count\" FROM (\n SELECT spread(\"count\") AS \"cnt\" FROM \"autogen\".\"service_in_responsetime\" \n WHERE ((\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\n GROUP BY *) \nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
+ "query": "SELECT SUM(\"count\") AS \"in_count\" FROM \"autogen\".\"service_in_responsetime\" \nWHERE ((\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
@@ -162,7 +162,7 @@
"hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"cnt\") AS \"out_count\" FROM (\n SELECT spread(\"count\") AS \"cnt\" FROM \"autogen\".\"service_out_responsetime\" \n WHERE ((\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\n GROUP BY *) \nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
+ "query": "SELECT SUM(\"count\") AS \"out_count\" FROM \"autogen\".\"service_out_responsetime\" \nWHERE ((\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
"rawQuery": true,
"refId": "B",
"resultFormat": "table",
@@ -200,7 +200,7 @@
"hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"cnt\") AS \"in_timesum\" FROM (\n SELECT spread(\"sum\") AS \"cnt\" FROM \"autogen\".\"service_in_responsetime\" \n WHERE ((\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\n GROUP BY *) \nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
+ "query": "SELECT SUM(\"sum\")/SUM(\"count\") AS \"in_responsetime\" FROM \"autogen\".\"service_in_responsetime\" \nWHERE ((\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
"rawQuery": true,
"refId": "C",
"resultFormat": "table",
@@ -238,7 +238,7 @@
"hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"cnt\") AS \"out_timesum\" FROM (\n SELECT spread(\"sum\") AS \"cnt\" FROM \"autogen\".\"service_out_responsetime\" \n WHERE ((\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\n GROUP BY *) \nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
+ "query": "SELECT SUM(\"sum\")/SUM(\"count\") AS \"out_responsetime\" FROM \"autogen\".\"service_out_responsetime\" \nWHERE ((\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
"rawQuery": true,
"refId": "D",
"resultFormat": "table",
@@ -272,6 +272,7 @@
{
"allValue": null,
"current": {
+ "selected": true,
"text": "service",
"value": "service"
},
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/http-overview-influxql.json b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/http-overview-influxql.json
index e4df8af9cc..7bc1c46a5e 100644
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/http-overview-influxql.json
+++ b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/http-overview-influxql.json
@@ -15,8 +15,8 @@
"editable": true,
"gnetId": null,
"graphTooltip": 0,
- "id": 3,
- "iteration": 1580728711394,
+ "id": 4,
+ "iteration": 1587549460736,
"links": [],
"panels": [
{
@@ -33,8 +33,8 @@
"scopedVars": {
"service": {
"selected": false,
- "text": "config-server",
- "value": "config-server"
+ "text": "api-gateway",
+ "value": "api-gateway"
}
},
"title": "$service",
@@ -58,8 +58,8 @@
"scopedVars": {
"service": {
"selected": false,
- "text": "config-server",
- "value": "config-server"
+ "text": "api-gateway",
+ "value": "api-gateway"
}
},
"scroll": true,
@@ -151,7 +151,7 @@
"pattern": "Time",
"thresholds": [],
"type": "hidden",
- "unit": "short"
+ "unit": "none"
}
],
"targets": [
@@ -173,7 +173,7 @@
"hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT * FROM (\n SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT spread(\"count\") AS total, spread(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) GROUP BY http_path fill(0)\n) WHERE za_requests > 0",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path\n) GROUP BY http_path",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
@@ -208,10 +208,9 @@
"type": "fill"
}
],
- "hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT zc_error_rate FROM (\nSELECT SUM(errors) / SUM(total) AS zc_error_rate, SUM(total) as total FROM (\n SELECT spread(\"count\") AS total, spread(\"errorcount\")AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) \nGROUP BY http_path fill(0)\n) WHERE total > 0 GROUP BY http_path fill(0)",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path fill(0)\n)\nGROUP BY http_path",
"rawQuery": true,
"refId": "B",
"resultFormat": "table",
@@ -251,7 +250,7 @@
"y": 1
},
"id": 23,
- "interval": "5s",
+ "interval": "15s",
"legend": {
"avg": false,
"current": false,
@@ -272,8 +271,8 @@
"scopedVars": {
"service": {
"selected": false,
- "text": "config-server",
- "value": "config-server"
+ "text": "api-gateway",
+ "value": "api-gateway"
}
},
"seriesOverrides": [],
@@ -304,7 +303,7 @@
"legendFormat": "{{http_path}}",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) / SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nWHERE total > 0\nGROUP BY time($__interval), http_path fill(linear)",
+ "query": "SELECT SUM(sum) / SUM(count)\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -394,7 +393,7 @@
},
"hideTimeOverride": true,
"id": 6,
- "interval": "1s",
+ "interval": "15s",
"links": [],
"mappingType": 1,
"mappingTypes": [
@@ -424,8 +423,8 @@
"scopedVars": {
"service": {
"selected": false,
- "text": "config-server",
- "value": "config-server"
+ "text": "api-gateway",
+ "value": "api-gateway"
}
},
"sparkline": {
@@ -457,7 +456,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(total)/$__interval_ms*1000 AS value FROM (\n SELECT difference(\"count\") AS total FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nGROUP BY time($__interval) fill(linear)",
+ "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -552,8 +551,8 @@
"scopedVars": {
"service": {
"selected": false,
- "text": "config-server",
- "value": "config-server"
+ "text": "api-gateway",
+ "value": "api-gateway"
}
},
"sparkline": {
@@ -585,7 +584,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(errors)/SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY * ) \nGROUP BY time($__interval) fill(0)",
+ "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 application =~ /^$application$/ 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",
@@ -638,8 +637,8 @@
"scopedVars": {
"service": {
"selected": false,
- "text": "config-server",
- "value": "config-server"
+ "text": "api-gateway",
+ "value": "api-gateway"
}
},
"scroll": true,
@@ -774,7 +773,7 @@
"legendFormat": "",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT * FROM (\n SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT spread(\"count\") AS total, spread(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) GROUP BY http_host, http_path fill(0)\n) WHERE za_requests > 0",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host\n) GROUP BY *",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
@@ -811,7 +810,7 @@
],
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT zc_error_rate FROM (\nSELECT SUM(errors) / SUM(total) AS zc_error_rate, SUM(total) as total FROM (\n SELECT spread(\"count\") AS total, spread(\"errorcount\")AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) \nGROUP BY http_host,http_path fill(0)\n) WHERE total > 0 GROUP BY http_host, http_path fill(0)",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host fill(0)\n)\nGROUP BY *",
"rawQuery": true,
"refId": "B",
"resultFormat": "table",
@@ -851,6 +850,7 @@
"y": 6
},
"id": 76,
+ "interval": "15s",
"legend": {
"avg": false,
"current": false,
@@ -871,8 +871,8 @@
"scopedVars": {
"service": {
"selected": false,
- "text": "config-server",
- "value": "config-server"
+ "text": "api-gateway",
+ "value": "api-gateway"
}
},
"seriesOverrides": [],
@@ -898,7 +898,7 @@
],
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) / SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nWHERE total > 0\nGROUP BY time($__interval), http_path,http_host fill(linear)",
+ "query": "SELECT SUM(sum) / SUM(count) AS value \nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path,http_host fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -1018,8 +1018,8 @@
"scopedVars": {
"service": {
"selected": false,
- "text": "config-server",
- "value": "config-server"
+ "text": "api-gateway",
+ "value": "api-gateway"
}
},
"sparkline": {
@@ -1051,7 +1051,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(total)/$__interval_ms*1000 AS value FROM (\n SELECT difference(\"count\") AS total FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY * ) \nGROUP BY time($__interval) fill(linear)",
+ "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -1146,8 +1146,8 @@
"scopedVars": {
"service": {
"selected": false,
- "text": "config-server",
- "value": "config-server"
+ "text": "api-gateway",
+ "value": "api-gateway"
}
},
"sparkline": {
@@ -1179,7 +1179,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(errors)/SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nGROUP BY time($__interval) fill(0)",
+ "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 application =~ /^$application$/ 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",
@@ -1226,13 +1226,13 @@
"id": 154,
"panels": [],
"repeat": null,
- "repeatIteration": 1580728711394,
+ "repeatIteration": 1587549460736,
"repeatPanelId": 4,
"scopedVars": {
"service": {
"selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
+ "text": "config-server",
+ "value": "config-server"
}
},
"title": "$service",
@@ -1253,14 +1253,14 @@
"pageSize": null,
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1580728711394,
+ "repeatIteration": 1587549460736,
"repeatPanelId": 2,
"repeatedByRow": true,
"scopedVars": {
"service": {
"selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
+ "text": "config-server",
+ "value": "config-server"
}
},
"scroll": true,
@@ -1352,7 +1352,7 @@
"pattern": "Time",
"thresholds": [],
"type": "hidden",
- "unit": "short"
+ "unit": "none"
}
],
"targets": [
@@ -1374,7 +1374,7 @@
"hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT * FROM (\n SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT spread(\"count\") AS total, spread(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) GROUP BY http_path fill(0)\n) WHERE za_requests > 0",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path\n) GROUP BY http_path",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
@@ -1409,10 +1409,9 @@
"type": "fill"
}
],
- "hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT zc_error_rate FROM (\nSELECT SUM(errors) / SUM(total) AS zc_error_rate, SUM(total) as total FROM (\n SELECT spread(\"count\") AS total, spread(\"errorcount\")AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) \nGROUP BY http_path fill(0)\n) WHERE total > 0 GROUP BY http_path fill(0)",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path fill(0)\n)\nGROUP BY http_path",
"rawQuery": true,
"refId": "B",
"resultFormat": "table",
@@ -1452,7 +1451,7 @@
"y": 12
},
"id": 156,
- "interval": "5s",
+ "interval": "15s",
"legend": {
"avg": false,
"current": false,
@@ -1470,14 +1469,14 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580728711394,
+ "repeatIteration": 1587549460736,
"repeatPanelId": 23,
"repeatedByRow": true,
"scopedVars": {
"service": {
"selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
+ "text": "config-server",
+ "value": "config-server"
}
},
"seriesOverrides": [],
@@ -1508,7 +1507,7 @@
"legendFormat": "{{http_path}}",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) / SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"sum\") AS times FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nWHERE total > 0\nGROUP BY time($__interval), http_path fill(linear)",
+ "query": "SELECT SUM(sum) / SUM(count)\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -1598,7 +1597,7 @@
},
"hideTimeOverride": true,
"id": 157,
- "interval": "1s",
+ "interval": "15s",
"links": [],
"mappingType": 1,
"mappingTypes": [
@@ -1625,14 +1624,14 @@
"to": "null"
}
],
- "repeatIteration": 1580728711394,
+ "repeatIteration": 1587549460736,
"repeatPanelId": 6,
"repeatedByRow": true,
"scopedVars": {
"service": {
"selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
+ "text": "config-server",
+ "value": "config-server"
}
},
"sparkline": {
@@ -1664,7 +1663,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(total)/$__interval_ms*1000 AS value FROM (\n SELECT difference(\"count\") AS total FROM \"http_in_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nGROUP BY time($__interval) fill(linear)",
+ "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_in_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -1756,14 +1755,14 @@
"to": "null"
}
],
- "repeatIteration": 1580728711394,
+ "repeatIteration": 1587549460736,
"repeatPanelId": 44,
"repeatedByRow": true,
"scopedVars": {
"service": {
"selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
+ "text": "config-server",
+ "value": "config-server"
}
},
"sparkline": {
@@ -1795,7 +1794,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(errors)/SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"errorcount\") AS errors FROM \"http_in_error\" \n WHERE $timeFilter AND service =~ /^$service/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY * ) \nGROUP BY time($__interval) fill(0)",
+ "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 application =~ /^$application$/ 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",
@@ -1845,14 +1844,14 @@
"links": [],
"pageSize": null,
"repeatDirection": "h",
- "repeatIteration": 1580728711394,
+ "repeatIteration": 1587549460736,
"repeatPanelId": 45,
"repeatedByRow": true,
"scopedVars": {
"service": {
"selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
+ "text": "config-server",
+ "value": "config-server"
}
},
"scroll": true,
@@ -1987,7 +1986,7 @@
"legendFormat": "",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT * FROM (\n SELECT SUM(total) as za_requests, SUM(times) / SUM(total) AS zb_response_time FROM (\n SELECT spread(\"count\") AS total, spread(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) GROUP BY http_host, http_path fill(0)\n) WHERE za_requests > 0",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host\n) GROUP BY *",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
@@ -2024,7 +2023,7 @@
],
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT zc_error_rate FROM (\nSELECT SUM(errors) / SUM(total) AS zc_error_rate, SUM(total) as total FROM (\n SELECT spread(\"count\") AS total, spread(\"errorcount\")AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY *) \nGROUP BY http_host,http_path fill(0)\n) WHERE total > 0 GROUP BY http_host, http_path fill(0)",
+ "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 application =~ /^$application$/ AND http_path =~ /^$path$/ GROUP BY http_path,http_host fill(0)\n)\nGROUP BY *",
"rawQuery": true,
"refId": "B",
"resultFormat": "table",
@@ -2064,6 +2063,7 @@
"y": 17
},
"id": 160,
+ "interval": "15s",
"legend": {
"avg": false,
"current": false,
@@ -2081,14 +2081,14 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580728711394,
+ "repeatIteration": 1587549460736,
"repeatPanelId": 76,
"repeatedByRow": true,
"scopedVars": {
"service": {
"selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
+ "text": "config-server",
+ "value": "config-server"
}
},
"seriesOverrides": [],
@@ -2114,7 +2114,7 @@
],
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) / SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"sum\") AS times FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nWHERE total > 0\nGROUP BY time($__interval), http_path,http_host fill(linear)",
+ "query": "SELECT SUM(sum) / SUM(count) AS value \nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/\nGROUP BY time($__interval), http_path,http_host fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -2231,14 +2231,14 @@
"to": "null"
}
],
- "repeatIteration": 1580728711394,
+ "repeatIteration": 1587549460736,
"repeatPanelId": 112,
"repeatedByRow": true,
"scopedVars": {
"service": {
"selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
+ "text": "config-server",
+ "value": "config-server"
}
},
"sparkline": {
@@ -2270,7 +2270,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(total)/$__interval_ms*1000 AS value FROM (\n SELECT difference(\"count\") AS total FROM \"http_out_responsetime\" \n WHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY * ) \nGROUP BY time($__interval) fill(linear)",
+ "query": "SELECT SUM(count)/$__interval_ms*1000 AS value\nFROM \"http_out_responsetime\" \nWHERE $timeFilter AND service =~ /^$service$/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ \nGROUP BY time($__interval) fill(0)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -2362,14 +2362,14 @@
"to": "null"
}
],
- "repeatIteration": 1580728711394,
+ "repeatIteration": 1587549460736,
"repeatPanelId": 153,
"repeatedByRow": true,
"scopedVars": {
"service": {
"selected": false,
- "text": "discovery-server",
- "value": "discovery-server"
+ "text": "config-server",
+ "value": "config-server"
}
},
"sparkline": {
@@ -2401,7 +2401,7 @@
"intervalFactor": 1,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(errors)/SUM(total) AS value FROM (\n SELECT difference(\"count\") AS total, difference(\"errorcount\") AS errors FROM \"http_out_error\" \n WHERE $timeFilter AND service =~ /^$service/ AND application=~ /^$application$/ AND http_path=~ /^$path$/ GROUP BY *) \nGROUP BY time($__interval) fill(0)",
+ "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 application =~ /^$application$/ 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",
@@ -2436,21 +2436,4907 @@
}
],
"valueName": "current"
- }
- ],
- "refresh": "30s",
- "schemaVersion": 16,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "text": "All",
- "value": [
- "$__all"
- ]
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 22
+ },
+ "id": 163,
+ "panels": [],
+ "repeat": null,
+ "repeatIteration": 1587549460736,
+ "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": 1587549460736,
+ "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",
+ "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",
+ "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",
+ "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",
+ "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": "",
+ "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 application =~ /^$application$/ 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 application =~ /^$application$/ 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,
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 11,
+ "y": 23
+ },
+ "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",
+ "percentage": false,
+ "pointradius": 5,
+ "points": false,
+ "renderer": "flot",
+ "repeatIteration": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application =~ /^$application$/ 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": 1587549460736,
+ "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": "",
+ "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",
+ "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",
+ "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",
+ "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",
+ "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",
+ "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 application =~ /^$application$/ 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 application =~ /^$application$/ 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,
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 11,
+ "y": 28
+ },
+ "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",
+ "percentage": false,
+ "pointradius": 5,
+ "points": false,
+ "renderer": "flot",
+ "repeatIteration": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application =~ /^$application$/ 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,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 33
+ },
+ "id": 172,
+ "panels": [],
+ "repeat": null,
+ "repeatIteration": 1587549460736,
+ "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": 1587549460736,
+ "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",
+ "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",
+ "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",
+ "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",
+ "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": "",
+ "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 application =~ /^$application$/ 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 application =~ /^$application$/ 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,
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 11,
+ "y": 34
+ },
+ "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",
+ "percentage": false,
+ "pointradius": 5,
+ "points": false,
+ "renderer": "flot",
+ "repeatIteration": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application =~ /^$application$/ 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": 1587549460736,
+ "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": "",
+ "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",
+ "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",
+ "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",
+ "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",
+ "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",
+ "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 application =~ /^$application$/ 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 application =~ /^$application$/ 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,
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 11,
+ "y": 39
+ },
+ "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",
+ "percentage": false,
+ "pointradius": 5,
+ "points": false,
+ "renderer": "flot",
+ "repeatIteration": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application =~ /^$application$/ 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,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 44
+ },
+ "id": 181,
+ "panels": [],
+ "repeat": null,
+ "repeatIteration": 1587549460736,
+ "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": 1587549460736,
+ "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",
+ "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",
+ "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",
+ "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",
+ "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": "",
+ "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 application =~ /^$application$/ 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 application =~ /^$application$/ 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,
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 11,
+ "y": 45
+ },
+ "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",
+ "percentage": false,
+ "pointradius": 5,
+ "points": false,
+ "renderer": "flot",
+ "repeatIteration": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application =~ /^$application$/ 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": 1587549460736,
+ "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": "",
+ "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",
+ "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",
+ "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",
+ "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",
+ "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",
+ "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 application =~ /^$application$/ 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 application =~ /^$application$/ 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,
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 11,
+ "y": 50
+ },
+ "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",
+ "percentage": false,
+ "pointradius": 5,
+ "points": false,
+ "renderer": "flot",
+ "repeatIteration": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application =~ /^$application$/ 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,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 55
+ },
+ "id": 190,
+ "panels": [],
+ "repeat": null,
+ "repeatIteration": 1587549460736,
+ "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": 1587549460736,
+ "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",
+ "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",
+ "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",
+ "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",
+ "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": "",
+ "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 application =~ /^$application$/ 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 application =~ /^$application$/ 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,
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 11,
+ "y": 56
+ },
+ "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",
+ "percentage": false,
+ "pointradius": 5,
+ "points": false,
+ "renderer": "flot",
+ "repeatIteration": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application =~ /^$application$/ 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": 1587549460736,
+ "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": "",
+ "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",
+ "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",
+ "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",
+ "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",
+ "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",
+ "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 application =~ /^$application$/ 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 application =~ /^$application$/ 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,
+ "gridPos": {
+ "h": 5,
+ "w": 9,
+ "x": 11,
+ "y": 61
+ },
+ "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",
+ "percentage": false,
+ "pointradius": 5,
+ "points": false,
+ "renderer": "flot",
+ "repeatIteration": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application=~ /^$application$/ 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": 1587549460736,
+ "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 application =~ /^$application$/ 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": 16,
+ "style": "dark",
+ "tags": [],
+ "templating": {
+ "list": [
+ {
+ "allValue": null,
+ "current": {
+ "text": "All",
+ "value": "$__all"
},
"datasource": "LocalInflux",
"definition": "SHOW TAG VALUES WITH key = \"service\"",
@@ -2524,7 +7410,7 @@
]
},
"time": {
- "from": "now-15m",
+ "from": "now-5m",
"to": "now"
},
"timepicker": {
@@ -2555,5 +7441,5 @@
"timezone": "",
"title": "HTTP Overview",
"uid": "523wqxqmz",
- "version": 1
+ "version": 4
}
\ No newline at end of file
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/jvm-metrics.json b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/jvm-metrics.json
index 1ebb4b1ffa..4ca97d66b4 100644
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/jvm-metrics.json
+++ b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/jvm-metrics.json
@@ -15,8 +15,8 @@
"editable": true,
"gnetId": null,
"graphTooltip": 0,
- "id": 3,
- "iteration": 1580138904830,
+ "id": 5,
+ "iteration": 1587549200544,
"links": [],
"panels": [
{
@@ -883,7 +883,7 @@
"measurement": "jvm_gc_memory_allocated",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -927,7 +927,7 @@
"measurement": "jvm_gc_memory_promoted",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -1676,7 +1676,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -1726,7 +1726,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -1949,7 +1949,7 @@
"id": 52,
"panels": [],
"repeat": null,
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 7,
"scopedVars": {
"service": {
@@ -1996,7 +1996,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 11,
"repeatedByRow": true,
"scopedVars": {
@@ -2183,7 +2183,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 39,
"repeatedByRow": true,
"scopedVars": {
@@ -2444,7 +2444,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 42,
"repeatedByRow": true,
"scopedVars": {
@@ -2682,7 +2682,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 46,
"repeatedByRow": true,
"scopedVars": {
@@ -2816,7 +2816,7 @@
"measurement": "jvm_gc_memory_allocated",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -2860,7 +2860,7 @@
"measurement": "jvm_gc_memory_promoted",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -2984,7 +2984,7 @@
"to": "null"
}
],
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 49,
"repeatedByRow": true,
"scopedVars": {
@@ -3099,7 +3099,7 @@
],
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 4,
"repeatedByRow": true,
"scopedVars": {
@@ -3193,7 +3193,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 40,
"repeatedByRow": true,
"scopedVars": {
@@ -3449,7 +3449,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 41,
"repeatedByRow": true,
"scopedVars": {
@@ -3591,7 +3591,7 @@
"pointradius": 3,
"points": true,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 47,
"repeatedByRow": true,
"scopedVars": {
@@ -3624,7 +3624,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -3674,7 +3674,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -3805,7 +3805,7 @@
}
],
"repeatDirection": "h",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 12,
"repeatedByRow": true,
"scopedVars": {
@@ -3878,7 +3878,7 @@
"id": 63,
"links": [],
"mode": "html",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 51,
"repeatedByRow": true,
"scopedVars": {
@@ -3903,7 +3903,7 @@
"id": 64,
"panels": [],
"repeat": null,
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 7,
"scopedVars": {
"service": {
@@ -3950,7 +3950,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 11,
"repeatedByRow": true,
"scopedVars": {
@@ -4137,7 +4137,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 39,
"repeatedByRow": true,
"scopedVars": {
@@ -4398,7 +4398,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 42,
"repeatedByRow": true,
"scopedVars": {
@@ -4636,7 +4636,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 46,
"repeatedByRow": true,
"scopedVars": {
@@ -4770,7 +4770,7 @@
"measurement": "jvm_gc_memory_allocated",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -4814,7 +4814,7 @@
"measurement": "jvm_gc_memory_promoted",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -4938,7 +4938,7 @@
"to": "null"
}
],
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 49,
"repeatedByRow": true,
"scopedVars": {
@@ -5053,7 +5053,7 @@
],
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 4,
"repeatedByRow": true,
"scopedVars": {
@@ -5147,7 +5147,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 40,
"repeatedByRow": true,
"scopedVars": {
@@ -5403,7 +5403,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 41,
"repeatedByRow": true,
"scopedVars": {
@@ -5545,7 +5545,7 @@
"pointradius": 3,
"points": true,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 47,
"repeatedByRow": true,
"scopedVars": {
@@ -5578,7 +5578,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -5628,7 +5628,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -5759,7 +5759,7 @@
}
],
"repeatDirection": "h",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 12,
"repeatedByRow": true,
"scopedVars": {
@@ -5832,7 +5832,7 @@
"id": 75,
"links": [],
"mode": "html",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 51,
"repeatedByRow": true,
"scopedVars": {
@@ -5857,7 +5857,7 @@
"id": 76,
"panels": [],
"repeat": null,
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 7,
"scopedVars": {
"service": {
@@ -5904,7 +5904,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 11,
"repeatedByRow": true,
"scopedVars": {
@@ -6091,7 +6091,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 39,
"repeatedByRow": true,
"scopedVars": {
@@ -6352,7 +6352,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 42,
"repeatedByRow": true,
"scopedVars": {
@@ -6590,7 +6590,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 46,
"repeatedByRow": true,
"scopedVars": {
@@ -6724,7 +6724,7 @@
"measurement": "jvm_gc_memory_allocated",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -6768,7 +6768,7 @@
"measurement": "jvm_gc_memory_promoted",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -6892,7 +6892,7 @@
"to": "null"
}
],
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 49,
"repeatedByRow": true,
"scopedVars": {
@@ -7007,7 +7007,7 @@
],
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 4,
"repeatedByRow": true,
"scopedVars": {
@@ -7101,7 +7101,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 40,
"repeatedByRow": true,
"scopedVars": {
@@ -7357,7 +7357,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 41,
"repeatedByRow": true,
"scopedVars": {
@@ -7499,7 +7499,7 @@
"pointradius": 3,
"points": true,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 47,
"repeatedByRow": true,
"scopedVars": {
@@ -7532,7 +7532,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -7582,7 +7582,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -7713,7 +7713,7 @@
}
],
"repeatDirection": "h",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 12,
"repeatedByRow": true,
"scopedVars": {
@@ -7786,7 +7786,7 @@
"id": 87,
"links": [],
"mode": "html",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 51,
"repeatedByRow": true,
"scopedVars": {
@@ -7811,7 +7811,7 @@
"id": 88,
"panels": [],
"repeat": null,
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 7,
"scopedVars": {
"service": {
@@ -7858,7 +7858,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 11,
"repeatedByRow": true,
"scopedVars": {
@@ -8045,7 +8045,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 39,
"repeatedByRow": true,
"scopedVars": {
@@ -8306,7 +8306,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 42,
"repeatedByRow": true,
"scopedVars": {
@@ -8544,7 +8544,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 46,
"repeatedByRow": true,
"scopedVars": {
@@ -8678,7 +8678,7 @@
"measurement": "jvm_gc_memory_allocated",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -8722,7 +8722,7 @@
"measurement": "jvm_gc_memory_promoted",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -8846,7 +8846,7 @@
"to": "null"
}
],
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 49,
"repeatedByRow": true,
"scopedVars": {
@@ -8961,7 +8961,7 @@
],
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 4,
"repeatedByRow": true,
"scopedVars": {
@@ -9055,7 +9055,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 40,
"repeatedByRow": true,
"scopedVars": {
@@ -9311,7 +9311,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 41,
"repeatedByRow": true,
"scopedVars": {
@@ -9453,7 +9453,7 @@
"pointradius": 3,
"points": true,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 47,
"repeatedByRow": true,
"scopedVars": {
@@ -9486,7 +9486,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -9536,7 +9536,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -9667,7 +9667,7 @@
}
],
"repeatDirection": "h",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 12,
"repeatedByRow": true,
"scopedVars": {
@@ -9740,7 +9740,7 @@
"id": 99,
"links": [],
"mode": "html",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 51,
"repeatedByRow": true,
"scopedVars": {
@@ -9765,7 +9765,7 @@
"id": 100,
"panels": [],
"repeat": null,
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 7,
"scopedVars": {
"service": {
@@ -9812,7 +9812,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 11,
"repeatedByRow": true,
"scopedVars": {
@@ -9999,7 +9999,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 39,
"repeatedByRow": true,
"scopedVars": {
@@ -10260,7 +10260,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 42,
"repeatedByRow": true,
"scopedVars": {
@@ -10498,7 +10498,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 46,
"repeatedByRow": true,
"scopedVars": {
@@ -10632,7 +10632,7 @@
"measurement": "jvm_gc_memory_allocated",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_allocated\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -10676,7 +10676,7 @@
"measurement": "jvm_gc_memory_promoted",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(val) FROM (SELECT NON_NEGATIVE_DIFFERENCE(\"counter\") AS val FROM \"jvm_gc_memory_promoted\" WHERE (\"service\" =~ /^$service$/) AND $timeFilter GROUP BY *) GROUP BY time($__interval)",
+ "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",
@@ -10800,7 +10800,7 @@
"to": "null"
}
],
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 49,
"repeatedByRow": true,
"scopedVars": {
@@ -10915,7 +10915,7 @@
],
"repeat": null,
"repeatDirection": "h",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 4,
"repeatedByRow": true,
"scopedVars": {
@@ -11009,7 +11009,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 40,
"repeatedByRow": true,
"scopedVars": {
@@ -11265,7 +11265,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 41,
"repeatedByRow": true,
"scopedVars": {
@@ -11407,7 +11407,7 @@
"pointradius": 3,
"points": true,
"renderer": "flot",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 47,
"repeatedByRow": true,
"scopedVars": {
@@ -11440,7 +11440,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of minor GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -11490,7 +11490,7 @@
"measurement": "jvm_gc_pause",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(times) FROM (SELECT non_negative_difference(\"counter\") AS times FROM \"jvm_gc_pause\" WHERE (\"service\" =~ /^$service$/ AND \"action\" = 'end of major GC') AND $timeFilter GROUP BY *) WHERE times > 0 GROUP BY time($__interval) fill(none)",
+ "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",
@@ -11621,7 +11621,7 @@
}
],
"repeatDirection": "h",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 12,
"repeatedByRow": true,
"scopedVars": {
@@ -11694,7 +11694,7 @@
"id": 111,
"links": [],
"mode": "html",
- "repeatIteration": 1580138904830,
+ "repeatIteration": 1587549200544,
"repeatPanelId": 51,
"repeatedByRow": true,
"scopedVars": {
@@ -11718,6 +11718,7 @@
{
"allValue": null,
"current": {
+ "tags": [],
"text": "All",
"value": [
"$__all"
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/self-monitoring.json b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/self-monitoring.json
index daf2f3e0ce..f43ec72433 100644
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/self-monitoring.json
+++ b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/self-monitoring.json
@@ -15,8 +15,8 @@
"editable": true,
"gnetId": null,
"graphTooltip": 0,
- "id": 4,
- "iteration": 1580134615472,
+ "id": 1,
+ "iteration": 1587548993093,
"links": [],
"panels": [
{
@@ -329,78 +329,6 @@
"value": "/^$service$/"
}
]
- },
- {
- "alias": "# errors since startup",
- "groupBy": [],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "ERROR"
- }
- ]
- },
- {
- "alias": "# warnings since startup",
- "groupBy": [],
- "measurement": "inspectit_self_logs",
- "orderByTime": "ASC",
- "policy": "default",
- "refId": "E",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "counter"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "last"
- }
- ]
- ],
- "tags": [
- {
- "key": "service",
- "operator": "=~",
- "value": "/^$service$/"
- },
- {
- "condition": "AND",
- "key": "level",
- "operator": "=",
- "value": "WARN"
- }
- ]
}
],
"title": "Instrumentation State",
@@ -611,7 +539,7 @@
"measurement": "inspectit_self_logs",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"diffs\") FROM (SELECT non_negative_difference(\"counter\") AS \"diffs\" FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^ERROR$/ ) AND $timeFilter)",
+ "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^ERROR$/ ) AND $timeFilter",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -1030,7 +958,7 @@
"measurement": "inspectit_self_logs",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"diffs\") FROM (SELECT non_negative_difference(\"counter\") AS \"diffs\" FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^WARN$/ ) AND $timeFilter)",
+ "query": "SELECT SUM(\"counter\") FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^WARN$/ ) AND $timeFilter",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@@ -1165,7 +1093,7 @@
"measurement": "inspectit_self_logs",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"diffs\") FROM (SELECT non_negative_difference(\"counter\") AS \"diffs\" FROM \"inspectit_self_logs\" WHERE (\"service\" =~ /^$service$/ AND \"level\" =~ /^INFO|DEBUG|TRACE$/ ) AND $timeFilter)",
+ "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",
@@ -1226,7 +1154,7 @@
"id": 109,
"panels": [],
"repeat": null,
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 2,
"scopedVars": {
"service": {
@@ -1291,7 +1219,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 4,
"repeatedByRow": true,
"scopedVars": {
@@ -1373,7 +1301,7 @@
"id": 111,
"links": [],
"pageSize": null,
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 47,
"repeatedByRow": true,
"scopedVars": {
@@ -1663,7 +1591,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 23,
"repeatedByRow": true,
"scopedVars": {
@@ -1785,7 +1713,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 76,
"repeatedByRow": true,
"scopedVars": {
@@ -1904,7 +1832,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 49,
"repeatedByRow": true,
"scopedVars": {
@@ -2210,7 +2138,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 107,
"repeatedByRow": true,
"scopedVars": {
@@ -2348,7 +2276,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 108,
"repeatedByRow": true,
"scopedVars": {
@@ -2445,7 +2373,7 @@
"id": 117,
"panels": [],
"repeat": null,
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 2,
"scopedVars": {
"service": {
@@ -2510,7 +2438,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 4,
"repeatedByRow": true,
"scopedVars": {
@@ -2592,7 +2520,7 @@
"id": 119,
"links": [],
"pageSize": null,
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 47,
"repeatedByRow": true,
"scopedVars": {
@@ -2882,7 +2810,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 23,
"repeatedByRow": true,
"scopedVars": {
@@ -3004,7 +2932,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 76,
"repeatedByRow": true,
"scopedVars": {
@@ -3123,7 +3051,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 49,
"repeatedByRow": true,
"scopedVars": {
@@ -3429,7 +3357,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 107,
"repeatedByRow": true,
"scopedVars": {
@@ -3567,7 +3495,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 108,
"repeatedByRow": true,
"scopedVars": {
@@ -3664,7 +3592,7 @@
"id": 125,
"panels": [],
"repeat": null,
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 2,
"scopedVars": {
"service": {
@@ -3729,7 +3657,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 4,
"repeatedByRow": true,
"scopedVars": {
@@ -3811,7 +3739,7 @@
"id": 127,
"links": [],
"pageSize": null,
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 47,
"repeatedByRow": true,
"scopedVars": {
@@ -4101,7 +4029,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 23,
"repeatedByRow": true,
"scopedVars": {
@@ -4223,7 +4151,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 76,
"repeatedByRow": true,
"scopedVars": {
@@ -4342,7 +4270,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 49,
"repeatedByRow": true,
"scopedVars": {
@@ -4648,7 +4576,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 107,
"repeatedByRow": true,
"scopedVars": {
@@ -4786,7 +4714,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 108,
"repeatedByRow": true,
"scopedVars": {
@@ -4883,7 +4811,7 @@
"id": 133,
"panels": [],
"repeat": null,
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 2,
"scopedVars": {
"service": {
@@ -4948,7 +4876,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 4,
"repeatedByRow": true,
"scopedVars": {
@@ -5030,7 +4958,7 @@
"id": 135,
"links": [],
"pageSize": null,
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 47,
"repeatedByRow": true,
"scopedVars": {
@@ -5320,7 +5248,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 23,
"repeatedByRow": true,
"scopedVars": {
@@ -5442,7 +5370,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 76,
"repeatedByRow": true,
"scopedVars": {
@@ -5561,7 +5489,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 49,
"repeatedByRow": true,
"scopedVars": {
@@ -5867,7 +5795,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 107,
"repeatedByRow": true,
"scopedVars": {
@@ -6005,7 +5933,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 108,
"repeatedByRow": true,
"scopedVars": {
@@ -6102,7 +6030,7 @@
"id": 141,
"panels": [],
"repeat": null,
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 2,
"scopedVars": {
"service": {
@@ -6167,7 +6095,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 4,
"repeatedByRow": true,
"scopedVars": {
@@ -6249,7 +6177,7 @@
"id": 143,
"links": [],
"pageSize": null,
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 47,
"repeatedByRow": true,
"scopedVars": {
@@ -6539,7 +6467,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 23,
"repeatedByRow": true,
"scopedVars": {
@@ -6661,7 +6589,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 76,
"repeatedByRow": true,
"scopedVars": {
@@ -6780,7 +6708,7 @@
"pointradius": 5,
"points": false,
"renderer": "flot",
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 49,
"repeatedByRow": true,
"scopedVars": {
@@ -7086,7 +7014,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 107,
"repeatedByRow": true,
"scopedVars": {
@@ -7224,7 +7152,7 @@
"to": "null"
}
],
- "repeatIteration": 1580134615472,
+ "repeatIteration": 1587548993093,
"repeatPanelId": 108,
"repeatedByRow": true,
"scopedVars": {
diff --git a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/service-graph-influxql.json b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/service-graph-influxql.json
index a5c076a76c..fbb4c6f8f4 100644
--- a/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/service-graph-influxql.json
+++ b/inspectit-ocelot-demo/grafana/provisioning/influxdb/dashboards/service-graph-influxql.json
@@ -15,8 +15,8 @@
"editable": true,
"gnetId": null,
"graphTooltip": 0,
- "id": 4,
- "iteration": 1580133689919,
+ "id": 5,
+ "iteration": 1587543718623,
"links": [],
"panels": [
{
@@ -28,9 +28,9 @@
"requestRateColumn": "in_count",
"requestRateExternalColumn": "request-rate-external",
"requestRateOutgoingColumn": "out_count",
- "responseTimeColumn": "in_timesum",
+ "responseTimeColumn": "in_responsetime",
"responseTimeExternalColumn": "response-time-external",
- "responseTimeOutgoingColumn": "out_timesum",
+ "responseTimeOutgoingColumn": "out_responsetime",
"sourceComponentPrefix": "origin_",
"targetComponentPrefix": "target_",
"type": "protocol"
@@ -67,7 +67,7 @@
"layout": "ltrTree",
"maxVolume": 10000,
"showConnectionStats": true,
- "sumTimings": true
+ "sumTimings": false
},
"sdgStyle": {
"dangerColor": "rgb(184, 36, 36)",
@@ -94,7 +94,7 @@
"measurement": "service_in_count",
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"cnt\") AS \"in_count\" FROM (\n SELECT spread(\"count\") AS \"cnt\" FROM \"autogen\".\"service_in_responsetime\" \n WHERE ((\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\n GROUP BY *) \nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
+ "query": "SELECT SUM(\"count\") AS \"in_count\" FROM \"autogen\".\"service_in_responsetime\" \nWHERE ((\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
@@ -132,7 +132,7 @@
"hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"cnt\") AS \"out_count\" FROM (\n SELECT spread(\"count\") AS \"cnt\" FROM \"autogen\".\"service_out_responsetime\" \n WHERE ((\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\n GROUP BY *) \nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
+ "query": "SELECT SUM(\"count\") AS \"out_count\" FROM \"autogen\".\"service_out_responsetime\" \nWHERE ((\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
"rawQuery": true,
"refId": "B",
"resultFormat": "table",
@@ -170,7 +170,7 @@
"hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"cnt\") AS \"in_timesum\" FROM (\n SELECT spread(\"sum\") AS \"cnt\" FROM \"autogen\".\"service_in_responsetime\" \n WHERE ((\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\n GROUP BY *) \nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
+ "query": "SELECT SUM(\"sum\")/SUM(\"count\") AS \"in_responsetime\" FROM \"autogen\".\"service_in_responsetime\" \nWHERE ((\"service\" =~ /^$service$/ OR \"origin_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\nGROUP BY \"service\", \"origin_service\", \"target_external\", \"protocol\"",
"rawQuery": true,
"refId": "C",
"resultFormat": "table",
@@ -208,7 +208,7 @@
"hide": false,
"orderByTime": "ASC",
"policy": "default",
- "query": "SELECT SUM(\"cnt\") AS \"out_timesum\" FROM (\n SELECT spread(\"sum\") AS \"cnt\" FROM \"autogen\".\"service_out_responsetime\" \n WHERE ((\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\n GROUP BY *) \nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
+ "query": "SELECT SUM(\"sum\")/SUM(\"count\") AS \"out_responsetime\" FROM \"autogen\".\"service_out_responsetime\" \nWHERE ((\"service\" =~ /^$service$/ OR \"target_service\" =~ /^$service$/) AND \"application\" =~ /^$application$/) AND $timeFilter\nGROUP BY \"service\", \"target_service\", \"target_external\", \"protocol\"",
"rawQuery": true,
"refId": "D",
"resultFormat": "table",
@@ -242,6 +242,7 @@
{
"allValue": null,
"current": {
+ "selected": true,
"text": "service",
"value": "service"
},
@@ -265,9 +266,7 @@
"allValue": ".*",
"current": {
"text": "All",
- "value": [
- "$__all"
- ]
+ "value": "$__all"
},
"datasource": "LocalInflux",
"definition": "SHOW TAG VALUES WITH KEY=\"service\"",
@@ -291,7 +290,7 @@
{
"allValue": ".*",
"current": {
- "tags": [],
+ "selected": true,
"text": "All",
"value": "$__all"
},
diff --git a/inspectit-ocelot-demo/influx/continous-queries.iql b/inspectit-ocelot-demo/influx/continous-queries.iql
index 26110f1310..68888b76f1 100644
--- a/inspectit-ocelot-demo/influx/continous-queries.iql
+++ b/inspectit-ocelot-demo/influx/continous-queries.iql
@@ -4,7 +4,7 @@ CREATE CONTINUOUS QUERY instrumentation_state_instrumented ON inspectit BEGIN SE
CREATE CONTINUOUS QUERY instrumentation_state_queuesize ON inspectit BEGIN SELECT LAST(value) AS queuesize INTO inspectit.autogen.instrumentation_state FROM inspectit.autogen.inspectit_self_instrumentation_queue_size GROUP BY time(5s), * END;
CREATE CONTINUOUS QUERY disk_usage_total ON inspectit BEGIN SELECT LAST(value) AS total INTO inspectit.autogen.disk_usage FROM inspectit.autogen.disk_total GROUP BY time(5s), * END;
CREATE CONTINUOUS QUERY disk_usage_free ON inspectit BEGIN SELECT LAST(value) AS free INTO inspectit.autogen.disk_usage FROM inspectit.autogen.disk_free GROUP BY time(5s), * END;
-CREATE CONTINUOUS QUERY http_out_error_total ON inspectit BEGIN SELECT max(count) AS count INTO inspectit.autogen.http_out_error FROM inspectit.autogen.http_out_responsetime GROUP BY time(5s), * END;
-CREATE CONTINUOUS QUERY http_out_error_count ON inspectit BEGIN SELECT max(count) AS errorcount INTO inspectit.autogen.http_out_error FROM inspectit.autogen.http_out_responsetime WHERE http_status !~ /(1|2|3)\d\d/ GROUP BY time(5s), * END;
-CREATE CONTINUOUS QUERY http_in_error_total ON inspectit BEGIN SELECT max(count) AS count INTO inspectit.autogen.http_in_error FROM inspectit.autogen.http_in_responsetime GROUP BY time(5s), * END;
-CREATE CONTINUOUS QUERY http_in_error_count ON inspectit BEGIN SELECT max(count) AS errorcount INTO inspectit.autogen.http_in_error FROM inspectit.autogen.http_in_responsetime WHERE http_status !~ /(1|2|3)\d\d/ GROUP BY time(5s), * END;
\ No newline at end of file
+CREATE CONTINUOUS QUERY http_out_error_total ON inspectit BEGIN SELECT SUM(count) AS count INTO inspectit.autogen.http_out_error FROM inspectit.autogen.http_out_responsetime GROUP BY time(5s), * END;
+CREATE CONTINUOUS QUERY http_out_error_count ON inspectit BEGIN SELECT SUM(count) AS errorcount INTO inspectit.autogen.http_out_error FROM inspectit.autogen.http_out_responsetime WHERE "error"='true' GROUP BY time(5s), * END;
+CREATE CONTINUOUS QUERY http_in_error_total ON inspectit BEGIN SELECT SUM(count) AS count INTO inspectit.autogen.http_in_error FROM inspectit.autogen.http_in_responsetime GROUP BY time(5s), * END;
+CREATE CONTINUOUS QUERY http_in_error_count ON inspectit BEGIN SELECT SUM(count) AS errorcount INTO inspectit.autogen.http_in_error FROM inspectit.autogen.http_in_responsetime WHERE "error"='true' GROUP BY time(5s), * END;
\ No newline at end of file
diff --git a/inspectit-ocelot-documentation/docs/breaking-changes/1.3.md b/inspectit-ocelot-documentation/docs/breaking-changes/1.3.md
index 5c32d4db49..2d66fd0f98 100644
--- a/inspectit-ocelot-documentation/docs/breaking-changes/1.3.md
+++ b/inspectit-ocelot-documentation/docs/breaking-changes/1.3.md
@@ -14,5 +14,21 @@ This behaviour can still be realized if desired via [data propagation](instrumen
## Reworked Default Agent Configuration
The default configuration of the agent has completely been reworked.
+
This means that in case your custom instrumentation is based on existing scopes, actions or rules it might stop working.
-In order to fix this it is required to adapt your instrumentation to the new default configuration.
\ No newline at end of file
+In order to fix this it is required to adapt your instrumentation to the new default configuration.
+
+## Changed Default Behaviour of the InfluxDB exporter
+
+The InfluxDB metrics exporter has been extended with an optimized handling of counter and sum metrics, which is now the default behaviour.
+This new behaviour changes how data is written to InfluxDB, so your existing queries have to be adapted or reworked.
+
+It is still possible to use the previous handling of counters using the exporter's `counters-as-differences` option and setting it to `false`:
+
+ inspectit:
+ exporters:
+ metrics:
+ influx:
+ counters-as-differences: false
+
+For more details have a look at the [InfluxDB exporter documentation](metrics/metric-exporters.md#influxdb-exporter).
diff --git a/inspectit-ocelot-documentation/docs/metrics/metric-exporters.md b/inspectit-ocelot-documentation/docs/metrics/metric-exporters.md
index 23f829e002..e1928e3525 100644
--- a/inspectit-ocelot-documentation/docs/metrics/metric-exporters.md
+++ b/inspectit-ocelot-documentation/docs/metrics/metric-exporters.md
@@ -24,11 +24,13 @@ Prometheus exporter exposes the metrics in Prometheus format and is the default
When enabled, inspectIT starts a Prometheus HTTP server in parallel with your application.
The server is by default started on the port `8888` and metrics can then be accessed by visiting http://localhost:8888/metrics.
+The following properties are nested properties below the `inspectit.exporters.metrics.prometheus` property:
+
|Property |Default| Description
|---|---|---|
-|`inspectit.exporters.metrics.prometheus.enabled`|`true`|If true, the inspectIT Ocelot agent will try to start the Prometheus metrics exporter and Prometheus HTTP server.
-|`inspectit.exporters.metrics.prometheus.host`|`0.0.0.0`|The hostname or network address to which the Prometheus HTTP server should bind.
-|`inspectit.exporters.metrics.prometheus.port`|`8888`|The port the Prometheus HTTP server should use.
+|`.enabled`|`true`|If true, the inspectIT Ocelot agent will try to start the Prometheus metrics exporter and Prometheus HTTP server.
+|`.host`|`0.0.0.0`|The hostname or network address to which the Prometheus HTTP server should bind.
+|`.port`|`8888`|The port the Prometheus HTTP server should use.
> Don't forget to check [the official OpenCensus Prometheus exporter documentation](https://opencensus.io/exporters/supported-exporters/java/prometheus/).
@@ -38,14 +40,16 @@ The server is by default started on the port `8888` and metrics can then be acce
Metrics can be additionally exported to the [OpenCensus Agent](https://opencensus.io/service/components/agent/).
When enabled, all metrics are sent via gRCP to the OpenCensus Agent. By default, the exporter is enabled, but the agent address is set to `null`.
+The following properties are nested properties below the `inspectit.exporters.metrics.open-census-agent` property:
+
|Property |Default| Description
|---|---|---|
-|`inspectit.exporters.metrics.open-census-agent.enabled`|`true`|If true, the agent will try to start the OpenCensus Agent Metrics exporter.
-|`inspectit.exporters.metrics.open-census-agent.address`|`null`|Address of the open-census agent (e.g. localhost:1234).
-|`inspectit.exporters.metrics.open-census-agent.use-insecure`|`false`|If true, SSL is disabled.
-|`inspectit.exporters.metrics.open-census-agent.service-name`|refers to `inspectit.service-name`|The service-name which will be used to publish the metrics.
-|`inspectit.exporters.metrics.open-census-agent.reconnection-period`|`5`|The time at which the exporter tries to reconnect to the OpenCensus agent.
-|`inspectit.exporters.metrics.open-census-agent.export-interval`|refers to `inspectit.metrics.frequency`|The export interval of the metrics.
+|`.enabled`|`true`|If true, the agent will try to start the OpenCensus Agent Metrics exporter.
+|`.address`|`null`|Address of the open-census agent (e.g. localhost:1234).
+|`.use-insecure`|`false`|If true, SSL is disabled.
+|`.service-name`|refers to `inspectit.service-name`|The service-name which will be used to publish the metrics.
+|`.reconnection-period`|`5`|The time at which the exporter tries to reconnect to the OpenCensus agent.
+|`.export-interval`|refers to `inspectit.metrics.frequency`|The export interval of the metrics.
> Don't forget to check [the official OpenCensus Agent exporter documentation](https://opencensus.io/exporters/supported-exporters/java/ocagent/).
@@ -54,13 +58,24 @@ When enabled, all metrics are sent via gRCP to the OpenCensus Agent. By default,
If enabled, metrics are pushed at a specified interval directly to a given influxDB v1.x instance.
To enable the InfluxDB Exporters, it is only required to specify the `url`.
+The InfluxDB exporter provides a special handling for counter and sum metrics which is enabled by default and can be disabled using the `counters-as-differences` option.
+Usually, the absolute value of such counters is irrelevant when querying the data, instead you want to have the increase of it over a certain period of time.
+With the `counters-as-differences` option enabled, counters are preprocessed before being exported.
+
+Instead of writing the absolute value of each counter into the InfluxDB, only the increase since the last export will be written.
+In addition no value will be exported, if the counter has not changed since the last export.
+This can greatly reduce the amount of data written into the InfluxDB, especially if the metrics are quite constant and won't change much.
+
+The following properties are nested properties below the `inspectit.exporters.metrics.influx` property:
+
|Property |Default| Description
|---|---|---|
-|`inspectit.exporters.metrics.influx.enabled`|`true`|If true, the agent will try to start the Influx exporter, if also the `url` is not empty.
-|`inspectit.exporters.metrics.influx.url`|`null`|The HTTP url of the influxDB, e.g. `http://localhost:8086`.
-|`inspectit.exporters.metrics.influx.user`|`null`| The user to use for connecting to the influxDB, can be empty if the influxDB is configured for unauthorized access.
-|`inspectit.exporters.metrics.influx.password`|`null`|The password to use for connecting to the influxDB, can be empty if the influxDB is configured for unauthorized access.
-|`inspectit.exporters.metrics.influx.database`|`inspectit`| The influxDB database to which the metrics are pushed.
-|`inspectit.exporters.metrics.influx.retention-policy`|`autogen`| The retention policy of the database to use for writing metrics.
-|`inspectit.exporters.metrics.influx.create-database`|`true`| If enabled, the database defined by the `database` property is automatically created on startup with an `autogen` retention policy if it does not exist yet.
-|`inspectit.exporters.metrics.influx.export-interval`|refers to `inspectit.metrics.frequency`|Defines how often metrics are pushed to the influxDB.
\ No newline at end of file
+|`.enabled`|`true`|If true, the agent will try to start the Influx exporter, if also the `url` is not empty.
+|`.url`|`null`|The HTTP url of the influxDB, e.g. `http://localhost:8086`.
+|`.user`|`null`| The user to use for connecting to the influxDB, can be empty if the influxDB is configured for unauthorized access.
+|`.password`|`null`|The password to use for connecting to the influxDB, can be empty if the influxDB is configured for unauthorized access.
+|`.database`|`inspectit`| The influxDB database to which the metrics are pushed.
+|`.retention-policy`|`autogen`| The retention policy of the database to use for writing metrics.
+|`.create-database`|`true`| If enabled, the database defined by the `database` property is automatically created on startup with an `autogen` retention policy if it does not exist yet.
+|`.export-interval`|refers to `inspectit.metrics.frequency`|Defines how often metrics are pushed to the influxDB.
+|`.counters-as-differences`|`true`|Defines whether counters are exported using their absolute value or as the increase between exports
\ No newline at end of file