[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-grid5k] 05/48: bank log on different port
From: |
gnunet |
Subject: |
[taler-grid5k] 05/48: bank log on different port |
Date: |
Sat, 28 May 2022 12:11: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 e820bed39bc348d38435ee6ab599da43cfad9053
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Tue May 10 08:32:01 2022 +0200
bank log on different port
---
configs/etc/monitor/promtail.yaml | 25 +++++++++++++++++++++++++
experiment/scripts/run.sh | 1 +
2 files changed, 26 insertions(+)
diff --git a/configs/etc/monitor/promtail.yaml
b/configs/etc/monitor/promtail.yaml
index 03f5911..bae4704 100644
--- a/configs/etc/monitor/promtail.yaml
+++ b/configs/etc/monitor/promtail.yaml
@@ -152,3 +152,28 @@ scrape_configs:
template: 'benchmark'
- labels:
script:
+
+- job_name: fakebank
+ syslog:
+ listen_address: 0.0.0.0:1518
+ labels:
+ job: fakebank
+ relabel_configs:
+ - source_labels: [__syslog_message_app_name]
+ target_label: app
+ pipeline_stages:
+ - match:
+ selector: '{job="fakebank"} |~ "Making(.*)"'
+ stages:
+ - regex:
+ expression: 'Making transfer \d+.*to (?P<account>[A-Za-z0-9-_]+)'
+ - labels:
+ account:
+ - metrics:
+ account_payments:
+ prefix: 'taler_fakebank_'
+ type: Counter
+ description: "Total payments done"
+ config:
+ match_all: true
+ action: inc
diff --git a/experiment/scripts/run.sh b/experiment/scripts/run.sh
index 8f1dd47..9b181a5 100644
--- a/experiment/scripts/run.sh
+++ b/experiment/scripts/run.sh
@@ -22,6 +22,7 @@ set_host ${NODE_NAME}
PROMTAIL_LOG_PORT=1514
if [[ "${HOSTNAME}" =~ ${BANK_HOSTS} ]]; then
+ PROMTAIL_LOG_PORT=1518
setup_log
enable_logrotate
exec ~/scripts/bank.sh init
--
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 <=
- [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, 2022/05/28
- [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