Skip to content
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

added support to enable opt-in for forwarding exit spans without an entry span #684

Merged
merged 16 commits into from
Mar 25, 2024

Conversation

Angith
Copy link
Contributor

@Angith Angith commented Mar 20, 2024

Changes

  • Introduce an environment variable INSTANA_ALLOW_EXIT_AS_ROOT. Based on the environment variable, either the exit spans will be sent to the agent or suppressed.
  • Add unit tests for the above changes.

@Angith Angith requested a review from a team as a code owner March 20, 2024 11:50
@Angith Angith self-assigned this Mar 20, 2024
@Angith Angith added enhancement tekton_ci Add this label to start running Tekton pipelines labels Mar 20, 2024
@Angith Angith changed the title added support to anable opt-in for forwarding exit spans without an entry span added support to enable opt-in for forwarding exit spans without an entry span Mar 20, 2024
@Angith Angith removed the tekton_ci Add this label to start running Tekton pipelines label Mar 20, 2024
Copy link
Contributor

@sanojsubran sanojsubran left a comment

Choose a reason for hiding this comment

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

Please check the review comments

span.go Outdated Show resolved Hide resolved
util.go Outdated Show resolved Hide resolved
span_test.go Outdated Show resolved Hide resolved
span_test.go Outdated Show resolved Hide resolved
util_internal_test.go Outdated Show resolved Hide resolved
@Angith Angith added the tekton_ci Add this label to start running Tekton pipelines label Mar 22, 2024
@Angith Angith force-pushed the opt-in-exit-spans-core-changes branch from a5c631d to 343c1bb Compare March 25, 2024 05:05
instrumentation_http_test.go Outdated Show resolved Hide resolved
instrumentation_http_test.go Outdated Show resolved Hide resolved
Angith and others added 3 commits March 25, 2024 16:26
Co-authored-by: sanoj subran <sanoj.subran@ibm.com>
Co-authored-by: sanoj subran <sanoj.subran@ibm.com>
@Angith Angith requested a review from sanojsubran March 25, 2024 11:34
Copy link
Contributor

@sanojsubran sanojsubran left a comment

Choose a reason for hiding this comment

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

Looks good to me. Good work @Angith !

@Angith Angith merged commit 4b7a126 into main Mar 25, 2024
19 checks passed
@Angith Angith deleted the opt-in-exit-spans-core-changes branch March 25, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement tekton_ci Add this label to start running Tekton pipelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants