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

[APM] Mock synthetic source for metric documents #139643

Merged
merged 3 commits into from
Aug 31, 2022

Conversation

dgieselaar
Copy link
Member

Mocks synthetic source for metric documents in the APM event client to ensure compatibility when synthetic source is enabled.

@dgieselaar dgieselaar requested a review from a team as a code owner August 29, 2022 15:22
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Aug 29, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@dgieselaar dgieselaar added the release_note:skip Skip the PR/issue when compiling release notes label Aug 30, 2022
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

Copy link
Contributor

@MiriamAparicio MiriamAparicio left a comment

Choose a reason for hiding this comment

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

LGTM 🌟

@dgieselaar dgieselaar linked an issue Aug 30, 2022 that may be closed by this pull request
prefix: string = ''
) {
for (const key in source) {
if (!Object.hasOwn(source, key)) {
Copy link
Contributor

@gbamparop gbamparop Aug 30, 2022

Choose a reason for hiding this comment

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

Nice, prob a good idea to replace server-side hasOwnProperty calls as well at some point

@dgieselaar dgieselaar merged commit 1def7cb into elastic:main Aug 31, 2022
@dgieselaar dgieselaar deleted the mock-synthetic-source branch August 31, 2022 08:53
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Aug 31, 2022
Mpdreamz pushed a commit to Mpdreamz/kibana that referenced this pull request Sep 6, 2022
sorenlouv added a commit to sorenlouv/kibana that referenced this pull request Oct 11, 2022
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 11, 2022
kibanamachine added a commit that referenced this pull request Oct 11, 2022
…143027) (#143033)

This reverts commit 1def7cb.

(cherry picked from commit 8c38609)

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:APM All issues that need APM UI Team support v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[APM] Make usage of _source compatible with synthetic source
6 participants