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

Make sure getOpsMetrics$ only replays lastest value #77673

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

joshdover
Copy link
Contributor

Summary

We switched to using a ReplaySubject for the getOpsMetrics$ API in #76730 but did not specify the buffer parameter causing all values to be replayed each time this API was called. This adds a buffer of 1 so that only the last value is replayed.

Checklist

Delete any items that are not applicable to this PR.

@joshdover joshdover added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 labels Sep 16, 2020
@joshdover joshdover requested a review from a team as a code owner September 16, 2020 20:21
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants