[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-grid5k] 77/189: test custom metrics
From: |
gnunet |
Subject: |
[taler-grid5k] 77/189: test custom metrics |
Date: |
Thu, 28 Apr 2022 10:47:27 +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 e43015aa9154768159fc896e0620d5846aba2ae5
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Sat Mar 12 21:00:20 2022 +0100
test custom metrics
---
configs/etc/monitor/prometheus.yaml | 5 +++++
configs/etc/monitor/promtail.yaml | 10 ++++++++++
2 files changed, 15 insertions(+)
diff --git a/configs/etc/monitor/prometheus.yaml
b/configs/etc/monitor/prometheus.yaml
index 37f9773..c972b1a 100644
--- a/configs/etc/monitor/prometheus.yaml
+++ b/configs/etc/monitor/prometheus.yaml
@@ -20,4 +20,9 @@ scrape_configs:
- job_name: 'exchange-proxy'
static_configs:
- targets: ['127.0.0.1:9113']
+
+ # Promtail with custom metrics
+ - job_name: 'promtail'
+ static_configs:
+ - targets: ['127.0.0.1:9080']
diff --git a/configs/etc/monitor/promtail.yaml
b/configs/etc/monitor/promtail.yaml
index a660a30..3aefff3 100644
--- a/configs/etc/monitor/promtail.yaml
+++ b/configs/etc/monitor/promtail.yaml
@@ -39,6 +39,16 @@ scrape_configs:
- labels:
endpoint:
status:
+ - match:
+ selector: '{job="proxy"} | s=200 |~ "(/withdraw|/deposit)"'
+ stages:
+ - metrics:
+ tps:
+ type: Counter
+ description: "Transactions per Second (successful requests to
/withdraw and /deposit)"
+ config:
+ match_all: true
+ action: increment
- job_name: wallet
syslog:
listen_address: 0.0.0.0:1516
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-grid5k] 14/189: aggregation tracking cant be sharded, (continued)
- [taler-grid5k] 14/189: aggregation tracking cant be sharded, gnunet, 2022/04/28
- [taler-grid5k] 30/189: log nested statements to hopefully get function debug output, gnunet, 2022/04/28
- [taler-grid5k] 16/189: re-enable sharding of aggregation tracking tables, gnunet, 2022/04/28
- [taler-grid5k] 43/189: again without analyze, gnunet, 2022/04/28
- [taler-grid5k] 47/189: add monitor to dahu because of link speed, gnunet, 2022/04/28
- [taler-grid5k] 20/189: fix typos, gnunet, 2022/04/28
- [taler-grid5k] 38/189: test, gnunet, 2022/04/28
- [taler-grid5k] 106/189: viualizer can parse log lines / formatted output, gnunet, 2022/04/28
- [taler-grid5k] 21/189: generic wire-fee year, fix empty shards when partitioned only, gnunet, 2022/04/28
- [taler-grid5k] 90/189: add doc, gnunet, 2022/04/28
- [taler-grid5k] 77/189: test custom metrics,
gnunet <=
- [taler-grid5k] 116/189: fix verbose output, gnunet, 2022/04/28
- [taler-grid5k] 124/189: enable admin api for prometheus in order to test snapshots, gnunet, 2022/04/28
- [taler-grid5k] 75/189: also separate wallet from the main syslog receiver, gnunet, 2022/04/28
- [taler-grid5k] 80/189: change denominations, gnunet, 2022/04/28
- [taler-grid5k] 62/189: fix lookahead sign, gnunet, 2022/04/28
- [taler-grid5k] 84/189: cleaner exchange setup, gnunet, 2022/04/28
- [taler-grid5k] 118/189: add sharding logic, gnunet, 2022/04/28
- [taler-grid5k] 105/189: work towards parsing logs, gnunet, 2022/04/28
- [taler-grid5k] 79/189: add histograms, gnunet, 2022/04/28
- [taler-grid5k] 108/189: update explain.py - multiline params not working yet - needs some style improvements, gnunet, 2022/04/28