Skip to content

Commit

Permalink
Fix ci tests - metrics related (#1612)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakanalh authored Dec 16, 2024
1 parent 25eadad commit 94e2bb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ clean: ## Cleans compiled
@cargo clean

clean-node: ## Cleans local dbs needed for sequencer and nodes
rm -rf resources/dbs/da-db
rm -rf resources/dbs/sequencer-db
rm -rf resources/dbs/batch-prover-db
rm -rf resources/dbs/light-client-prover-db
Expand Down
11 changes: 1 addition & 10 deletions crates/common/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,23 +410,14 @@ impl FromEnv for SequencerMempoolConfig {
}

/// Telemetry configuration.
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize)]
#[derive(Debug, Default, Clone, PartialEq, Deserialize, Serialize)]
pub struct TelemetryConfig {
/// Server host.
pub bind_host: Option<String>,
/// Server port.
pub bind_port: Option<u16>,
}

impl Default for TelemetryConfig {
fn default() -> Self {
Self {
bind_host: Some("0.0.0.0".to_owned()),
bind_port: Some(8081),
}
}
}

impl FromEnv for TelemetryConfig {
fn from_env() -> anyhow::Result<Self> {
let bind_host = std::env::var("TELEMETRY_BIND_HOST").ok();
Expand Down

0 comments on commit 94e2bb2

Please sign in to comment.