Skip to content

[8.17] [APM] Fix service maps when root transaction has a parent.id (#212998)#213763

Merged
kibanamachine merged 2 commits intoelastic:8.17from
kibanamachine:backport/8.17/pr-212998
Mar 13, 2025
Merged

[8.17] [APM] Fix service maps when root transaction has a parent.id (#212998)#213763
kibanamachine merged 2 commits intoelastic:8.17from
kibanamachine:backport/8.17/pr-212998

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.17:

Questions ?

Please refer to the Backport tool documentation

…#212998)

fixes [212931](elastic#212931)

## Summary

>[!WARNING]
> This can only be merged after
elastic/elasticsearch-serverless#3579. Service
map tests running against serverless will fail until the aforementioned
PR gets merged and deployed. It should happen Thursday/Friday next week
(13/14 Feb)

Fixes a bug on the service map causing it not to build the paths when
the root transaction of the trace had a `parent.id`

Global service map
| Before | After |
|--------|------|
|<img width="599" alt="image"
src="https://github.com/user-attachments/assets/cce72dea-822b-46e2-938c-65ec3f4600da"
/>|<img width="599" alt="image"
src="https://github.com/user-attachments/assets/68b344fb-2e75-46b8-9401-9fce08bfb860"
/>|

`Ad` service map

| Before | After |
|--------|------|
|<img width="1469" alt="image"
src="https://github.com/user-attachments/assets/e960a390-4a38-43d5-9445-853ced34bb15"
/>|<img width="1459" alt="image"
src="https://github.com/user-attachments/assets/566e3cf0-3805-4bf2-a511-fffed3480332"
/>|

### How to test
- Connect to an `edge-obl` cluster
- Navigate the Application > Services inventory > Service Map
- Inspect the service map of the `Ad` service

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 4a67b8b)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Mar 10, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) March 10, 2025 15:04
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. labels Mar 10, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@github-actions
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@crespocarlos
Copy link
Contributor

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

elasticmachine commented Mar 13, 2025

💚 Build Succeeded

  • Buildkite Build
  • Commit: 2b9ed37
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-213763-2b9ed3700d54

Metrics [docs]

✅ unchanged

History

cc @crespocarlos

@kibanamachine kibanamachine merged commit 5a16116 into elastic:8.17 Mar 13, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR ci:project-deploy-observability Create an Observability project Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants