We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ce070 commit 8dc64d8Copy full SHA for 8dc64d8
statime-linux/src/metrics/format.rs
@@ -146,8 +146,17 @@ pub fn format_current_ds(
146
pub fn format_parent_ds(
147
w: &mut impl std::fmt::Write,
148
parent_ds: &ParentDS,
149
- labels: Vec<(&'static str, String)>,
+ mut labels: Vec<(&'static str, String)>,
150
) -> std::fmt::Result {
151
+ labels.push((
152
+ "parent_clock_identity",
153
+ parent_ds.parent_port_identity.clock_identity.to_string(),
154
+ ));
155
156
+ "parent_port_number",
157
+ parent_ds.parent_port_identity.port_number.to_string(),
158
159
+
160
format_metric(
161
w,
162
"grandmaster_clock_quality_class",
0 commit comments