gnunet-svn
[Top][All Lists]
Advanced

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

[taler-grid5k] 73/189: better endpoint pipeline definition


From: gnunet
Subject: [taler-grid5k] 73/189: better endpoint pipeline definition
Date: Thu, 28 Apr 2022 10:47:23 +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 7ac597cf1256cc37b5bf8556bbb51f0517ce1de9
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Sat Mar 12 15:58:49 2022 +0100

    better endpoint pipeline definition
---
 configs/etc/monitor/promtail.yaml | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/configs/etc/monitor/promtail.yaml 
b/configs/etc/monitor/promtail.yaml
index 6bbbe4a..0f67a8f 100644
--- a/configs/etc/monitor/promtail.yaml
+++ b/configs/etc/monitor/promtail.yaml
@@ -29,11 +29,13 @@ scrape_configs:
       target_label: app
   pipeline_stages:
     - match:
-        selector: '{job="proxy"}'
-        stages:
-        - regex:
-            expression: 
'.*uri=/(?P<endpoint>[a-zA-Z]+)(?:/\w+)?(?:/(?P<action>[a-zA-Z]+))?.*'
-        - labels:
-            endpoint:
-            action:
+       selector: '{job="proxy"}'
+       stages:
+       - regex:
+           expression: 
'.*uri=/(?P<ep>[a-zA-Z]+)(?:/\w+)?(?:/(?P<act>[a-zA-Z]+))?.*'
+       - template:
+           source: endpoint
+           template: '{{ printf "%s-%s" .ep .act | trimSuffix "-" }}'
+       - labels:
+           endpoint:
 

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