-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Conversation
} | ||
|
||
async function getConnectionData({ | ||
config, | ||
apmEventClient, | ||
serviceNames, | ||
serviceName, |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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
.
4fba9b5
to
cdd44df
Compare
💚 Build Succeeded
Metrics [docs]Unknown metric groupsESLint disabled in files
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
These changes should make it simpler to add the search bar to the service map.