Skip to content

Commit

Permalink
Merge pull request #957 from AntelopeIO/GH-956-prometheus-speculative…
Browse files Browse the repository at this point in the history
…-metrics

[1.0.3] Prometheus: Update speculative block metrics for produced blocks
  • Loading branch information
heifner authored Oct 24, 2024
2 parents 33654f3 + acf694b commit 5e7249a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/prometheus_plugin/metrics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ struct catalog_type {
net_usage_us_produced_block.Increment(metrics.net_usage_us);

update(produced_metrics, metrics);
update(speculative_metrics, metrics);

last_irreversible.Set(metrics.last_irreversible);
head_block_num.Set(metrics.head_block_num);
Expand Down

0 comments on commit 5e7249a

Please sign in to comment.