From d87fd81dc42e8fe688a5c808e23e51c8c6b9389f Mon Sep 17 00:00:00 2001 From: ylembachar Date: Mon, 17 Nov 2025 18:22:26 +0100 Subject: [PATCH 1/4] correctly format yaml file --- shutter/promtail_config.yaml | 65 +++++++++++++++++------------------- 1 file changed, 30 insertions(+), 35 deletions(-) diff --git a/shutter/promtail_config.yaml b/shutter/promtail_config.yaml index f241855..d2fdd3d 100644 --- a/shutter/promtail_config.yaml +++ b/shutter/promtail_config.yaml @@ -1,46 +1,41 @@ server: http_listen_port: 9080 grpc_listen_port: 0 - positions: filename: /tmp/positions.yaml - client: url: https://logs.metrics.shutter.network/insert/loki/api/v1/push basic_auth: username: ${PUSHGATEWAY_USERNAME} password: ${PUSHGATEWAY_PASSWORD} - scrape_configs: - - job_name: configure - pipeline_stages: - - docker: - static_configs: - - targets: - - localhost - labels: - job: configure - host: ${KEYPER_NAME} - __path__: /tmp/configure.log - - - job_name: keyper - pipeline_stages: - - docker: - static_configs: - - targets: - - localhost - labels: - job: keyper - host: ${KEYPER_NAME} - __path__: /tmp/keyper.log - - - job_name: chain - pipeline_stages: - - docker: - static_configs: - - targets: - - localhost - labels: - job: chain - host: ${KEYPER_NAME} - __path__: /tmp/chain.log + - job_name: configure + pipeline_stages: + - docker: + static_configs: + - targets: + - localhost + labels: + job: configure + host: ${KEYPER_NAME} + __path__: /tmp/configure.log + - job_name: keyper + pipeline_stages: + - docker: + static_configs: + - targets: + - localhost + labels: + job: keyper + host: ${KEYPER_NAME} + __path__: /tmp/keyper.log + - job_name: chain + pipeline_stages: + - docker: + static_configs: + - targets: + - localhost + labels: + job: chain + host: ${KEYPER_NAME} + __path__: /tmp/chain.log \ No newline at end of file From 5ed807803d4855c73697c4d09a1791707e9f306e Mon Sep 17 00:00:00 2001 From: ylembachar Date: Mon, 17 Nov 2025 18:24:55 +0100 Subject: [PATCH 2/4] add regex to fix promtail config --- shutter/promtail_config.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/shutter/promtail_config.yaml b/shutter/promtail_config.yaml index d2fdd3d..9c5c408 100644 --- a/shutter/promtail_config.yaml +++ b/shutter/promtail_config.yaml @@ -11,7 +11,8 @@ client: scrape_configs: - job_name: configure pipeline_stages: - - docker: + - regex: + expression: '^(?P<_msg>.*)$' static_configs: - targets: - localhost @@ -21,7 +22,8 @@ scrape_configs: __path__: /tmp/configure.log - job_name: keyper pipeline_stages: - - docker: + - regex: + expression: '^(?P<_msg>.*)$' static_configs: - targets: - localhost @@ -31,11 +33,12 @@ scrape_configs: __path__: /tmp/keyper.log - job_name: chain pipeline_stages: - - docker: + - regex: + expression: '^(?P<_msg>.*)$' static_configs: - targets: - localhost labels: job: chain host: ${KEYPER_NAME} - __path__: /tmp/chain.log \ No newline at end of file + __path__: /tmp/chain.log From f660785e9aa3b67a119a945988e86d9cc20d3080 Mon Sep 17 00:00:00 2001 From: ylembachar Date: Tue, 18 Nov 2025 10:17:22 +0100 Subject: [PATCH 3/4] fix promtail indentation --- shutter/promtail_config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shutter/promtail_config.yaml b/shutter/promtail_config.yaml index 9c5c408..54e83ae 100644 --- a/shutter/promtail_config.yaml +++ b/shutter/promtail_config.yaml @@ -12,7 +12,7 @@ scrape_configs: - job_name: configure pipeline_stages: - regex: - expression: '^(?P<_msg>.*)$' + expression: '^(?P<_msg>.*)$' static_configs: - targets: - localhost @@ -23,7 +23,7 @@ scrape_configs: - job_name: keyper pipeline_stages: - regex: - expression: '^(?P<_msg>.*)$' + expression: '^(?P<_msg>.*)$' static_configs: - targets: - localhost @@ -34,7 +34,7 @@ scrape_configs: - job_name: chain pipeline_stages: - regex: - expression: '^(?P<_msg>.*)$' + expression: '^(?P<_msg>.*)$' static_configs: - targets: - localhost From 7c259e0de811833877d70039367200b9b3ed89af Mon Sep 17 00:00:00 2001 From: ylembachar Date: Tue, 18 Nov 2025 18:14:52 +0100 Subject: [PATCH 4/4] bump keyper upstream version to v1.3.15 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e78c434..fbbd8de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: context: shutter args: ASSETS_VERSION: shutter-gnosis-1000-set1.4.1 # $NETWORK-10*$CHAIN_ID-set-$VERSION - UPSTREAM_VERSION: v1.3.14 + UPSTREAM_VERSION: v1.3.15 KEYPER_CONFIG_DIR: /keyper/config SHUTTER_CHAIN_DIR: /chain STAKER_SCRIPTS_VERSION: v0.1.0