Skip to content

Conversation

Frando
Copy link
Member

@Frando Frando commented Oct 15, 2025

Description

Breaking Changes

  • push metrics at regular interval instead of only at checkpoint
  • add optional round label callback

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@github-actions
Copy link

github-actions bot commented Oct 15, 2025

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh-n0des/pr/44/docs/iroh_n0des/

Last updated: 2025-10-20T13:17:57Z

@Frando Frando force-pushed the Frando/metrics-improvements branch from 34bb96f to 9464c2f Compare October 20, 2025 12:52
@Frando Frando changed the title Frando/metrics improvements refactor: push metrics at regular intervals Oct 20, 2025
/// Environment variable name for the simulation session ID.
pub const ENV_TRACE_SESSION_ID: &str = "N0DES_SESSION_ID";

const METRICS_INTERVAL: Duration = Duration::from_secs(1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is way to aggressive, pls set it to 10 or 15s which is the default scrape interval used elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants