Skip to content

[APM] POC service contextual map :NOTMERGE:#271737

Draft
MiriamAparicio wants to merge 3 commits into
elastic:mainfrom
MiriamAparicio:5453-explore-service-contextual-map
Draft

[APM] POC service contextual map :NOTMERGE:#271737
MiriamAparicio wants to merge 3 commits into
elastic:mainfrom
MiriamAparicio:5453-explore-service-contextual-map

Conversation

@MiriamAparicio
Copy link
Copy Markdown
Contributor

@MiriamAparicio MiriamAparicio commented May 28, 2026

Summary

Prototype a service-contextual APM service map on the service overview: a focused, hop-limited view of dependencies around the current service, with expand/collapse for hidden neighbors (Option B from Storybook exploration).

Related: observability-dev#5453 / #5428

What changed

Service overview integration

  • Adds ServiceOverviewServiceMapSection above the latency chart on /services/{serviceName}/overview.
  • Uses existing ServiceMapEmbeddable with enableContextualMap (fetching, loading, popovers stay on the embeddable path).
  • Panel chrome: title, “Explore in Service map”, contextual controls (Max visible, Hops, Collapse all), then the map.

Storybook (exploration only)

  • Option B stories under service_map/stories/ (service_contextual_map_exploration.stories.tsx, etc.).
  • Includes ServiceMapOptionsPanel and filter-aware expand badges for experimentation.
  • Filter logic stays in service_contextual_map_expand_utils.ts, separate from production contextual map.
Screen.Recording.2026-05-28.at.16.53.22.mov

@infra-vault-gh-plugin-prod
Copy link
Copy Markdown

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!
  • Click to trigger kibana-entity-store-performance-from-pr for this PR!
  • Click to trigger kibana-storybooks-from-pr for this PR!

@MiriamAparicio MiriamAparicio changed the title POC service contextual map [APM] POC service contextual map :NOTMERGE: May 28, 2026
@MiriamAparicio MiriamAparicio force-pushed the 5453-explore-service-contextual-map branch from 4896f38 to 57e29ea Compare June 1, 2026 09:49
@MiriamAparicio
Copy link
Copy Markdown
Contributor Author

Added another story example of how 1 service with many direct (1 hop) connections would look with the contextual map

Screen.Recording.2026-06-01.at.11.48.02.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant