Skip to content

[Maps] [APM] Use Maps in APM instead of custom solution #48538

@thomasneirynck

Description

@thomasneirynck

APM has a custom map implementation.

  1. Consider using the MapsEmbeddable instead for consistent L&F, and reduce duplication of effort. This would be similar to the Maps integration in SIEM and Uptime ([Uptime design] woldmap on monitor details #45561).

  2. The APM implementation also has hardcoded dependencies on EMS-resources (

    const MAPBOX_STYLE =
    'https://tiles.maps.elastic.co/styles/osm-bright-desaturated/style.json';
    const GEOJSON_SOURCE =
    'https://vector.maps.elastic.co/files/world_countries_v1.geo.json?elastic_tile_service_tos=agree&my_app_name=ems-landing&my_app_version=7.2.0';
    ). We should migrate to using the EMS-client (https://www.npmjs.com/package/@elastic/ems-client), which will remove this hardcoded dependency, and use the catalog service for service discovery.

  3. Instead of migrating the geo maps perhaps we should deprecate aka remove maps from APM since this is being added to CSM in 7.10: [RUM Dashboard] Visitors by region map #77135

Metadata

Metadata

Assignees

Labels

Team:APM - DEPRECATEDUse Team:obs-ux-infra_services.Team:GeoFormer Team Label for Geo Team. Now use Team:Presentationchorediscusstechnical debtImprovement of the software architecture and operational architecturev7.10.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions