Skip to content

Commit

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

[1.0.3 -> main] Prometheus: Update speculative block metrics for produced blocks
  • Loading branch information
heifner authored Oct 25, 2024
2 parents e1155a3 + 1e98b3e commit ee5e575
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 ee5e575

Please sign in to comment.