mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Relocating module @kbn/slo-plugin
(#204265)
## Summary PR has been generated with script `node scripts/relocate --team "@elastic/obs-ux-management-team"` Relocating module `@kbn/slo-plugin` We are facing emotion issues that we need to fix !! We need to figure out why app is broken after relocating with following error  --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kevin Delemme <kevin.delemme@elastic.co>
This commit is contained in:
parent
01cd6d8dc6
commit
984a059e67
681 changed files with 106 additions and 106 deletions
|
@ -20,7 +20,7 @@ disabled:
|
|||
- x-pack/solutions/observability/plugins/synthetics/e2e/synthetics/synthetics_run.ts
|
||||
- x-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts
|
||||
- x-pack/solutions/observability/plugins/ux/e2e/synthetics_run.ts
|
||||
- x-pack/plugins/observability_solution/slo/e2e/synthetics_run.ts
|
||||
- x-pack/solutions/observability/plugins/slo/e2e/synthetics_run.ts
|
||||
|
||||
defaultQueue: 'n2-4-spot'
|
||||
enabled:
|
||||
|
|
|
@ -14,7 +14,7 @@ steps:
|
|||
- check_oas_snapshot
|
||||
timeout_in_minutes: 30
|
||||
artifact_paths:
|
||||
- 'x-pack/plugins/observability_solution/slo/e2e/.journeys/**/*'
|
||||
- 'x-pack/solutions/observability/plugins/slo/e2e/.journeys/**/*'
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: '-1'
|
||||
|
|
|
@ -14,4 +14,4 @@ echo "--- SLO @elastic/synthetics Tests"
|
|||
|
||||
cd "$XPACK_DIR"
|
||||
|
||||
node plugins/observability_solution/slo/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"}
|
||||
node solutions/observability/plugins/slo/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"}
|
||||
|
|
|
@ -917,7 +917,7 @@ module.exports = {
|
|||
'x-pack/solutions/observability/plugins/observability/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/observability/plugins/exploratory_view/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/observability/plugins/ux/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/plugins/observability_solution/slo/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/observability/plugins/slo/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/packages/observability/**/*.{js,mjs,ts,tsx}',
|
||||
],
|
||||
rules: {
|
||||
|
@ -937,7 +937,7 @@ module.exports = {
|
|||
'x-pack/plugins/observability_solution/apm/**/*.stories.*',
|
||||
'x-pack/solutions/observability/plugins/observability/**/*.stories.*',
|
||||
'x-pack/solutions/observability/plugins/exploratory_view/**/*.stories.*',
|
||||
'x-pack/plugins/observability_solution/slo/**/*.stories.*',
|
||||
'x-pack/solutions/observability/plugins/slo/**/*.stories.*',
|
||||
'x-pack/packages/observability/**/*.{js,mjs,ts,tsx}',
|
||||
],
|
||||
rules: {
|
||||
|
|
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
@ -939,7 +939,6 @@ x-pack/plugins/observability_solution/observability_onboarding/e2e @elastic/obs-
|
|||
x-pack/plugins/observability_solution/observability_shared @elastic/observability-ui
|
||||
x-pack/plugins/observability_solution/profiling @elastic/obs-ux-infra_services-team
|
||||
x-pack/plugins/observability_solution/profiling_data_access @elastic/obs-ux-infra_services-team
|
||||
x-pack/plugins/observability_solution/slo @elastic/obs-ux-management-team
|
||||
x-pack/plugins/reporting @elastic/appex-sharedux
|
||||
x-pack/plugins/rule_registry @elastic/response-ops @elastic/obs-ux-management-team
|
||||
x-pack/plugins/saved_objects_tagging @elastic/appex-sharedux
|
||||
|
@ -982,6 +981,7 @@ x-pack/solutions/observability/plugins/observability_ai_assistant_management @el
|
|||
x-pack/solutions/observability/plugins/observability_solution/entities_data_access @elastic/obs-entities
|
||||
x-pack/solutions/observability/plugins/observability_solution/entity_manager_app @elastic/obs-entities
|
||||
x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team
|
||||
x-pack/solutions/observability/plugins/slo @elastic/obs-ux-management-team
|
||||
x-pack/solutions/observability/plugins/streams @elastic/streams-program-team
|
||||
x-pack/solutions/observability/plugins/streams_app @elastic/streams-program-team
|
||||
x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-team
|
||||
|
|
2
.github/paths-labeller.yml
vendored
2
.github/paths-labeller.yml
vendored
|
@ -20,7 +20,7 @@
|
|||
- 'x-pack/test/fleet_api_integration/**/*.*'
|
||||
- 'Team:obs-ux-management':
|
||||
- 'x-pack/solutions/observability/plugins/observability/**/*.*'
|
||||
- 'x-pack/plugins/observability_solution/slo/**/*.*'
|
||||
- 'x-pack/solutions/observability/plugins/slo/**/*.*'
|
||||
- 'x-pack/solutions/observability/plugins/synthetics/**/*.*'
|
||||
- 'x-pack/solutions/observability/plugins/exploratory_view/**/*.*'
|
||||
- 'Team:Obs AI Assistant':
|
||||
|
|
|
@ -894,7 +894,7 @@ This plugin is only enabled when the application is built for serverless project
|
|||
|Session View is meant to provide a visualization into what is going on in a particular Linux environment where the agent is running. It looks likes a terminal emulator; however, it is a tool for introspecting process activity and understanding user and service behaviour in your Linux servers and infrastructure. It is a time-ordered series of process executions displayed in a tree over time.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/slo/README.md[slo]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/slo/README.md[slo]
|
||||
|A Kibana plugin
|
||||
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ actions:
|
|||
# Infra metric threshold rule (metrics.alert.threshold)
|
||||
- $ref: '../../x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml'
|
||||
# SLO burn rate (slo.rules.burnRate)
|
||||
- $ref: '../../x-pack/plugins/observability_solution/slo/server/lib/rules/slo_burn_rate/docs/params_property_slo_burn_rate.yaml'
|
||||
- $ref: '../../x-pack/solutions/observability/plugins/slo/server/lib/rules/slo_burn_rate/docs/params_property_slo_burn_rate.yaml'
|
||||
# Synthetics uptime TLS rule (xpack.uptime.alerts.tls)
|
||||
- $ref: '../../x-pack/solutions/observability/plugins/uptime/server/legacy_uptime/lib/alerts/docs/params_property_synthetics_uptime_tls.yaml'
|
||||
# Uptime monitor status rule (xpack.uptime.alerts.monitorStatus)
|
||||
|
|
|
@ -23,7 +23,7 @@ const { REPO_ROOT } = require('@kbn/repo-info');
|
|||
|
||||
// Observability Solution
|
||||
`${REPO_ROOT}/x-pack/plugins/observability_solution/apm/docs/openapi/apm/bundled.yaml`,
|
||||
`${REPO_ROOT}/x-pack/plugins/observability_solution/slo/docs/openapi/slo/bundled.yaml`,
|
||||
`${REPO_ROOT}/x-pack/solutions/observability/plugins/slo/docs/openapi/slo/bundled.yaml`,
|
||||
|
||||
// Security solution
|
||||
`${REPO_ROOT}/x-pack/plugins/security_solution/docs/openapi/ess/*.schema.yaml`,
|
||||
|
|
|
@ -21,7 +21,7 @@ const { REPO_ROOT } = require('@kbn/repo-info');
|
|||
|
||||
// Observability Solution
|
||||
`${REPO_ROOT}/x-pack/plugins/observability_solution/apm/docs/openapi/apm/bundled.yaml`,
|
||||
`${REPO_ROOT}/x-pack/plugins/observability_solution/slo/docs/openapi/slo/bundled.yaml`,
|
||||
`${REPO_ROOT}/x-pack/solutions/observability/plugins/slo/docs/openapi/slo/bundled.yaml`,
|
||||
|
||||
// Security solution
|
||||
`${REPO_ROOT}/x-pack/plugins/security_solution/docs/openapi/serverless/*.schema.yaml`,
|
||||
|
|
|
@ -929,7 +929,7 @@
|
|||
"@kbn/shared-ux-tabbed-modal": "link:packages/shared-ux/modal/tabbed",
|
||||
"@kbn/shared-ux-table-persist": "link:packages/shared-ux/table_persist",
|
||||
"@kbn/shared-ux-utility": "link:packages/kbn-shared-ux-utility",
|
||||
"@kbn/slo-plugin": "link:x-pack/plugins/observability_solution/slo",
|
||||
"@kbn/slo-plugin": "link:x-pack/solutions/observability/plugins/slo",
|
||||
"@kbn/slo-schema": "link:x-pack/platform/packages/shared/kbn-slo-schema",
|
||||
"@kbn/snapshot-restore-plugin": "link:x-pack/platform/plugins/private/snapshot_restore",
|
||||
"@kbn/sort-predicates": "link:packages/kbn-sort-predicates",
|
||||
|
|
|
@ -15,7 +15,7 @@ module.exports = {
|
|||
USES_STYLED_COMPONENTS: [
|
||||
/packages[\/\\]kbn-ui-shared-deps-(npm|src)[\/\\]/,
|
||||
/src[\/\\]plugins[\/\\](kibana_react)[\/\\]/,
|
||||
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]/,
|
||||
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\](exploratory_view|investigate|investigate_app|observability|observability_ai_assistant_app|observability_ai_assistant_management|observability_solution|serverless_observability|streams|streams_app|synthetics|uptime|ux)[\/\\]/,
|
||||
/x-pack[\/\\]plugins[\/\\](observability_solution\/apm|beats_management|fleet|lists|observability_solution\/observability|observability_solution\/observability_shared|observability_solution\/exploratory_view|security_solution|timelines|observability_solution\/synthetics|observability_solution\/ux|observability_solution\/uptime)[\/\\]/,
|
||||
/x-pack[\/\\]solutions[\/\\]security[\/\\]plugins[\/\\](observability_solution\/apm|beats_management|fleet|observability_solution\/infra|lists|observability_solution\/observability|observability_solution\/observability_shared|observability_solution\/exploratory_view|security_solution|timelines|observability_solution\/synthetics|observability_solution\/ux|observability_solution\/uptime)[\/\\]/,
|
||||
/x-pack[\/\\]test[\/\\]plugin_functional[\/\\]plugins[\/\\]resolver_test[\/\\]/,
|
||||
|
|
|
@ -59,7 +59,7 @@ export const storybookAliases = {
|
|||
'x-pack/solutions/observability/plugins/observability_ai_assistant_app/.storybook',
|
||||
observability_inventory: 'x-pack/plugins/observability_solution/inventory/.storybook',
|
||||
observability_shared: 'x-pack/plugins/observability_solution/observability_shared/.storybook',
|
||||
observability_slo: 'x-pack/plugins/observability_solution/slo/.storybook',
|
||||
observability_slo: 'x-pack/solutions/observability/plugins/slo/.storybook',
|
||||
presentation: 'src/plugins/presentation_util/storybook',
|
||||
random_sampling: 'x-pack/packages/kbn-random-sampling/.storybook',
|
||||
esql_editor: 'src/platform/packages/private/kbn-esql-editor/.storybook',
|
||||
|
@ -67,7 +67,7 @@ export const storybookAliases = {
|
|||
security_solution_packages: 'x-pack/solutions/security/packages/storybook/config',
|
||||
serverless: 'packages/serverless/storybook/config',
|
||||
shared_ux: 'packages/shared-ux/storybook/config',
|
||||
slo: 'x-pack/plugins/observability_solution/slo/.storybook',
|
||||
slo: 'x-pack/solutions/observability/plugins/slo/.storybook',
|
||||
threat_intelligence: 'x-pack/solutions/security/plugins/threat_intelligence/.storybook',
|
||||
triggers_actions_ui: 'x-pack/plugins/triggers_actions_ui/.storybook',
|
||||
ui_actions_enhanced: 'src/plugins/ui_actions_enhanced/.storybook',
|
||||
|
|
|
@ -1838,8 +1838,8 @@
|
|||
"@kbn/shared-ux-table-persist/*": ["packages/shared-ux/table_persist/*"],
|
||||
"@kbn/shared-ux-utility": ["packages/kbn-shared-ux-utility"],
|
||||
"@kbn/shared-ux-utility/*": ["packages/kbn-shared-ux-utility/*"],
|
||||
"@kbn/slo-plugin": ["x-pack/plugins/observability_solution/slo"],
|
||||
"@kbn/slo-plugin/*": ["x-pack/plugins/observability_solution/slo/*"],
|
||||
"@kbn/slo-plugin": ["x-pack/solutions/observability/plugins/slo"],
|
||||
"@kbn/slo-plugin/*": ["x-pack/solutions/observability/plugins/slo/*"],
|
||||
"@kbn/slo-schema": ["x-pack/platform/packages/shared/kbn-slo-schema"],
|
||||
"@kbn/slo-schema/*": ["x-pack/platform/packages/shared/kbn-slo-schema/*"],
|
||||
"@kbn/snapshot-restore-plugin": ["x-pack/platform/plugins/private/snapshot_restore"],
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
"xpack.streams": [
|
||||
"solutions/observability/plugins/streams_app"
|
||||
],
|
||||
"xpack.slo": "plugins/observability_solution/slo",
|
||||
"xpack.slo": "solutions/observability/plugins/slo",
|
||||
"xpack.snapshotRestore": "platform/plugins/private/snapshot_restore",
|
||||
"xpack.spaces": "plugins/spaces",
|
||||
"xpack.savedObjectsTagging": [
|
||||
|
|
|
@ -131,6 +131,82 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"slo": {
|
||||
"properties": {
|
||||
"slo": {
|
||||
"properties": {
|
||||
"total": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The total number of slos in the cluster"
|
||||
}
|
||||
},
|
||||
"by_status": {
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of enabled slos in the cluster"
|
||||
}
|
||||
},
|
||||
"disabled": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of disabled slos in the cluster"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"by_sli_type": {
|
||||
"properties": {
|
||||
"DYNAMIC_KEY": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of slos by sli type in the cluster"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"by_rolling_duration": {
|
||||
"properties": {
|
||||
"DYNAMIC_KEY": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of slos by rolling duration in the cluster"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"by_calendar_aligned_duration": {
|
||||
"properties": {
|
||||
"DYNAMIC_KEY": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of slos by calendar aligned duration in the cluster"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"by_budgeting_method": {
|
||||
"properties": {
|
||||
"occurrences": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of slos by timeslices budgeting method in the cluster"
|
||||
}
|
||||
},
|
||||
"timeslices": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of slos by occurrences budgeting method in the cluster"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19428,82 +19428,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"slo": {
|
||||
"properties": {
|
||||
"slo": {
|
||||
"properties": {
|
||||
"total": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The total number of slos in the cluster"
|
||||
}
|
||||
},
|
||||
"by_status": {
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of enabled slos in the cluster"
|
||||
}
|
||||
},
|
||||
"disabled": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of disabled slos in the cluster"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"by_sli_type": {
|
||||
"properties": {
|
||||
"DYNAMIC_KEY": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of slos by sli type in the cluster"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"by_rolling_duration": {
|
||||
"properties": {
|
||||
"DYNAMIC_KEY": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of slos by rolling duration in the cluster"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"by_calendar_aligned_duration": {
|
||||
"properties": {
|
||||
"DYNAMIC_KEY": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of slos by calendar aligned duration in the cluster"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"by_budgeting_method": {
|
||||
"properties": {
|
||||
"occurrences": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of slos by timeslices budgeting method in the cluster"
|
||||
}
|
||||
},
|
||||
"timeslices": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The number of slos by occurrences budgeting method in the cluster"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"spaces": {
|
||||
"properties": {
|
||||
"usesFeatureControls": {
|
||||
|
|
|
@ -8,7 +8,7 @@ Starting in 8.8, SLO is enabled by default. SLO is GA since 8.12
|
|||
1. Data generation
|
||||
|
||||
> [!TIP]
|
||||
> The following commands uses [kbn-data-forge](../../../../platform/packages/shared/kbn-data-forge/README.md) to generate some data for developping or testing SLOs
|
||||
> The following commands uses [kbn-data-forge](../../../../../platform/packages/shared/kbn-data-forge/README.md) to generate some data for developping or testing SLOs
|
||||
|
||||
Basic command to generate 7 days of data with a couple of services:
|
||||
```sh
|
|
@ -14,7 +14,7 @@ A guide about the OpenApi specification can be found at [https://swagger.io/docs
|
|||
## Tools
|
||||
|
||||
It is possible to manually validate the docs before bundling them with the following
|
||||
command in the `x-pack/plugins/observability_solution/slo/docs/openapi/slo` folder:
|
||||
command in the `x-pack/solutions/observability/plugins/slo/docs/openapi/slo` folder:
|
||||
|
||||
```bash
|
||||
make validate
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"extends": "../../../../../../tsconfig.base.json",
|
||||
"exclude": ["tmp", "target/**/*"],
|
||||
"include": ["**/*"],
|
||||
"compilerOptions": {
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../../../..',
|
||||
roots: ['<rootDir>/x-pack/plugins/observability_solution/slo'],
|
||||
setupFiles: ['<rootDir>/x-pack/plugins/observability_solution/slo/.storybook/jest_setup.js'],
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/x-pack/solutions/observability/plugins/slo'],
|
||||
setupFiles: ['<rootDir>/x-pack/solutions/observability/plugins/slo/.storybook/jest_setup.js'],
|
||||
coverageDirectory:
|
||||
'<rootDir>/target/kibana-coverage/jest/x-pack/plugins/observability_solution/slo',
|
||||
'<rootDir>/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/slo',
|
||||
coverageReporters: ['text', 'html'],
|
||||
collectCoverageFrom: [
|
||||
'<rootDir>/x-pack/plugins/observability_solution/slo/{common,public,server}/**/*.{js,ts,tsx}',
|
||||
'<rootDir>/x-pack/solutions/observability/plugins/slo/{common,public,server}/**/*.{js,ts,tsx}',
|
||||
],
|
||||
};
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue