mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
revert: restore #![allow(dead_code)] - CI clippy -D warnings conflict (#3979)
revert: restore #![allow(dead_code)] - clippy -D warnings treats warn as error The #742 PR changed #![allow(dead_code)] to #![warn(dead_code)], but CI runs clippy with -D warnings which turns warnings into errors. This caused CI failures across multiple PRs. Reverting to #![allow(dead_code)] until the dead code is actually cleaned up. The 189 warnings in ecstore should be fixed incrementally by deleting dead code and adding item-level allows, not by changing the crate-level policy.
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use base64_simd::STANDARD;
|
use base64_simd::STANDARD;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#![warn(dead_code)] // Gradually clean up dead code; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
// Copyright 2024 RustFS Team
|
// Copyright 2024 RustFS Team
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! Audit metrics collector.
|
//! Audit metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! Cluster config metrics collector.
|
//! Cluster config metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! Cluster erasure set metrics collector.
|
//! Cluster erasure set metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! Cluster health metrics collector.
|
//! Cluster health metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! Cluster IAM metrics collector.
|
//! Cluster IAM metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! Cluster usage metrics collector.
|
//! Cluster usage metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
//! This module provides metrics for monitoring the health and performance
|
//! This module provides metrics for monitoring the health and performance
|
||||||
//! of the dial9 telemetry system itself.
|
//! of the dial9 telemetry system itself.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::MetricType;
|
use crate::MetricType;
|
||||||
use crate::metrics::report::PrometheusMetric;
|
use crate::metrics::report::PrometheusMetric;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! ILM (Information Lifecycle Management) metrics collector.
|
//! ILM (Information Lifecycle Management) metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! Notification metrics collector.
|
//! Notification metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::metrics::report::PrometheusMetric;
|
use crate::metrics::report::PrometheusMetric;
|
||||||
use crate::metrics::schema::notification_target::{
|
use crate::metrics::schema::notification_target::{
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! Replication metrics collector.
|
//! Replication metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! API request metrics collector.
|
//! API request metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! Scanner metrics collector.
|
//! Scanner metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! System CPU metrics collector.
|
//! System CPU metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! System drive metrics collector.
|
//! System drive metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! System GPU metrics collector.
|
//! System GPU metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! System memory metrics collector.
|
//! System memory metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! System network metrics collector.
|
//! System network metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! System process metrics collector.
|
//! System process metrics collector.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, new_histogram_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, new_histogram_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_counter_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_counter_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, MetricSubsystem, new_gauge_md};
|
use crate::{MetricDescriptor, MetricName, MetricSubsystem, new_gauge_md};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, MetricSubsystem, new_gauge_md};
|
use crate::{MetricDescriptor, MetricName, MetricSubsystem, new_gauge_md};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, MetricSubsystem, new_counter_md, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, MetricSubsystem, new_counter_md, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
||||||
/// CPU system-related metric descriptors
|
/// CPU system-related metric descriptors
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! GPU-related metric descriptors.
|
//! GPU-related metric descriptors.
|
||||||
//!
|
//!
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
|
||||||
use std::sync::LazyLock;
|
use std::sync::LazyLock;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
|
#![allow(dead_code)]
|
||||||
|
|
||||||
//! Statistics collection functions for metrics.
|
//! Statistics collection functions for metrics.
|
||||||
//!
|
//!
|
||||||
|
|||||||
Reference in New Issue
Block a user