Skip to content

Commit

Permalink
fix(examples): Reset Failed Payload Derivation Metric (#338)
Browse files Browse the repository at this point in the history
* feat(derive): histogram for number of channels for given frame counts

* fix(examples): reset failed payload derivation metric
  • Loading branch information
refcell authored Jun 28, 2024
1 parent 4c7db90 commit c2d3a35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/trusted-sync/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ async fn sync(cli: cli::Cli) -> Result<()> {
let mut pipeline =
new_online_pipeline(cfg, l1_provider, dap, l2_provider.clone(), attributes, tip);

// Reset the failed payload derivation metric to 0 so it can be queried.
metrics::FAILED_PAYLOAD_DERIVATION.reset();

// Continuously step on the pipeline and validate payloads.
let mut advance_cursor_flag = false;
loop {
Expand Down

0 comments on commit c2d3a35

Please sign in to comment.