bobanetwork / boba_legacy

Monorepo implementing Boba, a compute layer for Ethereum
https://boba.network
MIT License
61 stars 60 forks source link

Support Prometheus metrics? #1308

Open Aracki opened 7 months ago

Aracki commented 7 months ago

I see we have config like this:

METRICS AND STATS OPTIONS:
  --metrics                           Enable metrics collection and reporting [$METRICS_ENABLE]
  --metrics.expensive                 Enable expensive metrics collection and reporting
  --metrics.influxdb                  Enable metrics export/push to an external InfluxDB database
  --metrics.influxdb.endpoint value   InfluxDB API endpoint to report metrics to (default: "http://localhost:8086")
  --metrics.influxdb.database value   InfluxDB database name to push reported metrics to (default: "geth")
  --metrics.influxdb.username value   Username to authorize access to the database (default: "test")
  --metrics.influxdb.password value   Password to authorize access to the database (default: "test")
  --metrics.influxdb.tags value       Comma-separated InfluxDB tags (key/values) attached to all measurements (default: "host=localhost")

but can we support prometheus metrics as well? together with --metrics.port & --metrics.addr