File tree 2 files changed +17
-0
lines changed 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @cartesi/cli " : patch
3
+ ---
4
+
5
+ expose rollups-node prometheus metrics
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ services:
32
32
environment :
33
33
PROMPT_TXT_02_GRAPHQL : " GraphQL running at http://localhost:${CARTESI_LISTEN_PORT}/graphql"
34
34
PROMPT_TXT_03_INSPECT : " Inspect running at http://localhost:${CARTESI_LISTEN_PORT}/inspect/"
35
+ PROMPT_TXT_08_METRICS : " Prometheus metrics at http://localhost:${CARTESI_LISTEN_PORT}/metrics"
35
36
36
37
traefik-config-generator :
37
38
environment :
@@ -57,3 +58,14 @@ services:
57
58
loadBalancer:
58
59
servers:
59
60
- url: "http://validator:10000/graphql"
61
+ TRAEFIK_CONFIG_VALIDATOR_METRICS : |
62
+ http:
63
+ routers:
64
+ validator_metrics:
65
+ rule: "PathPrefix(`/metrics`)"
66
+ service: validator_metrics
67
+ services:
68
+ validator_metrics:
69
+ loadBalancer:
70
+ servers:
71
+ - url: "http://validator:10000/metrics"
You can’t perform that action at this time.
0 commit comments