Skip to content

Commit

Permalink
Merge pull request #4372 from systeminit/zack/instrument-correct-tran…
Browse files Browse the repository at this point in the history
…sforms

chore(dal): instrument correct_transforms
  • Loading branch information
zacharyhamm authored Aug 20, 2024
2 parents efea02a + 358a129 commit 982dd5a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/dal/src/workspace_snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,11 @@ impl WorkspaceSnapshot {

/// Given the state of the graph in `self`, and a set of updates, transform
/// those updates to ensure an incorrect graph is not created
#[instrument(
name = "workspace_snapshot.correct_transforms",
level = "info",
skip_all
)]
pub async fn correct_transforms(
&self,
updates: Vec<Update>,
Expand Down Expand Up @@ -1312,7 +1317,7 @@ impl WorkspaceSnapshot {
/// another [`snapshot`](WorkspaceSnapshot) as the "onto" graph.
#[instrument(
name = "workspace_snapshot.perform_updates",
level = "debug",
level = "info",
skip_all,
fields()
)]
Expand Down

0 comments on commit 982dd5a

Please sign in to comment.