From d4e058a53258ebdb90381b4343914fa56e59ba97 Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Mon, 24 Feb 2025 22:43:04 -0800 Subject: [PATCH] improve WriteComposeContentsToHost instrument fields --- bin/periphery/src/api/compose.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/periphery/src/api/compose.rs b/bin/periphery/src/api/compose.rs index cf926107a..4b5f59f81 100644 --- a/bin/periphery/src/api/compose.rs +++ b/bin/periphery/src/api/compose.rs @@ -185,7 +185,15 @@ impl Resolve for GetComposeContentsOnHost { // impl Resolve for WriteComposeContentsToHost { - #[instrument(name = "WriteComposeContentsToHost")] + #[instrument( + name = "WriteComposeContentsToHost", + skip_all, + fields( + stack = &self.name, + run_directory = &self.run_directory, + file_path = &self.file_path, + ) + )] async fn resolve(self, _: &super::Args) -> serror::Result { let WriteComposeContentsToHost { name,