chore(instrumentation): add helpers for Git instrumentation - #38582
Merged
Merged
Conversation
secustor
reviewed
Nov 26, 2025
jamietanna
force-pushed
the
chore/git-instrument
branch
2 times, most recently
from
November 27, 2025 14:36
1dee2ce to
3a16088
Compare
jamietanna
commented
Nov 27, 2025
jamietanna
commented
Nov 27, 2025
jamietanna
commented
Nov 27, 2025
jamietanna
force-pushed
the
chore/span-split
branch
from
November 28, 2025 12:01
be117ff to
bf05f44
Compare
jamietanna
force-pushed
the
chore/git-instrument
branch
from
November 28, 2025 12:06
fdb26a8 to
d10c7f1
Compare
jamietanna
force-pushed
the
chore/span-split
branch
3 times, most recently
from
November 28, 2025 12:24
a5104fe to
29c168d
Compare
jamietanna
force-pushed
the
chore/git-instrument
branch
from
November 28, 2025 12:27
d10c7f1 to
d879ad8
Compare
jamietanna
commented
Nov 28, 2025
jamietanna
force-pushed
the
chore/git-instrument
branch
3 times, most recently
from
November 28, 2025 14:27
521521c to
893821b
Compare
jamietanna
commented
Nov 28, 2025
jamietanna
force-pushed
the
chore/git-instrument
branch
2 times, most recently
from
November 28, 2025 16:09
ec20ae9 to
4d6800c
Compare
As part of being able to fully instrument our Git operations - using SimpleGit - we can introduce some Git-specific instrumentation helpers. These helpers will be used as part of a future change, where we will instrument methods of SimpleGit that we're using. This provides a set of types which will be used as OpenTelemetry Attributes to categorise command types. A number of subcommands that aren't currently deemed to be too important are bucketed into an `other` category.
jamietanna
force-pushed
the
chore/git-instrument
branch
from
November 28, 2025 17:17
4d6800c to
6cb5559
Compare
jamietanna
marked this pull request as ready for review
November 28, 2025 17:17
viceice
approved these changes
Dec 1, 2025
Contributor
|
🎉 This PR is included in version 42.27.5 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
As part of being able to fully instrument our Git operations - using
SimpleGit - we can introduce some Git-specific instrumentation helpers.
These helpers will be used as part of a future change, where we will
instrument methods of SimpleGit that we're using.
This provides a set of types which will be used as OpenTelemetry
Attributes to categorise command types.
A number of subcommands that aren't currently deemed to be too important
are bucketed into an
othercategory.Note that it's worth reviewing this with the integration (#39591) in mind)
Context
Please select one of the below:
AI assistance disclosure
Did you use AI tools to create any part of this pull request?
Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via:
The public repository: