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] Service map simplifications #146536

Merged
merged 3 commits into from
Dec 6, 2022

Conversation

sorenlouv
Copy link
Member

@sorenlouv sorenlouv commented Nov 29, 2022

These changes should make it simpler to add the search bar to the service map.

}

async function getConnectionData({
config,
apmEventClient,
serviceNames,
serviceName,
Copy link
Member Author

@sorenlouv sorenlouv Nov 29, 2022

Choose a reason for hiding this comment

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

serviceNames is always a single value at most so there's no reason for it to be an array.

environment,
start,
end,
serviceGroup,
serviceGroupKuery,
Copy link
Member Author

Choose a reason for hiding this comment

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

We only use the kuery from the service group. Changing this to be an optional string is slightly simpler (and more clear).

* 2.0.
*/

import {
Copy link
Member Author

@sorenlouv sorenlouv Nov 29, 2022

Choose a reason for hiding this comment

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

Nothing here changes. This file was just extracted from get_service_map.ts.

@sorenlouv sorenlouv marked this pull request as ready for review December 5, 2022 12:19
@sorenlouv sorenlouv requested a review from a team as a code owner December 5, 2022 12:19
@sorenlouv sorenlouv force-pushed the service-map-simplifications branch from 4fba9b5 to cdd44df Compare December 5, 2022 12:19
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Dec 5, 2022
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled in files

id before after diff
osquery 1 2 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
fleet 59 65 +6
osquery 109 115 +6
securitySolution 443 449 +6
total +20

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
fleet 68 74 +6
osquery 110 117 +7
securitySolution 520 526 +6
total +21

History

  • 💛 Build #91374 was flaky 4fba9b56f80051a036a17ce1547c68b99d5e33a9

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

Copy link
Contributor

@gbamparop gbamparop left a comment

Choose a reason for hiding this comment

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

LGTM!

@sorenlouv sorenlouv added v8.7.0 release_note:skip Skip the PR/issue when compiling release notes labels Dec 5, 2022
@sorenlouv sorenlouv merged commit bacbd72 into elastic:main Dec 6, 2022
@sorenlouv sorenlouv deleted the service-map-simplifications branch December 6, 2022 09:22
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Dec 6, 2022
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.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants