Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] Add context propagation + custom log attributes sample #334

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mjameswh
Copy link
Contributor

What was changed

  • Add a sample that demonstrates using interceptors to propagate contextual data from the client, to workflows, to child workflows, and to activities. That sample also demonstrates how to use interceptors to add custom log attributes to log messages emitted using workflow.log and activity.log.

Why?

</summary>

```
2023-09-05T18:19:39.646Z [worker] info: Creating worker {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this output, not pertinent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant