Skip to content

feat(tracing): add spans for workspace operations - #10864

Closed
Vallabh2909 wants to merge 1 commit into
tektoncd:mainfrom
Vallabh2909:feat/tracing-workspace-spans
Closed

Vallabh2909 wants to merge 1 commit into
tektoncd:mainfrom
Vallabh2909:feat/tracing-workspace-spans

Conversation

@Vallabh2909

Copy link
Copy Markdown

Changes

Add OpenTelemetry spans to workspace Apply and ValidateBindings functions to improve distributed tracing coverage for workspace operations. Each span includes attributes for the number of workspace bindings and declarations to aid debugging.

Functions that do not currently accept a context.Context parameter (CreateVolumes, FindWorkspacesUsedByTask, ValidateOnlyOnePVCIsUsed, ReplaceWorkspaceBindingsVars) are not instrumented in this PR to keep the change small. They can be addressed in a follow-up.

Part of #9790

Submitter Checklist

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • pre-commit Passed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

Made with Cursor

Add OpenTelemetry spans to workspace Apply and ValidateBindings functions
to improve distributed tracing coverage for workspace operations. Each
span includes attributes for the number of workspace bindings and
declarations to aid debugging.

Part of tektoncd#9790

Co-authored-by: Cursor <cursoragent@cursor.com>
@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Oct 7, 2026
@tekton-robot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign wlynch after the PR has been reviewed.
You can assign the PR to them by writing /assign @wlynch in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 7, 2026
@Vallabh2909

Copy link
Copy Markdown
Author

/kind feature

@tekton-robot tekton-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 7, 2026
@Vallabh2909 Vallabh2909 closed this Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature Categorizes issue or PR as related to a new feature. release-note-none Denotes a PR that doesnt merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants