Visitar URL original
Add more tracing spans around stack references by Frassle · Pull Request #23787 · pulumi/pulumi · GitHub
Skip to content

Add more tracing spans around stack references - #23787

Merged
Frassle merged 2 commits into
masterfrom
fraser/spans
Jul 7, 2026
Merged

Frassle merged 2 commits into
masterfrom
fraser/spans

Conversation

@Frassle

@Frassle Frassle commented Jul 4, 2026

Copy link
Copy Markdown
Member

User reported perf issues around stack references. Adding a load of trace spans so we can get them to run a trace run and see what's actually slow.

@Frassle
Frassle marked this pull request as ready for review July 4, 2026 15:34
@Frassle
Frassle requested a review from a team as a code owner July 4, 2026 15:34
Comment thread pkg/backend/backend.go
name string,
onDecryptError func(err error) error,
) (property.Map, error) {
tracer := otel.Tracer("pulumi-cli")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We can make the tracer a global var, this cleans up the code a bit.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ehh nothing else uses a global, I'm gonna stick with consistency for this. If we want to pull all these constructors to a global in another PR we can do that.

@Frassle
Frassle enabled auto-merge July 7, 2026 07:17
@Frassle
Frassle added this pull request to the merge queue Jul 7, 2026
Merged via the queue into master with commit 5e1b1d0 Jul 7, 2026
123 checks passed
@Frassle
Frassle deleted the fraser/spans branch July 7, 2026 09:04
@pulumi-bot

Copy link
Copy Markdown
Contributor

This PR has been shipped in release v3.251.0.

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.

3 participants