Skip to content

chore(examples): drop examples/{otlp-exporter-node,grpc-js} - #7096

Merged
pichlermarc merged 3 commits into
open-telemetry:mainfrom
trentm:trentm-drop-obsolete-examples
Sep 18, 2026
Merged

pichlermarc merged 3 commits into
open-telemetry:mainfrom
trentm:trentm-drop-obsolete-examples

Conversation

@trentm

@trentm trentm commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

This drops two examples.

examples/otlp-exporter-node

This dates back to 2020 (#958)

Adding example for easier testing for collector-exporter with opentelemetry-collector ...

This example was initially added for testing of OTLP exporter dev.
While it has been updated to SDK 2.x,
I don't think there is value in maintaining it.
FWIW, it is currently using a collector image from 2022.
My guess is this doesn't see any use.

examples/grpc-js

This was added in 2020 in #1201
Currently it is still using SDK v1, so it isn't getting maintained.
Without maintenance it, IMO, falls under "wrong documentation is worse than no documentation"
The example isn't bad, but I don't think it is particular interesting beyond the HTTP-related examples.
It includes generated ..._pb.js files without the .proto file or details on how to regenerate them.

@trentm trentm self-assigned this Sep 17, 2026
@trentm
trentm requested a review from a team as a code owner September 17, 2026 20:40
@codecov

codecov Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7096   +/-   ##
=======================================
  Coverage   94.61%   94.61%           
=======================================
  Files         405      405           
  Lines       14272    14272           
  Branches     3284     3284           
=======================================
  Hits        13504    13504           
  Misses        768      768           
🚀 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.

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-09-18 08:06 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@pichlermarc
pichlermarc added this pull request to the merge queue Sep 18, 2026
Merged via the queue into open-telemetry:main with commit 318d6e6 Sep 18, 2026
25 checks passed
@trentm
trentm deleted the trentm-drop-obsolete-examples branch September 18, 2026 15:55
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