mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 18:55:32 +00:00
aquatic_common: remove cpu-pinning code from prometheus spawner
This commit is contained in:
parent
498481568d
commit
6ee1871a53
1 changed files with 0 additions and 8 deletions
|
|
@ -115,14 +115,6 @@ pub fn spawn_prometheus_endpoint(
|
||||||
let handle = Builder::new()
|
let handle = Builder::new()
|
||||||
.name("prometheus".into())
|
.name("prometheus".into())
|
||||||
.spawn(move || {
|
.spawn(move || {
|
||||||
#[cfg(feature = "cpu-pinning")]
|
|
||||||
pin_current_if_configured_to(
|
|
||||||
&config.cpu_pinning,
|
|
||||||
config.socket_workers,
|
|
||||||
config.swarm_workers,
|
|
||||||
WorkerIndex::Util,
|
|
||||||
);
|
|
||||||
|
|
||||||
use metrics_exporter_prometheus::PrometheusBuilder;
|
use metrics_exporter_prometheus::PrometheusBuilder;
|
||||||
use metrics_util::MetricKindMask;
|
use metrics_util::MetricKindMask;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue