[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-grid5k] 09/48: update dashboards
From: |
gnunet |
Subject: |
[taler-grid5k] 09/48: update dashboards |
Date: |
Sat, 28 May 2022 12:11:29 +0200 |
This is an automated email from the git hooks/post-receive script.
marco-boss pushed a commit to branch master
in repository grid5k.
commit b5a1da0a651ab281d1612349f360b659f2f1f64b
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Tue May 10 18:54:04 2022 +0200
update dashboards
---
additional/grafana/transactions.json | 34 ++++++++++++----------------------
experiment/scripts/auditor.sh | 27 +++++++++++++++++++++++++++
experiment/scripts/benchmark.sh | 2 +-
experiment/scripts/database.sh | 5 ++++-
experiment/scripts/shard.sh | 5 ++++-
5 files changed, 48 insertions(+), 25 deletions(-)
diff --git a/additional/grafana/transactions.json
b/additional/grafana/transactions.json
index 76c8e7a..13aaf09 100644
--- a/additional/grafana/transactions.json
+++ b/additional/grafana/transactions.json
@@ -1503,8 +1503,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
}
@@ -1563,8 +1562,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
}
@@ -1655,8 +1653,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
},
@@ -1713,8 +1710,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
}
@@ -1774,8 +1770,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -1859,8 +1854,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
}
@@ -1921,8 +1915,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
}
@@ -2015,8 +2008,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
},
@@ -2071,8 +2063,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
}
]
}
@@ -2135,8 +2126,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -2552,7 +2542,7 @@
"type": "timeseries"
},
{
- "description": "Number of deposits done to each account - accounts are
only displayed by ID.",
+ "description": "Number of deposits done to each account, this is only
updated once the aggregator was run and the bank logged the transfers.",
"fieldConfig": {
"defaults": {
"color": {
@@ -2632,6 +2622,6 @@
"timezone": "",
"title": "Transactions",
"uid": "83vvgKKnk",
- "version": 143,
+ "version": 144,
"weekStart": ""
}
\ No newline at end of file
diff --git a/experiment/scripts/auditor.sh b/experiment/scripts/auditor.sh
new file mode 100644
index 0000000..850a69c
--- /dev/null
+++ b/experiment/scripts/auditor.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+set -eux
+source ~/scripts/helpers.sh
+
+INFO_MSG="
+Setup the auditor node
+(Start taler-auditor)
+"
+OPT_MSG="
+init:
+ Configure and start the auditor together with its database
+"
+
+function init_auditor() {
+ echo "TBD"
+}
+
+case $1 in
+ init)
+ init_auditor
+ ;;
+ *)
+ taler_perf_help $0 "$INFO_MSG" "$OPT_MSG"
+ ;;
+esac
+
+exit 0
diff --git a/experiment/scripts/benchmark.sh b/experiment/scripts/benchmark.sh
index 1f97391..e0b4478 100755
--- a/experiment/scripts/benchmark.sh
+++ b/experiment/scripts/benchmark.sh
@@ -27,7 +27,7 @@ function start_wallet_bench() {
LOG_LEVEL=INFO
fi
- NUM_DEPOSITS=$((RANDOM %21))
+ NUM_DEPOSITS=$((RANDOM %100))
if [[ ${WALLET_WITHDRAW_ONLY} == "true" ]]; then
NUM_DEPOSITS=0
fi
diff --git a/experiment/scripts/database.sh b/experiment/scripts/database.sh
index d3cfc53..9851b54 100755
--- a/experiment/scripts/database.sh
+++ b/experiment/scripts/database.sh
@@ -81,6 +81,9 @@ function setup_config() {
sysctl -p
fi
+ # disable swap
+ swapoff -a
+
# Allow longer lines to be logged by postgres
sed -i '1 i\$MaxMessageSize 4k' /etc/rsyslog.conf
@@ -179,7 +182,7 @@ function setup_config() {
# When having replication, this one can be changed (in local only on and off
are of use)
#
https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-SYNCHRONOUS-STANDBY-NAMES
# on causes us to get 100% IO load
- synchronous_commit = on
+ synchronous_commit = off
# Default off
wal_compression = off
diff --git a/experiment/scripts/shard.sh b/experiment/scripts/shard.sh
index 4160c5d..921605f 100755
--- a/experiment/scripts/shard.sh
+++ b/experiment/scripts/shard.sh
@@ -25,7 +25,7 @@ function setup_config() {
fi
# Get hardware info to tune in postgresql.conf
- SHARED_MEM=$(($(awk '/MemTotal/ {print $2}' /proc/meminfo) / 3 ))
+ SHARED_MEM=$(($(awk '/MemTotal/ {print $2}' /proc/meminfo) / 4 ))
CACHE_SIZE=$(($(awk '/MemTotal/ {print $2}' /proc/meminfo) * 3/4))
NUM_CPU=$(lscpu | grep "CPU(s)" | head -n 1 | awk '{print $2}')
@@ -41,6 +41,9 @@ function setup_config() {
sysctl -p
fi
+ # disable swap
+ swapoff -a
+
# Configure postgres with an additional file and include this
# in the main configuration
echo "
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-grid5k] branch master updated (87b3f10 -> 653b702), gnunet, 2022/05/28
- [taler-grid5k] 03/48: nodejs must be installed manually, gnunet, 2022/05/28
- [taler-grid5k] 02/48: nodejs must be installed manually, gnunet, 2022/05/28
- [taler-grid5k] 01/48: add shard user and domain in taler config, gnunet, 2022/05/28
- [taler-grid5k] 05/48: bank log on different port, gnunet, 2022/05/28
- [taler-grid5k] 16/48: auditor added to exchange, gnunet, 2022/05/28
- [taler-grid5k] 04/48: fix permissions, gnunet, 2022/05/28
- [taler-grid5k] 09/48: update dashboards,
gnunet <=
- [taler-grid5k] 19/48: logical replication implemented, gnunet, 2022/05/28
- [taler-grid5k] 06/48: fix promtail, gnunet, 2022/05/28
- [taler-grid5k] 11/48: add auditor config files, gnunet, 2022/05/28
- [taler-grid5k] 08/48: recognize bench3 in promtail, gnunet, 2022/05/28
- [taler-grid5k] 14/48: various fixes for auditor, gnunet, 2022/05/28
- [taler-grid5k] 17/48: update, gnunet, 2022/05/28
- [taler-grid5k] 33/48: update bank, gnunet, 2022/05/28
- [taler-grid5k] 10/48: fix merchant, gnunet, 2022/05/28
- [taler-grid5k] 21/48: update, gnunet, 2022/05/28
- [taler-grid5k] 13/48: fix typo, gnunet, 2022/05/28