Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable metrics server on sync REPL #1308

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

Arqu
Copy link
Collaborator

@Arqu Arqu commented Jul 27, 2023

Description

Adds a flag to start serving metrics on an endpoint in OpenMetrics form, makes life easier to plug it into other tooling.

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.

@Arqu Arqu changed the base branch from Frando/gossip to sync-gossip-bytes July 27, 2023 11:28
@Arqu Arqu changed the title Arqu/sync metrics server feat: enable metrics server on sync repl Jul 27, 2023
@Arqu Arqu changed the title feat: enable metrics server on sync repl feat: enable metrics server on sync REPL Jul 27, 2023
@Arqu Arqu force-pushed the arqu/sync_metrics_server branch from 7396864 to 283f337 Compare July 27, 2023 11:30
@Arqu Arqu requested a review from Frando July 27, 2023 11:31
@Arqu Arqu self-assigned this Jul 27, 2023
@Arqu Arqu added metrics extracting quantified mesurements from iroh _c-iroh-legacy Formerly big iroh node with all protocols labels Jul 27, 2023
@Arqu Arqu added this to the v0.5.2 - Sync milestone Jul 27, 2023
@Arqu Arqu requested a review from dignifiedquire July 27, 2023 11:33
@@ -32,6 +30,7 @@ use iroh_net::{
use iroh_sync::sync::{Author, Namespace, SignedEntry};
use once_cell::sync::OnceCell;
use serde::{Deserialize, Serialize};
use std::{fmt, net::SocketAddr, path::PathBuf, str::FromStr, sync::Arc};
Copy link
Contributor

Choose a reason for hiding this comment

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

please keep std imports seperated out

@Arqu Arqu force-pushed the arqu/sync_metrics_server branch from 283f337 to 49112e0 Compare July 27, 2023 12:31
@Arqu Arqu merged commit d2a77ed into sync-gossip-bytes Jul 27, 2023
@Arqu Arqu deleted the arqu/sync_metrics_server branch July 27, 2023 12:32
Frando pushed a commit that referenced this pull request Jul 28, 2023
Frando pushed a commit that referenced this pull request Jul 28, 2023
Frando pushed a commit that referenced this pull request Jul 28, 2023
Frando pushed a commit that referenced this pull request Aug 7, 2023
Frando pushed a commit that referenced this pull request Aug 10, 2023
Frando pushed a commit that referenced this pull request Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
_c-iroh-legacy Formerly big iroh node with all protocols metrics extracting quantified mesurements from iroh
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants