gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-grid5k] 04/16: update readmes and plotter config


From: gnunet
Subject: [taler-grid5k] 04/16: update readmes and plotter config
Date: Tue, 23 Nov 2021 19:22:21 +0100

This is an automated email from the git hooks/post-receive script.

marco-boss pushed a commit to branch master
in repository grid5k.

commit 2e2201fa09f5e3b052054d52eae79beb2e831729
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Mon Nov 22 18:21:51 2021 +0100

    update readmes and plotter config
---
 additional/README.md   |  2 +-
 additional/config.yaml |  1 +
 additional/plot.sh     | 13 ++++++-------
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/additional/README.md b/additional/README.md
index 9688bc0..ad7863b 100644
--- a/additional/README.md
+++ b/additional/README.md
@@ -2,7 +2,7 @@
 
 ## plot.sh
 
-Create png plots from the grafana experiment dashbaords using [Grafan 
Dashboard Plotter](https://github.com/bossm8/grafana-dashboard-plotter).
+Create png plots from the grafana experiment dashboards using [Grafan 
Dashboard Plotter](https://github.com/bossm8/grafana-dashboard-plotter).
 
 ## configs
 
diff --git a/additional/config.yaml b/additional/config.yaml
index 59ef113..8a13227 100644
--- a/additional/config.yaml
+++ b/additional/config.yaml
@@ -13,6 +13,7 @@ dashboards:
     variables: ['endpoint']
   - uid: rYdddlPWk # Nodes
     variables: ['node']
+    ignore: 'wallet*|monitor*|bank*|merch*'
 
 prometheus:
   node_exporter_job_name: nodes
diff --git a/additional/plot.sh b/additional/plot.sh
index cfac7cf..068ff91 100755
--- a/additional/plot.sh
+++ b/additional/plot.sh
@@ -15,14 +15,13 @@ cd ${PLOTTER_DIR} && git pull
 if [ ! -d venv ]; then
   python3 -m venv venv
 fi
+
 source venv/bin/activate
-pip install -r requirements.txt
+pip install -r requirements.txt > /dev/null
 
-if [ ! -f config.yaml ]; then
-  sed -e "s|\${ADMIN_API_KEY}|${GRAFANA_API_KEY}|g" \
-      -e "s|\${BASE_URL}|${GRAFANA_HOST}|g" \
-      ../config.yaml > config.yaml
-fi
+sed -e "s|\${ADMIN_API_KEY}|${GRAFANA_API_KEY}|g" \
+    -e "s|\${BASE_URL}|${GRAFANA_HOST}|g" \
+    ../config.yaml > config.yaml
 
 set +u
 
@@ -36,4 +35,4 @@ fi
 
 tar -czvf ../plots-${TO}.tar.gz plots
 
-rm -rf plots
+rm -rf plots 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]