Skip to content

Added otlp for JS consumers and publishing.#48

Merged
s3rius merged 2 commits intomasterfrom
feature/otlp-js-consumers
Apr 9, 2026
Merged

Added otlp for JS consumers and publishing.#48
s3rius merged 2 commits intomasterfrom
feature/otlp-js-consumers

Conversation

@s3rius
Copy link
Copy Markdown
Member

@s3rius s3rius commented Apr 9, 2026

This PR adds more instrumentation for this library.

However, in order to instrument the lib, I had to update the API.

Now both pull and push consumers have similar semantics. Although push consumer has methods for direct fetching messages.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

❌ Patch coverage is 89.39394% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.96%. Comparing base (9928961) to head (b1bddb7).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/js/consumers/pull/consumer.rs 86.66% 6 Missing ⚠️
src/js/consumers/push/consumer.rs 95.23% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
+ Coverage   86.61%   86.96%   +0.35%     
==========================================
  Files          32       32              
  Lines        3040     3100      +60     
==========================================
+ Hits         2633     2696      +63     
+ Misses        407      404       -3     

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

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: s3rius <18153319+s3rius@users.noreply.github.com>
@s3rius s3rius merged commit 74ecf0f into master Apr 9, 2026
15 of 16 checks passed
@s3rius s3rius deleted the feature/otlp-js-consumers branch April 9, 2026 18:32
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.

2 participants