grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
9.69k stars 578 forks source link

Example and docs for .NET span profiles #3224

Closed aleks-p closed 3 months ago

aleks-p commented 3 months ago
aleks-p commented 3 months ago

@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.

github-actions[bot] commented 3 months ago

This PR must be merged before a backport PR will be created.

github-actions[bot] commented 3 months ago

The backport to release/v1.5 failed:

Validation Failed: "Could not resolve to a node with the global id of 'T_kwDOAG3Mbc4AczmP'."

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-3224-to-release/v1.5 origin/release/v1.5
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x 635b42c312efdf8abbb5cf0ccce5681a0b2c380b

When the conflicts are resolved, stage and commit the changes:

git add . && git cherry-pick --continue

If you have the GitHub CLI installed:

# Push the branch to GitHub:
git push --set-upstream origin backport-3224-to-release/v1.5
# Create the PR body template
PR_BODY=$(gh pr view 3224 --json body --template 'Backport 635b42c312efdf8abbb5cf0ccce5681a0b2c380b from #3224{{ "\n\n---\n\n" }}{{ index . "body" }}')
# Create the PR on GitHub
echo "${PR_BODY}" | gh pr create --title "[release/v1.5] Example and docs for .NET span profiles" --body-file - --label "type/docs" --label "backport" --base release/v1.5 --milestone release/v1.5 --web

Or, if you don't have the GitHub CLI installed (we recommend you install it!):

# Push the branch to GitHub:
git push --set-upstream origin backport-3224-to-release/v1.5

# Create a pull request where the `base` branch is `release/v1.5` and the `compare`/`head` branch is `backport-3224-to-release/v1.5`.

# Remove the local backport branch
git switch main
git branch -D backport-3224-to-release/v1.5