ObolNetwork / charon-distributed-validator-cluster

Run a Distributed Validator Cluster locally using docker-compose

Home Page:https://docs.obol.tech/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Increase the prometheus scrape interval

aly-obol opened this issue · comments

commented

Grafana cloud billing is based on usage, and usage is determined by two primary factors:

The number of active series (95th percentile)
The number of data points per minute (DPM), is also at the 95th percentile.
Illustrative Example for Grafana Cloud Pro:

Scenario A: 50,000 active series at a 60 second scrape interval (that is, 1 DPM) Pricing: 50,000 active series * (1 DPM / 1 DPM Included) * ($8 / 1000 active series) = $400 / month
Scenario B: 50,000 active series at a 30 second scrape interval (that is, 2 DPM) Pricing: 50,000 active series* (2 DPM / 1 DPM Included) * ($8 / 1000 active series) = $800 / month
We have to increase the scrape interval in the prometheus.yml configuration from 12s to 384s (1 epoch) in the following repos:
-charon-distributed-validator-node and
-charon-distributed-validator-cluster