-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Service map anomaly indicators #64718
Conversation
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
x-pack/legacy/plugins/apm/public/components/app/ServiceMap/cytoscapeOptions.ts
Outdated
Show resolved
Hide resolved
6dea6f6
to
b17a119
Compare
max_score: Math.max( | ||
previousValue[key]?.max_score ?? 0, | ||
currentValue.max_score.value ?? 0 | ||
) |
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.
should we distinguish between a actual score of 0 and an unknown score?
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.
The things we're reducing over should always have a score, but the type allows for it being undefined, so I think it's ok.
Minor visual (and probably not changed in the code yet) but noticed that the selected state for the node still marks the ring as |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Get an aggregation of the anomaly scores and show style the ring around the node icon.
Tested:
|
Get an aggregation of the anomaly scores and show style the ring around the node icon.
Closes #63574