| 1 | It fails to build on Alpine / musl.
|
| 2 |
|
| 3 | Upstream-Issue: https://github.com/twitter/rezolus/issues/216
|
| 4 |
|
| 5 | |
| 6 | |
| 7 | @@ -12,7 +12,6 @@
|
| 8 | use samplers::memcache::MemcacheConfig;
|
| 9 | use samplers::memory::MemoryConfig;
|
| 10 | use samplers::network::NetworkConfig;
|
| 11 | -use samplers::ntp::NtpConfig;
|
| 12 | use samplers::nvidia::NvidiaConfig;
|
| 13 | use samplers::page_cache::PageCacheConfig;
|
| 14 | use samplers::rezolus::RezolusConfig;
|
| 15 | @@ -42,8 +41,6 @@
|
| 16 | #[serde(default)]
|
| 17 | network: NetworkConfig,
|
| 18 | #[serde(default)]
|
| 19 | - ntp: NtpConfig,
|
| 20 | - #[serde(default)]
|
| 21 | nvidia: NvidiaConfig,
|
| 22 | #[serde(default)]
|
| 23 | page_cache: PageCacheConfig,
|
| 24 | @@ -94,10 +91,6 @@
|
| 25 | &self.network
|
| 26 | }
|
| 27 |
|
| 28 | - pub fn ntp(&self) -> &NtpConfig {
|
| 29 | - &self.ntp
|
| 30 | - }
|
| 31 | -
|
| 32 | pub fn nvidia(&self) -> &NvidiaConfig {
|
| 33 | &self.nvidia
|
| 34 | }
|
| 35 | |
| 36 | |
| 37 | @@ -84,7 +84,6 @@
|
| 38 | Memory::spawn(common.clone());
|
| 39 | PageCache::spawn(common.clone());
|
| 40 | Network::spawn(common.clone());
|
| 41 | - Ntp::spawn(common.clone());
|
| 42 | Nvidia::spawn(common.clone());
|
| 43 | Rezolus::spawn(common.clone());
|
| 44 | Scheduler::spawn(common.clone());
|
| 45 | |
| 46 | |
| 47 | @@ -23,7 +23,6 @@
|
| 48 | pub mod memcache;
|
| 49 | pub mod memory;
|
| 50 | pub mod network;
|
| 51 | -pub mod ntp;
|
| 52 | pub mod nvidia;
|
| 53 | pub mod page_cache;
|
| 54 | pub mod rezolus;
|
| 55 | @@ -41,7 +40,6 @@
|
| 56 | pub use memcache::Memcache;
|
| 57 | pub use memory::Memory;
|
| 58 | pub use network::Network;
|
| 59 | -pub use ntp::Ntp;
|
| 60 | pub use nvidia::Nvidia;
|
| 61 | pub use page_cache::PageCache;
|
| 62 | pub use rezolus::Rezolus;
|
| 63 | |
| 64 | |
| 65 | @@ -249,31 +249,6 @@
|
| 66 | # "p99",
|
| 67 | # ]
|
| 68 |
|
| 69 | -# The NTP sampler provides basic telemetry for the running network time protocol
|
| 70 | -# daemon.
|
| 71 | -[samplers.ntp]
|
| 72 | -# Controls wherther to use this sampler
|
| 73 | -enabled = true
|
| 74 | -
|
| 75 | -# Sampling interval, in milliseconds, for this sampler
|
| 76 | -# interval = 1000
|
| 77 | -
|
| 78 | -# The set of exported statistics may be limited by specifying them, otherwise
|
| 79 | -# the complete set of statistics will be exported.
|
| 80 | -# statistics = [
|
| 81 | -# "network/receive/bytes",
|
| 82 | -# "network/transmit/bytes"
|
| 83 | -# ]
|
| 84 | -
|
| 85 | -# The set of exported percentiles can be controlled by specifying them here
|
| 86 | -# percentiles = [
|
| 87 | -# "p1",
|
| 88 | -# "p10",
|
| 89 | -# "p50",
|
| 90 | -# "p90",
|
| 91 | -# "p99",
|
| 92 | -# ]
|
| 93 | -
|
| 94 | # The Nvidia sampler provides telemetry for Nvidia GPUs by using the NVML
|
| 95 | # library.
|
| 96 | [samplers.nvidia]
|