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] Include services with only metric documents #92378

Merged
merged 6 commits into from
Feb 27, 2021

Conversation

dgieselaar
Copy link
Member

Closes #92075.

Before:

image

After:

image

@dgieselaar dgieselaar requested a review from a team as a code owner February 23, 2021 11:11
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Feb 23, 2021
@elasticmachine
Copy link
Contributor

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

* 2.0.
*/

export function asMutableArray<T extends Readonly<any>>(
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a comment to describe what this helper does?

Copy link
Member Author

Choose a reason for hiding this comment

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

sure thing 👍

Comment on lines 50 to 53
getHealthStatuses(params).catch((err) => {
logger.error(err);
return [];
}),
Copy link
Member

Choose a reason for hiding this comment

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

nit: shouldn't the error handling happen in getHealthStatuses?

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

@dgieselaar dgieselaar merged commit 38bcde1 into elastic:master Feb 27, 2021
@dgieselaar dgieselaar deleted the include-metrics-only-services branch February 27, 2021 07:44
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 1, 2021
* master:
  [Logs UI] Round up the end timestamp in the log stream embeddable (elastic#92833)
  skip flaky suite (elastic#91939)
  skip flaky suite (elastic#89072)
  [APM] Include services with only metric documents (elastic#92378)
dgieselaar added a commit to dgieselaar/kibana that referenced this pull request Mar 2, 2021
* [APM] Include services with only metric documents

Closes elastic#92075.

* Explain as_mutable_array

* Use kuery instead of uiFilters for API tests
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added backport missing Added to PRs automatically when the are determined to be missing a backport. and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Mar 2, 2021
dgieselaar added a commit that referenced this pull request Mar 2, 2021
* [APM] Include services with only metric documents

Closes #92075.

* Explain as_mutable_array

* Use kuery instead of uiFilters for API tests
dgieselaar added a commit to dgieselaar/kibana that referenced this pull request Mar 2, 2021
* [APM] Include services with only metric documents

Closes elastic#92075.

* Explain as_mutable_array

* Use kuery instead of uiFilters for API tests
# Conflicts:
#	x-pack/plugins/apm/server/lib/services/get_services/get_services_items.ts
dgieselaar added a commit that referenced this pull request Mar 4, 2021
…3211)

* [APM] Include services with only metric documents (#92378)

* [APM] Include services with only metric documents

Closes #92075.

* Explain as_mutable_array

* Use kuery instead of uiFilters for API tests
# Conflicts:
#	x-pack/plugins/apm/server/lib/services/get_services/get_services_items.ts

* Use uiFilters in API tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@cauemarcondes
Copy link
Contributor

tests ok

@cauemarcondes cauemarcondes added the apm:test-plan-done Pull request that was successfully tested during the test plan label Apr 30, 2021
@cauemarcondes cauemarcondes mentioned this pull request May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:test-plan-7.13.0 apm:test-plan-done Pull request that was successfully tested during the test plan release_note:fix Team:APM All issues that need APM UI Team support v7.11.2 v7.12.0 v7.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show services reporting only metrics in the APM UI
5 participants