Skip to content

Add environment variable option for language selection#1331

Merged
grcevski merged 1 commit into
open-telemetry:mainfrom
grcevski:add_language_selector_env
Feb 18, 2026
Merged

Add environment variable option for language selection#1331
grcevski merged 1 commit into
open-telemetry:mainfrom
grcevski:add_language_selector_env

Conversation

@grcevski
Copy link
Copy Markdown
Contributor

This is a follow-up PR to #1302. Based on the review comments, I've added a new environment variable option we can use to enable OBI to instrument all services built with specific programming language.

For example:

sudo OTEL_EBPF_AUTO_TARGET_LANGUAGE=nodejs ... bin/obi

Will instrument all applications on the host implemented in Node.js.

@grcevski grcevski requested a review from a team as a code owner February 18, 2026 19:44
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.58%. Comparing base (754e788) to head (b7f8bf1).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1331      +/-   ##
==========================================
- Coverage   43.58%   43.58%   -0.01%     
==========================================
  Files         305      305              
  Lines       32877    32879       +2     
==========================================
  Hits        14329    14329              
- Misses      17630    17631       +1     
- Partials      918      919       +1     
Flag Coverage Δ
integration-test 21.48% <20.00%> (-0.02%) ⬇️
integration-test-arm 0.00% <0.00%> (ø)
integration-test-vm-x86_64-5.15.152 0.00% <0.00%> (ø)
integration-test-vm-x86_64-6.10.6 0.00% <0.00%> (ø)
k8s-integration-test 2.36% <0.00%> (-0.01%) ⬇️
oats-test 0.00% <0.00%> (ø)
unittests 44.37% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@grcevski grcevski merged commit e24013f into open-telemetry:main Feb 18, 2026
80 of 83 checks passed
@grcevski grcevski deleted the add_language_selector_env branch February 18, 2026 20:56
@MrAlias MrAlias added this to the v0.6.0 milestone Feb 23, 2026
@MrAlias MrAlias mentioned this pull request Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants