-
Notifications
You must be signed in to change notification settings - Fork 621
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
Example and docs for .NET span profiles #3224
Conversation
.AddProcessor(new PyroscopeSpanProcessor.Builder() | ||
.WithRootSpanOnly(true) | ||
.Build()); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about removing the WithRootSpanOnly
option? It should be true
by default, and, honestly, I'm not very sure if we do want to make it configurable. We left this in other integrations to avoid breaking changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is true by default, I added it here so that it is more visible. I don't have a strong opinion about it, I will remove the configuration option for now and add it back in the future if needed.
@knylander-grafana could you take a look at the added doc here? Also, we probably need to update https://grafana.com/docs/grafana/latest/datasources/tempo/configure-tempo-data-source/#trace-to-profiles but it might make sense to remove the list of languages there and rely on the already linked page for this. |
docs/sources/configure-client/trace-span-profiles/dotnet-span-profiles.md
Show resolved
Hide resolved
docs/sources/configure-client/trace-span-profiles/dotnet-span-profiles.md
Outdated
Show resolved
Hide resolved
docs/sources/configure-client/trace-span-profiles/dotnet-span-profiles.md
Outdated
Show resolved
Hide resolved
docs/sources/configure-client/trace-span-profiles/dotnet-span-profiles.md
Outdated
Show resolved
Hide resolved
docs/sources/configure-client/trace-span-profiles/dotnet-span-profiles.md
Outdated
Show resolved
Hide resolved
docs/sources/configure-client/trace-span-profiles/dotnet-span-profiles.md
Outdated
Show resolved
Hide resolved
docs/sources/configure-client/trace-span-profiles/java-span-profiles.md
Outdated
Show resolved
Hide resolved
docs/sources/configure-client/trace-span-profiles/ruby-span-profiles.md
Outdated
Show resolved
Hide resolved
docs/sources/configure-client/trace-span-profiles/dotnet-span-profiles.md
Outdated
Show resolved
Hide resolved
docs/sources/configure-client/trace-span-profiles/dotnet-span-profiles.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great additions to the docs! Well done. Thank you for updating things.
docs/sources/configure-client/trace-span-profiles/ruby-span-profiles.md
Outdated
Show resolved
Hide resolved
docs/sources/configure-client/trace-span-profiles/java-span-profiles.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thank you for updating the docs.
This PR must be merged before a backport PR will be created. |
* Enable span profiles for the .NET ride share example app * Add docs for .NET span profiles * Add missing file * Bump Pyroscope.OpenTelemetry to 0.2.0 * Update docs to reflect library update * Apply suggestions from code review * Apply suggestions from code review * Unify span profiling doc introduction across languages --------- Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com> (cherry picked from commit 635b42c)
This comment was marked as outdated.
This comment was marked as outdated.
* Enable span profiles for the .NET ride share example app * Add docs for .NET span profiles * Add missing file * Bump Pyroscope.OpenTelemetry to 0.2.0 * Update docs to reflect library update * Apply suggestions from code review * Apply suggestions from code review * Unify span profiling doc introduction across languages --------- Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com> (cherry picked from commit 635b42c) Co-authored-by: Aleksandar Petrov <8142643+aleks-p@users.noreply.github.com>
examples/tracing/tempo
, to demonstrate span profiles in .NET