forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ECO][Inventory v2] APM changes (elastic#202497)
Closes [202299](elastic#202299) ## Summary This PR replaces the query in `getServiceEntitySummary` with the v2 function (`entityManagerClient.v2.searchEntities`) ## Testing - Verify the response of the summary endpoint in the UI: https://github.com/user-attachments/assets/ba895f7d-57c8-492b-81dd-cf7869ffbc86 - Dev tools query - APM service #### Request: ``` GET kbn:/internal/apm/entities/services/synth-node-0/summary?environment=ENVIRONMENT_ALL ``` #### Response ``` { "serviceName": "synth-node-0", "agentName": "nodejs", "lastSeenTimestamp": "2024-12-13T16:29:19.868Z", "dataStreamTypes": [ "logs", "traces" ], "environments": [ "Synthtrace: simple_trace" ] } ``` - Service from logs #### Request: ``` GET kbn:/internal/apm/entities/services/synth-node/summary?environment=ENVIRONMENT_ALL ``` #### Response: ``` { "serviceName": "synth-node", "agentName": "go", "lastSeenTimestamp": "2024-12-13T16:27:43.461Z", "dataStreamTypes": [ "logs", "traces" ], "environments": [ "Synthtrace: logs_traces_hosts" ] } ``` --------- Co-authored-by: Jenny <[email protected]> Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit a66c139)
- Loading branch information
1 parent
d776aaa
commit c277f7e
Showing
16 changed files
with
249 additions
and
488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ | |
"uiActions", | ||
"logsDataAccess", | ||
"savedSearch", | ||
"entityManager" | ||
], | ||
"optionalPlugins": [ | ||
"actions", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 0 additions & 67 deletions
67
x-pack/plugins/observability_solution/apm/server/routes/entities/get_entities.ts
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
...k/plugins/observability_solution/apm/server/routes/entities/get_entity_latest_services.ts
This file was deleted.
Oops, something went wrong.
61 changes: 0 additions & 61 deletions
61
...lugins/observability_solution/apm/server/routes/entities/services/get_service_entities.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.