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
@@ -242,21 +242,39 @@ Once you are running your operator using systemd, you can get its logs using jou
242
242
journalctl -xfeu aligned-operator.service
243
243
```
244
244
245
+
## Operator Metrics
246
+
247
+
Metrics are exposed by default at `localhost:9092/metrics` in Prometheus format. To change the endpoint, update the following line in the configuration file:
248
+
249
+
```yaml
250
+
metrics_ip_port_address: localhost:9092
251
+
```
252
+
253
+
Example of exposed metrics:
254
+
255
+
```yaml
256
+
# HELP aligned_operator_responses_count Number of proof verified by the operator and sent to the Aligned Service Manager
257
+
# TYPE aligned_operator_responses_count counter
258
+
aligned_operator_responses_count x
259
+
```
260
+
261
+
You can scrape these metrics using Prometheus and visualize them in Grafana or configure alerts based on the data.
0 commit comments