Skip to content

Commit 8464b77

Browse files
committed
add custom on-chain-metrics target for both local and Dockerized version
1 parent 4ab9729 commit 8464b77

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

framework/observability/compose/conf/prometheus.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ global:
22
scrape_interval: 10s
33

44
scrape_configs:
5+
- job_name: 'on-chain-metrics'
6+
metrics_path: /on-chain-metrics
7+
scrape_interval: 10s
8+
static_configs:
9+
- targets: [ 'host.docker.internal:9112', 'on-chain-metrics:9112']
510
- job_name: 'otel-collector'
611
scrape_interval: 10s
712
static_configs:

0 commit comments

Comments
 (0)