x-pack/solutions/observability/plugins/observability_logs_explorer/README.md
This plugin provides an app based on the LogsExplorer component from the logs_explorer plugin, but adds observability-specific affordances.
yarn test:ftr:server --config ./x-pack/solutions/observability/test/functional/apps/observability_logs_explorer/config.ts
yarn test:ftr:runner --config ./x-pack/solutions/observability/test/functional/apps/observability_logs_explorer/config.ts --include ./x-pack/solutions/observability/test/functional/apps/observability_logs_explorer/index.ts
yarn test:ftr:runner --config ./x-pack/solutions/observability/test/functional/apps/observability_logs_explorer/config.ts --include ./x-pack/solutions/observability/test/functional/apps/observability_logs_explorer/$1
yarn test:ftr:server --config ./x-pack/solutions/observability/test/serverless/functional/configs/config.ts
yarn test:ftr:runner --config ./x-pack/solutions/observability/test/serverless/functional/configs/config.ts --include ./x-pack/solutions/observability/test/serverless/functional/test_suites/observability_logs_explorer/index.ts
yarn test:ftr:runner --config ./x-pack/solutions/observability/test/serverless/functional/configs/config.ts --include ./x-pack/solutions/observability/test/serverless/functional/test_suites/observability_logs_explorer/$1
For tests using package registry we have enabled a configuration that uses a dockerized lite version to execute the tests in the CI, this will reduce the flakyness of them when calling the real endpoint.
To be able to run this version locally you must have a docker daemon running in your system and set FLEET_PACKAGE_REGISTRY_PORT env var. In order to set this variable execute
export set FLEET_PACKAGE_REGISTRY_PORT=12345
To unset the variable, and run the tests against the real endpoint again, execute
unset FLEET_PACKAGE_REGISTRY_PORT
node scripts/type_check.js --project x-pack/solutions/observability/plugins/logs_explorer/tsconfig.json
node scripts/type_check.js --project x-pack/solutions/observability/plugins/observability_logs_explorer/tsconfig.json
node scripts/synthtrace simple_logs.ts --clean [--live]
node scripts/synthtrace logs_and_metrics.ts --clean [--live]
kbn/optimiser issue ?The limit is done to protect us in case we add some dependency that heavily impacts the bundle size, so this is not to be intended as a fix, but as a conscious update after double-checking the bundle size increase and see if it can be reduced
node scripts/build_kibana_platform_plugins --focus logsExplorer --update-limits