Skip to content

Add endpoint override config options for OTLP HTTP exporter#2089

Merged
albertlockett merged 3 commits intoopen-telemetry:mainfrom
albertlockett:albert/1145-endpoint-overrides
Feb 22, 2026
Merged

Add endpoint override config options for OTLP HTTP exporter#2089
albertlockett merged 3 commits intoopen-telemetry:mainfrom
albertlockett:albert/1145-endpoint-overrides

Conversation

@albertlockett
Copy link
Copy Markdown
Member

Change Summary

small followup from #2070.

Adds new config options for each signal type to override the endpoint to which the OTLP HTTP exporter sends data.

This is to aid with parity between this implementation and the analogous Go collector component, which also has these options: https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/otlphttpexporter#otlp-http-exporter

What issue does this PR close?

How are these changes tested?

A new unit test is added.

Are there any user-facing changes?

Users can configure the component with these new options.

@albertlockett albertlockett requested a review from a team as a code owner February 21, 2026 22:09
@github-actions github-actions Bot added the rust Pull requests that update Rust code label Feb 21, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 21, 2026

Codecov Report

❌ Patch coverage is 99.37888% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.04%. Comparing base (d747115) to head (77b800d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2089   +/-   ##
=======================================
  Coverage   87.04%   87.04%           
=======================================
  Files         542      542           
  Lines      174246   174344   +98     
=======================================
+ Hits       151666   151762   +96     
- Misses      22046    22048    +2     
  Partials      534      534           
Components Coverage Δ
otap-dataflow 89.19% <99.37%> (+<0.01%) ⬆️
query_abstraction 80.61% <ø> (ø)
query_engine 90.33% <ø> (ø)
syslog_cef_receivers ∅ <ø> (∅)
otel-arrow-go 53.50% <ø> (ø)
quiver 91.73% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

/// endpoint setting is ignored for traces.
///
/// Example: https://example.com:4318/v1/traces
pub traces_endpoint: Option<String>,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good to also add validation for these signal-override endpoints in from_config, similar to how we do for 'endpoint`.

Copy link
Copy Markdown
Member Author

@albertlockett albertlockett Feb 22, 2026

Choose a reason for hiding this comment

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

Thanks @lalitb , added in 77b800d

@albertlockett albertlockett force-pushed the albert/1145-endpoint-overrides branch from 6b0bb89 to 77b800d Compare February 22, 2026 19:27
@albertlockett albertlockett added this pull request to the merge queue Feb 22, 2026
Merged via the queue into open-telemetry:main with commit a4a96cf Feb 22, 2026
62 checks passed
@albertlockett albertlockett deleted the albert/1145-endpoint-overrides branch February 22, 2026 20:12
cijothomas pushed a commit to cijothomas/otel-arrow that referenced this pull request Feb 23, 2026
…emetry#2089)

# Change Summary

<!--
Replace with a brief summary of the change in this PR
-->

small followup from
open-telemetry#2070.

Adds new config options for each signal type to override the endpoint to
which the OTLP HTTP exporter sends data.

This is to aid with parity between this implementation and the analogous
Go collector component, which also has these options:
https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/otlphttpexporter#otlp-http-exporter

## What issue does this PR close?

<!--
We highly recommend correlation of every PR to an issue
-->

* Part of open-telemetry#1145 

## How are these changes tested?

A new unit test is added.

## Are there any user-facing changes?

 <!-- If yes, provide further info below -->
 
 Users can configure the component with these new options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Pull requests that update Rust code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants