Skip to content

fix: Register basicauth extension in component factory#7668

Merged
yurishkuro merged 1 commit into
jaegertracing:mainfrom
xenonnn4w:ext
Nov 25, 2025
Merged

fix: Register basicauth extension in component factory#7668
yurishkuro merged 1 commit into
jaegertracing:mainfrom
xenonnn4w:ext

Conversation

@xenonnn4w
Copy link
Copy Markdown
Contributor

@xenonnn4w xenonnn4w commented Nov 24, 2025

Which problem is this PR solving?

Problem

The basicauth extension from opentelemetry-collector-contrib was not registered in Jaeger's component factory, causing
"unknown type: basicauth" errors when users tried to configure it for Prometheus authentication with TLS + basic auth.

Description of the changes

  • Registered basicauth extension from opentelemetry-collector-contrib in the component factory
  • Added import for basicauthextension package in cmd/jaeger/internal/components.go
  • Added basicauthextension.NewFactory() to the extensions list to make it available for authentication configurations

How was this change tested?

  • Built the project successfully with the new extension registered
  • Created a test configuration with basicauth/prometheus_client extension
  • Verified Jaeger starts without "unknown type: basicauth" error
  • Confirmed the extension loads and starts successfully in the logs

Checklist

@xenonnn4w xenonnn4w requested a review from a team as a code owner November 24, 2025 19:51
@dosubot dosubot Bot added the area/otel label Nov 24, 2025
Signed-off-by: Snowiee <xenonoxidee@gmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.56%. Comparing base (b7f13fa) to head (ce57c9f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7668      +/-   ##
==========================================
+ Coverage   96.53%   96.56%   +0.03%     
==========================================
  Files         384      384              
  Lines       19501    19502       +1     
==========================================
+ Hits        18825    18832       +7     
+ Misses        490      486       -4     
+ Partials      186      184       -2     
Flag Coverage Δ
badger_v1 8.82% <ø> (ø)
badger_v2 1.72% <ø> (ø)
cassandra-4.x-v1-manual 12.54% <ø> (ø)
cassandra-4.x-v2-auto 1.71% <ø> (ø)
cassandra-4.x-v2-manual 1.71% <ø> (ø)
cassandra-5.x-v1-manual 12.54% <ø> (ø)
cassandra-5.x-v2-auto 1.71% <ø> (ø)
cassandra-5.x-v2-manual 1.71% <ø> (ø)
clickhouse 1.65% <ø> (ø)
elasticsearch-6.x-v1 16.74% <ø> (ø)
elasticsearch-7.x-v1 16.77% <ø> (ø)
elasticsearch-8.x-v1 16.92% <ø> (ø)
elasticsearch-8.x-v2 1.72% <ø> (ø)
elasticsearch-9.x-v2 1.72% <ø> (ø)
grpc_v1 10.75% <ø> (ø)
grpc_v2 1.72% <ø> (ø)
kafka-3.x-v1 10.25% <ø> (ø)
kafka-3.x-v2 1.72% <ø> (ø)
memory_v2 1.72% <ø> (ø)
opensearch-1.x-v1 16.81% <ø> (ø)
opensearch-2.x-v1 16.81% <ø> (ø)
opensearch-2.x-v2 1.72% <ø> (ø)
opensearch-3.x-v2 1.72% <ø> (ø)
query 1.72% <ø> (ø)
tailsampling-processor 0.49% <ø> (ø)
unittests 95.47% <100.00%> (+0.03%) ⬆️

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.

@yurishkuro yurishkuro added this pull request to the merge queue Nov 25, 2025
Merged via the queue into jaegertracing:main with commit fbf3ccc Nov 25, 2025
64 of 65 checks passed
github-merge-queue Bot pushed a commit that referenced this pull request Dec 3, 2025
Prepare release v1.76.0 / v2.13.0

## Changes
- Update CHANGELOG.md with v1.76.0 / v2.13.0 changes
- Update jaeger-ui submodule to v1.76.0
- Rotate release managers (move @joe-elliott to bottom)

## Backend Changes
- Fix: register basicauth extension in component factory (#7668)
- CI improvements

## UI Changes
See full list in CHANGELOG.md, including:
- Dark theme selector
- Fuzzy search for searchable select
- Various bug fixes and UI improvements

Signed-off-by: Joe Elliott <number101010@gmail.com>
SoumyaRaikwar pushed a commit to SoumyaRaikwar/jaeger that referenced this pull request Dec 18, 2025
…#7668)

## Which problem is this PR solving?
* jaegertracing#7656

 ## Problem
The basicauth extension from opentelemetry-collector-contrib was not
registered in Jaeger's component factory, causing
"unknown type: basicauth" errors when users tried to configure it for
Prometheus authentication with TLS + basic auth.

## Description of the changes
- Registered `basicauth` extension from opentelemetry-collector-contrib
in the component factory
- Added import for `basicauthextension` package in
`cmd/jaeger/internal/components.go`
- Added `basicauthextension.NewFactory()` to the extensions list to make
it available for authentication configurations

  ## How was this change tested?
  - Built the project successfully with the new extension registered
- Created a test configuration with `basicauth/prometheus_client`
extension
  - Verified Jaeger starts without "unknown type: basicauth" error
  - Confirmed the extension loads and starts successfully in the logs

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [ ] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `npm run lint` and `npm run test`

Signed-off-by: Snowiee <xenonoxidee@gmail.com>
Signed-off-by: SoumyaRaikwar <somuraik@gmail.com>
SoumyaRaikwar pushed a commit to SoumyaRaikwar/jaeger that referenced this pull request Dec 18, 2025
Prepare release v1.76.0 / v2.13.0

## Changes
- Update CHANGELOG.md with v1.76.0 / v2.13.0 changes
- Update jaeger-ui submodule to v1.76.0
- Rotate release managers (move @joe-elliott to bottom)

## Backend Changes
- Fix: register basicauth extension in component factory (jaegertracing#7668)
- CI improvements

## UI Changes
See full list in CHANGELOG.md, including:
- Dark theme selector
- Fuzzy search for searchable select
- Various bug fixes and UI improvements

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: SoumyaRaikwar <somuraik@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants