[OAM] Introduce API in asset_manager
plugin to return service assets
#182850
Labels
stale
Used to mark issues that were closed for being stale
Team:obs-ux-infra_services
Observability Infrastructure & Services User Experience Team
Context
In the first iteration, we retrieved the assets within APM but the assets should be retrieved by a central plugin and not within every plugin.
The
asset_manager
seems the right place to expose the API related to assets. While the asset_manager already expose APIs, they are not used anywhere so probably it should be fine to clean up the existing code and introduce a simpler APIRequirements
Introduce a
getServices(start, end, kuery)
service that returns the service assets from the assets indicesConsumer:
and it expects the minimum required fields to be
most likely we'll need
agent.name
Query used in APM - https://github.com/elastic/kibana/pull/181842/files#diff-2f7f5edd98cf9152857697cb525eeb2765db8295de3efc9bcbaff602fb14063aR1
Pending
agent.name
to display the agent icon.stretch goal
Note
The text was updated successfully, but these errors were encountered: