gnunet-svn
[Top][All Lists]
Advanced

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

[taler-grid5k] 75/189: also separate wallet from the main syslog receive


From: gnunet
Subject: [taler-grid5k] 75/189: also separate wallet from the main syslog receiver
Date: Thu, 28 Apr 2022 10:47:25 +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 7893662d1baa8c2482d47109d1109f6a7d635f8c
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Sat Mar 12 18:01:45 2022 +0100

    also separate wallet from the main syslog receiver
---
 configs/etc/monitor/promtail.yaml | 18 +++++++++++++++++-
 experiment/scripts/wallet.sh      |  4 ++++
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/configs/etc/monitor/promtail.yaml 
b/configs/etc/monitor/promtail.yaml
index 0f67a8f..9356f65 100644
--- a/configs/etc/monitor/promtail.yaml
+++ b/configs/etc/monitor/promtail.yaml
@@ -38,4 +38,20 @@ scrape_configs:
            template: '{{ printf "%s-%s" .ep .act | trimSuffix "-" }}'
        - labels:
            endpoint:
-
+- job_name: wallet
+  syslog:
+    listen_address: 0.0.0.0:1516
+    labels:
+      job: wallet
+  relabel_configs:
+    - source_labels: [__syslog_message_app_name]
+      target_label: app
+  pipeline_stages:
+    - match:
+        selector: '{job="wallet"} |~ ".*Bench1.*"'
+        stages:
+        - template:
+            source: script
+            template: 'benchmark'
+        - labels:
+            script:
diff --git a/experiment/scripts/wallet.sh b/experiment/scripts/wallet.sh
index a771d47..c700897 100755
--- a/experiment/scripts/wallet.sh
+++ b/experiment/scripts/wallet.sh
@@ -18,6 +18,10 @@ source ~/scripts/helpers.sh
 
 # Enable rsyslog and wait until the exchange is ready
 function init_wallets() {
+
+  sed -i 's/port="1514"/port="1516"/g' \
+         /etc/rsyslog.d/taler.conf
+
   restart_rsyslog
   wait_for_keys "${PROXY_DOMAIN}"
   sleep 5

-- 
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]