mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Closes #176403 ## Summary This PR adds a filter for the `event.module` to be `system` because the Hosts View is only compatible with the metrics-system indices - I added a [comment](https://github.com/elastic/kibana/issues/176403#issuecomment-1954232722) to explain the change in the query. It adds infra client as part of the synthtrace and a scenario to test the change ## Testing - Use the new synthtrace scenario: `node scripts/synthtrace --clean infra_hosts_with_apm_hosts.ts` - By default there should be `10` host visible on the host view and 3 separate services in APM (the APM hosts should not be visible) - The scenario can be used with different numbers of services/hosts for example: `node scripts/synthtrace --clean --scenarioOpts.numServices=5 --scenarioOpts.numHosts=5 infra_hosts_with_apm_hosts.ts` - 5 hosts shown on Infrastructure > Hosts (the APM hosts should not be visible) ![image]( |
||
---|---|---|
.. | ||
src | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.md | ||
tsconfig.json |
See packages/kbn-apm-synthtrace/README.json