You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7269484
Browse filesBrowse the repository at this point in the historyBrowse files
feat(cloudflare)!: Use function span op for cron, email and workflow steps (#22703)
Use `function` instead of `faas.cron`, `faas.email`, and
`function.step.do`. Trigger and workflow phase belong in attributes
rather than a new op per trigger.
`faas.trigger` (`timer`/`email`) and the `faas.cron` attribute holding
the cron expression are unchanged. Workflow steps additionally set
`code.function.name` and `workflow.step.name`, since the step name was
previously only the span name.
Part of #22446
---------
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Copy file name to clipboardExpand all lines: dev-packages/cloudflare-integration-tests/suites/vite-autoinstrument/durableobject-workflow-manual-mixed/test.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,12 @@ function expectDurableObjectTransaction(transactionEvent: TransactionEvent): voi
28
28
]);
29
29
}
30
30
31
-
// A workflow step runs in its own invocation and reports a `function.step.do` /
31
+
// A workflow step runs in its own invocation and reports a `function` /
32
32
// `auto.faas.cloudflare.workflow` transaction named after the step — present
33
33
// only because the transform auto-wrapped the Workflow class.
Copy file name to clipboardExpand all lines: dev-packages/cloudflare-integration-tests/suites/vite-autoinstrument/durableobject-workflow-specifier/test.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,12 @@ function expectDurableObjectTransaction(transactionEvent: TransactionEvent): voi
28
28
]);
29
29
}
30
30
31
-
// A workflow step runs in its own invocation and reports a `function.step.do` /
31
+
// A workflow step runs in its own invocation and reports a `function` /
32
32
// `auto.faas.cloudflare.workflow` transaction named after the step — present
33
33
// only when the Workflow class was wrapped with `instrumentWorkflowWithSentry`.
0 commit comments