feat: Report num_cpus seen by IOx on startup (#1484)
parent
0b1ef52481
commit
ebea554e5a
|
@ -1531,6 +1531,7 @@ dependencies = [
|
|||
"mem_qe",
|
||||
"metrics",
|
||||
"mutable_buffer",
|
||||
"num_cpus",
|
||||
"object_store",
|
||||
"observability_deps",
|
||||
"once_cell",
|
||||
|
|
|
@ -61,6 +61,7 @@ logfmt = { path = "logfmt" }
|
|||
mem_qe = { path = "mem_qe" }
|
||||
metrics = { path = "metrics" }
|
||||
mutable_buffer = { path = "mutable_buffer" }
|
||||
num_cpus = "1.13.0"
|
||||
object_store = { path = "object_store" }
|
||||
observability_deps = { path = "observability_deps" }
|
||||
packers = { path = "packers" }
|
||||
|
|
|
@ -99,7 +99,8 @@ async fn wait_for_signal() {
|
|||
/// command line arguments, if any.
|
||||
pub async fn main(config: Config) -> Result<()> {
|
||||
let git_hash = option_env!("GIT_HASH").unwrap_or("UNKNOWN");
|
||||
info!(git_hash, "InfluxDB IOx server starting");
|
||||
let num_cpus = num_cpus::get();
|
||||
info!(git_hash, num_cpus, "InfluxDB IOx server starting");
|
||||
|
||||
// Install custom panic handler and forget about it.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue