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

Enhance the engine's tracing support a bit. #1328

Merged
merged 3 commits into from
May 5, 2018
Merged

Conversation

pgavlin
Copy link
Member

@pgavlin pgavlin commented May 4, 2018

  • Allow callers to provide a parent span for the engine's operations
  • Tag each plan context with the name of its associated operation

- Allow callers to provide a parent span for the engine's operations
- Tag each plan context with the name of its associated operation
@pgavlin pgavlin requested a review from lukehoban May 4, 2018 22:56
Copy link
Contributor

@lukehoban lukehoban left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -15,7 +15,7 @@ func Refresh(u UpdateInfo, ctx *Context, opts UpdateOptions, dryRun bool) (Resou

defer func() { ctx.Events <- cancelEvent() }()

info, err := newPlanContext(u)
info, err := newPlanContext(u, "pulumi-refresh", ctx.ParentSpan)
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason this is pulumi- but the others are not?

Copy link
Member Author

Choose a reason for hiding this comment

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

I thought I missed one of these. Good catch.

@pgavlin pgavlin merged commit 2d6579a into master May 5, 2018
@pgavlin pgavlin deleted the TracingEnhancements branch May 5, 2018 00:01
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.

2 participants