Skip to content

Commit

Permalink
Revert "Expose the startup timestamp to Prometheus (#2233)"
Browse files Browse the repository at this point in the history
This reverts commit c459492.
  • Loading branch information
michaelsproul authored Mar 10, 2021
1 parent e06c6f2 commit 502fa3d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 31 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions lighthouse/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ directory = { path = "../common/directory" }
lighthouse_version = { path = "../common/lighthouse_version" }
account_utils = { path = "../common/account_utils" }
remote_signer = { "path" = "../remote_signer" }
lighthouse_metrics = { path = "../common/lighthouse_metrics" }
lazy_static = "1.4.0"

[dev-dependencies]
tempfile = "3.1.0"
Expand Down
5 changes: 0 additions & 5 deletions lighthouse/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
mod metrics;

use beacon_node::{get_eth2_network_config, ProductionBeaconNode};
use clap::{App, Arg, ArgMatches};
use env_logger::{Builder, Env};
Expand Down Expand Up @@ -221,9 +219,6 @@ fn run<E: EthSpec>(

let log = environment.core_context().log().clone();

// Allow Prometheus to export the time at which the process was started.
metrics::expose_process_start_time(&log);

if matches.is_present("spec") {
warn!(
log,
Expand Down
22 changes: 0 additions & 22 deletions lighthouse/src/metrics.rs

This file was deleted.

0 comments on commit 502fa3d

Please sign in to comment.