Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add oplog metrics to stream-hub #32366

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

sampaiodiego
Copy link
Member

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

Copy link

changeset-bot bot commented May 2, 2024

🦋 Changeset detected

Latest commit: 2d896b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 32 packages
Name Type
@rocket.chat/stream-hub-service Patch
@rocket.chat/meteor Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/gazzodown Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/api-client Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/ddp-client Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/models Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/instance-status Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

dionisio-bot bot commented May 2, 2024

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label
  • This PR is missing the required milestone or project

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

Copy link

codecov bot commented May 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.57%. Comparing base (49f8547) to head (2d896b1).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #32366      +/-   ##
===========================================
+ Coverage    55.53%   55.57%   +0.04%     
===========================================
  Files         2401     2401              
  Lines        52855    52856       +1     
  Branches     10854    10854              
===========================================
+ Hits         29353    29376      +23     
+ Misses       20898    20878      -20     
+ Partials      2604     2602       -2     
Flag Coverage Δ
e2e 54.86% <ø> (+0.07%) ⬆️
unit 73.49% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@sampaiodiego sampaiodiego force-pushed the implement-oplog-metrics-on-streamhub branch 2 times, most recently from 4adc673 to b50443b Compare May 7, 2024 13:37
return super.on('doc', callback);
}

onCollection<T>(collection: string, callback: (event: RealTimeData<T>) => void): this {
Copy link
Member Author

Choose a reason for hiding this comment

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

renamed on<T> to onCollection<T> so we don't overwrite EventEmitter.on but still got typing

@sampaiodiego sampaiodiego marked this pull request as ready for review May 7, 2024 13:43
@sampaiodiego sampaiodiego requested a review from a team as a code owner May 7, 2024 13:43
@sampaiodiego sampaiodiego force-pushed the implement-oplog-metrics-on-streamhub branch from bb1e485 to 2d896b1 Compare May 7, 2024 18:52
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.

None yet

2 participants