kibana/packages/kbn-profiling-utils/common
Cauê Marcondes 98d2766de8
[Profiling-APM] Removing Profiling dependency from APM (#166253)
This PR removes the Profiling dependency from APM, introduced on `8.10`.

- Exposes a new service in profiling-data-access plugin
- Create a new APM API that calls the new service and checks if
Profiling is initialized
- Move Locators from the Profiling plugin to the Observability-shared
plugin
- Move logic to check Profiling status (has_setup/has_data...) from
Profiling server to profiling-data-access plugin
- Create API tests, testing the status services based on different
scenarios:
  - When profiling hasn't been initialized and there's no data
  - When profiling is initialized but has no data
  - When collector integration is not installed
  - When symbolized integration is not installed
  - When APM server integration is not found

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-09-22 09:16:48 +01:00
..
__fixtures__ [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
callee.test.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
callee.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
elasticsearch.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
flamegraph.test.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
flamegraph.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
frame_group.test.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
frame_group.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
functions.test.ts [Profiling-APM] Service Profiling Top 10 Functions (#166226) 2023-09-20 08:35:19 -07:00
functions.ts [Profiling-APM] Service Profiling Top 10 Functions (#166226) 2023-09-20 08:35:19 -07:00
hash.test.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
hash.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
profiling.test.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
profiling.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
profiling_status.ts [Profiling-APM] Removing Profiling dependency from APM (#166253) 2023-09-22 09:16:48 +01:00
stack_traces.test.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00
stack_traces.ts [Profiling-APM] Service Profiling flamegraph (#165360) 2023-09-12 01:19:31 -07:00