Skip to content

Rename otlp_exporter to otlp_grpc_exporter#2208

Merged
albertlockett merged 4 commits intoopen-telemetry:mainfrom
gyanranjanpanda:fix/rename-otlp-grpc-exporter
Mar 9, 2026
Merged

Rename otlp_exporter to otlp_grpc_exporter#2208
albertlockett merged 4 commits intoopen-telemetry:mainfrom
gyanranjanpanda:fix/rename-otlp-grpc-exporter

Conversation

@gyanranjanpanda
Copy link
Copy Markdown
Contributor

Summary

Renames the gRPC-based OTLP exporter module and URN to distinguish it from the newly-added HTTP-based exporter (#2070).

URN change: urn:otel:otlp:exporterurn:otel:otlp_grpc:exporter
Module rename: otlp_exporter.rsotlp_grpc_exporter.rs

Fixes #2107

Changes

Rust Source (3 files)

  • Renamed otlp_exporter.rsotlp_grpc_exporter.rs and updated URN constant value
  • Updated lib.rs module declaration: pub mod otlp_exporterpub mod otlp_grpc_exporter
  • Updated urn.rs test case URN reference

Config Files (8 files)

All in rust/otap-dataflow/configs/ — replaced plugin_urn from urn:otel:otlp:exporterurn:otel:otlp_grpc:exporter

Perf Test Templates (9 files)

All in tools/pipeline_perf_test/test_suites/integration/templates/configs/ — same URN replacement

Documentation (3 files)

  • crates/quiver/ARCHITECTURE.md — updated node names + URN in config examples
  • docs/self_tracing_architecture.md — updated node names in config example
  • docs/telemetry/metrics-guide.md — updated metric set name

What Was NOT Changed (by design)

  • Test function names (e.g. otlp_exporter_connects_with_mtls) — describe behavior, not module path
  • Test file names (otlp_exporter_tls.rs, otlp_exporter_proxy_tls.rs) — no module imports depend on them
  • Telemetry crate (otlp_exporter_provider, configure_grpc_otlp_exporter) — separate OTel SDK, not the pipeline exporter
  • Constant/struct names (OTLP_EXPORTER_URN, OTLPExporter) — kept per issue scope

Verification

  • cargo build --workspace — passed
  • cargo test --workspace — all tests passed, zero failures
  • grep -r "urn:otel:otlp:exporter" — zero matches remain

@gyanranjanpanda gyanranjanpanda requested a review from a team as a code owner March 5, 2026 18:02
@github-actions github-actions Bot added the rust Pull requests that update Rust code label Mar 5, 2026
@gyanranjanpanda gyanranjanpanda force-pushed the fix/rename-otlp-grpc-exporter branch from 3c6544e to 8b8125d Compare March 5, 2026 18:23
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.44%. Comparing base (fc73f05) to head (07ad6c4).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2208   +/-   ##
=======================================
  Coverage   87.44%   87.44%           
=======================================
  Files         558      558           
  Lines      185764   185764           
=======================================
+ Hits       162447   162450    +3     
+ Misses      22791    22788    -3     
  Partials      526      526           
Components Coverage Δ
otap-dataflow 89.65% <100.00%> (+<0.01%) ⬆️
query_abstraction 80.61% <ø> (ø)
query_engine 90.30% <ø> (ø)
syslog_cef_receivers ∅ <ø> (∅)
otel-arrow-go 52.44% <ø> (ø)
quiver 91.83% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Rename otlp_exporter.rs -> otlp_grpc_exporter.rs
- Update URN: urn:otel:exporter:otlp -> urn:otel:exporter:otlp_grpc
- Update lib.rs module declaration
- Fix otlp_http_exporter imports referencing old module
- Update all YAML configs, perf test templates, validation configs
- Update documentation (ARCHITECTURE.md, self_tracing_architecture.md, metrics-guide.md, README.md)
- Update node_urn.rs and pipeline.rs test references
@gyanranjanpanda gyanranjanpanda force-pushed the fix/rename-otlp-grpc-exporter branch from 8b8125d to bad5226 Compare March 5, 2026 18:36
Copy link
Copy Markdown
Contributor

@drewrelmas drewrelmas left a comment

Choose a reason for hiding this comment

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

On the surface this looks good to me, will wait for @albertlockett to take a look as he requested the work.

@gyanranjanpanda
Copy link
Copy Markdown
Contributor Author

thanks @drewrelmas waiting for @albertlockett feedback

@albertlockett albertlockett enabled auto-merge March 9, 2026 13:17
@albertlockett albertlockett added this pull request to the merge queue Mar 9, 2026
Merged via the queue into open-telemetry:main with commit 7f7c972 Mar 9, 2026
67 checks passed
cijothomas pushed a commit to cijothomas/otel-arrow that referenced this pull request Mar 11, 2026
## Summary

Renames the gRPC-based OTLP exporter module and URN to distinguish it
from the newly-added HTTP-based exporter (open-telemetry#2070).

**URN change:** `urn:otel:otlp:exporter` → `urn:otel:otlp_grpc:exporter`
**Module rename:** `otlp_exporter.rs` → `otlp_grpc_exporter.rs`

Fixes open-telemetry#2107

## Changes

### Rust Source (3 files)
- **Renamed** `otlp_exporter.rs` → `otlp_grpc_exporter.rs` and updated
URN constant value
- **Updated** `lib.rs` module declaration: `pub mod otlp_exporter` →
`pub mod otlp_grpc_exporter`
- **Updated** `urn.rs` test case URN reference

### Config Files (8 files)
All in `rust/otap-dataflow/configs/` — replaced `plugin_urn` from
`urn:otel:otlp:exporter` → `urn:otel:otlp_grpc:exporter`

### Perf Test Templates (9 files)
All in
`tools/pipeline_perf_test/test_suites/integration/templates/configs/` —
same URN replacement

### Documentation (3 files)
- `crates/quiver/ARCHITECTURE.md` — updated node names + URN in config
examples
- `docs/self_tracing_architecture.md` — updated node names in config
example
- `docs/telemetry/metrics-guide.md` — updated metric set name

## What Was NOT Changed (by design)
- **Test function names** (e.g. `otlp_exporter_connects_with_mtls`) —
describe behavior, not module path
- **Test file names** (`otlp_exporter_tls.rs`,
`otlp_exporter_proxy_tls.rs`) — no module imports depend on them
- **Telemetry crate** (`otlp_exporter_provider`,
`configure_grpc_otlp_exporter`) — separate OTel SDK, not the pipeline
exporter
- **Constant/struct names** (`OTLP_EXPORTER_URN`, `OTLPExporter`) — kept
per issue scope

## Verification
- ✅ `cargo build --workspace` — passed
- ✅ `cargo test --workspace` — all tests passed, zero failures
- ✅ `grep -r "urn:otel:otlp:exporter"` — zero matches remain

Co-authored-by: Drew Relmas <drewrelmas@gmail.com>
Co-authored-by: albertlockett <a.lockett@f5.com>
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.

Change otlp_exporter to otlp_grpc_exporter

3 participants