Skip to content

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

Merged
crespocarlos merged 1 commit intoelastic:8.16from
crespocarlos:backport/8.16/pr-212998
Mar 10, 2025
Merged

[8.16] [APM] Fix service maps when root transaction has a parent.id (#212998)#213768
crespocarlos merged 1 commit intoelastic:8.16from
crespocarlos:backport/8.16/pr-212998

Conversation

@crespocarlos
Copy link
Contributor

Backport

This will backport the following commits from main to 8.16:

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)

# Conflicts:
#	x-pack/test/api_integration/deployment_agnostic/apis/observability/apm/service_maps/service_maps.spec.ts
@crespocarlos crespocarlos added the backport This PR is a backport of another PR label Mar 10, 2025
@crespocarlos crespocarlos enabled auto-merge (squash) March 10, 2025 15:24
@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!)

@elasticmachine
Copy link
Contributor

elasticmachine commented Mar 10, 2025

💛 Build succeeded, but was flaky

  • Buildkite Build
  • Commit: f801017
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-213768-f801017e12a2

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #3 / core route timeouts idle socket should timeout if payload sending has too long of an idle period

Metrics [docs]

✅ unchanged

History

@crespocarlos crespocarlos merged commit abf3a2a into elastic:8.16 Mar 10, 2025
15 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