You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/sequencing/centralized.md
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@ make build
30
30
./build/centralized-sequencer -h
31
31
```
32
32
33
+
You should see the following output:
34
+
33
35
```sh
34
36
Usage:
35
37
-host string
@@ -50,6 +52,7 @@ Usage:
50
52
DA namespace where the sequencer submits transactions
51
53
-db_path string
52
54
path to the database
55
+
...
53
56
```
54
57
55
58
As shown by the help command, a centralized sequencer is configured to serve a rollup (via `rollup_id`). The DA network to persist the sequenced batches are specified using `da_address`, `da_auth_token` and `da_namespace`.
@@ -113,6 +116,24 @@ Then after a few blocks you should see this message confirming that your sequenc
113
116
I[2024-11-15|16:04:07.698] successfully submitted Rollkit headers to DA layer module=BlockManager gasPrice=-1 daHeight=1 headerCount=14
114
117
```
115
118
119
+
## Metrics {#metrics}
120
+
121
+
The `centralized-sequencer` node reports Prometheus metrics when the `-metrics` flag is enabled.
122
+
123
+
By default, metrics are exported to `http://localhost:8080/metrics`.
124
+
125
+
The listening address and port can be configured with the `-metrics-address` flag.
| sequencer_gas_price | Gauge || Gas price of the DA transaction |
132
+
| sequencer_last_blob_size | Gauge || Last blob size submitted to the DA |
133
+
| sequencer_transaction_status | Gauge || Transaction status of the DA transaction |
134
+
| sequencer_num_pending_blocks | Gauge || Number of blocks pending DA submission |
135
+
| sequencer_included_block_height | Gauge || Block height of the last DA transaction |
136
+
116
137
## Summary {#summary}
117
138
118
139
By following these steps, you will have successfully set up and connected your chain to the centralized sequencer. You can now start submitting transactions to your chain.
0 commit comments