-
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] Fix service maps #192859
[APM] Fix service maps #192859
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
connection.sourceData, | ||
connection.targetData, | ||
]); | ||
// .concat(serviceNodes); |
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.
Can this be deleted?
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.
yeah, I think it can be removed
I tested the fix out of the scenario with |
04e73ed
to
aa66780
Compare
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
🤖 GitHub commentsExpand to view the GitHub comments
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.
Thanks for the fix
LGTM 🌟
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 💯
f7d1965
to
dadaa6c
Compare
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.
LTGM, some nits.
@@ -51,7 +51,7 @@ function addMessagingConnections( | |||
const newConnections = messagingDestinations | |||
.map((node) => { | |||
const matchedService = discoveredServices.find( | |||
({ from }) => | |||
({ from, to }) => |
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.
Are you using this to
?
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.
You're right, it's not used there
const externalNodes = [ | ||
...new Set( | ||
allNodes.filter( | ||
(node) => SPAN_DESTINATION_SERVICE_RESOURCE in node | ||
) as ExternalConnectionNode[] | ||
), | ||
]; |
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.
const externalNodes = [ | |
...new Set( | |
allNodes.filter( | |
(node) => SPAN_DESTINATION_SERVICE_RESOURCE in node | |
) as ExternalConnectionNode[] | |
), | |
]; | |
const externalNodes = Array.from(new Set( | |
allNodes.filter( | |
(node) => SPAN_DESTINATION_SERVICE_RESOURCE in node | |
) as ExternalConnectionNode[] | |
) | |
); |
💚 Build Succeeded
Metrics [docs]
History
|
Starting backport for target branches: 8.x |
## Summary <img width="1029" alt="image" src="https://github.com/user-attachments/assets/155d5dff-dc9e-44c7-a5ad-532867088763"> --------- Co-authored-by: miriam.aparicio <[email protected]> Co-authored-by: Miriam <[email protected]> (cherry picked from commit c19551f)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[APM] Attempt to fix service maps (#192859)](#192859) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Carlos Crespo","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-11T10:52:39Z","message":"[APM] Attempt to fix service maps (#192859)\n\n## Summary\r\n\r\n<img width=\"1029\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/155d5dff-dc9e-44c7-a5ad-532867088763\">\r\n\r\n---------\r\n\r\nCo-authored-by: miriam.aparicio <[email protected]>\r\nCo-authored-by: Miriam <[email protected]>","sha":"c19551f89a039c26ece79b505b4d9ff7ad729f47","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.17.0"],"title":"[APM] Attempt to fix service maps","number":192859,"url":"https://github.com/elastic/kibana/pull/192859","mergeCommit":{"message":"[APM] Attempt to fix service maps (#192859)\n\n## Summary\r\n\r\n<img width=\"1029\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/155d5dff-dc9e-44c7-a5ad-532867088763\">\r\n\r\n---------\r\n\r\nCo-authored-by: miriam.aparicio <[email protected]>\r\nCo-authored-by: Miriam <[email protected]>","sha":"c19551f89a039c26ece79b505b4d9ff7ad729f47"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192859","number":192859,"mergeCommit":{"message":"[APM] Attempt to fix service maps (#192859)\n\n## Summary\r\n\r\n<img width=\"1029\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/155d5dff-dc9e-44c7-a5ad-532867088763\">\r\n\r\n---------\r\n\r\nCo-authored-by: miriam.aparicio <[email protected]>\r\nCo-authored-by: Miriam <[email protected]>","sha":"c19551f89a039c26ece79b505b4d9ff7ad729f47"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Carlos Crespo <[email protected]>
## Summary <img width="1029" alt="image" src="https://github.com/user-attachments/assets/155d5dff-dc9e-44c7-a5ad-532867088763"> --------- Co-authored-by: miriam.aparicio <[email protected]> Co-authored-by: Miriam <[email protected]>
Summary