File tree Expand file tree Collapse file tree
lustre-collector/src/llite Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,10 +13,7 @@ pub(crate) const LLITE: &str = "llite";
1313pub ( crate ) const STATS : & str = "stats" ;
1414
1515pub ( crate ) fn params ( ) -> Vec < String > {
16- [ STATS ]
17- . into_iter ( )
18- . map ( |x| format ! ( "{LLITE}.*.{x}" ) )
19- . collect ( )
16+ vec ! [ format!( "{LLITE}.*.{STATS}" ) ]
2017}
2118
2219fn target_name < I > ( ) -> impl Parser < I , Output = Target >
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a MIT-style
33// license that can be found in the LICENSE file.
44
5+ //! `llite` metrics
6+ //!
7+ //! This file defines metrics related to `llite`.
8+ //!
9+ //! The associated lustre parameter path is `llite.*.stats`.
10+ //!
11+ //! Registered metrics:
12+ //!
13+ //! | Metric | Content | Content |
14+ //! |-|-|-|
15+ //! | `lustre_client_stats` | Lustre client interface stats | `Counter<u64>` |
16+ //!
17+
518use crate :: Family ;
619use lustre_collector:: LliteStat ;
720use prometheus_client:: { metrics:: counter:: Counter , registry:: Registry } ;
You can’t perform that action at this time.
0 commit comments