* [ts] set allowJs to true by default
* fix scripts/check_ts_projects, original implementation is now wildly inefficient
* produce stats in check_ts_projects to make sure it's actually working
* fix imports
* [APM] Adds button group to navigate to "All services" (#142084)
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* Adds button group legend, fixes spacing and translation IDs
* makes the button group part of the page template
* addresses feedback
* addressed feedback:
- Use 'All services' as the default landing page
- swap order of button group -> All services, Service groups
- move tour from the create button to service group half of the button group
- have service groups always enabled but marked Beta
- removed some branching logic in routes / page templates
- add 'Send feedback' link
- fixed service count in cards
* fixes tests and deep links
* change button group to single type
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* Add total APM size to summary stats
* Show percentage of disk space used by the APM indices compared to the overall storage configured for ES
* Add tips and references section
* Add tooltips to summary metrics
* Add indices breakdown table
* Add callout for cross-cluster search
Co-authored-by: boriskirov <boris.kirov@elastic.co>
* remove featured integrations
* promote featured integrations to top of results
* fix apm link
* fix types
* improve naming
* trim translations
* show loading while loading cutoms integrations as well
* prevent high number of re-renders of package grid
* Revert "remove featured integrations"
This reverts commit d9ca449aa7.
* put new functionality behind feature flag
* change order of default promoted integrations
* use id as name for ui_link integrations
* fix types
* Record e2e tests to Cypress dashboard and enable screenshots and videos
* Delete videos that have no failures or retries
* Set browser witdh and height for tests
* Fix flaky test for storage explorer
* Remove cypress plugin file
* Fix typo in spec name
* Enable test retries
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Update all usages of EuiPageTemplate to EuiPageTemplate_Deprecated
* EuiPageContent_Deprecated as EuiPageContent
* EuiPageContentBody_Deprecated as EuiPageContentBody
* EuiPageContentHeader_Deprecated as EuiPageContentHeader
* EuiPageContentHeaderSection_Deprecated as EuiPageContentHeaderSection
* EuiPageSideBar_Deprecated as EuiPageSideBar
* EuiPageContent__Deprecated to EuiPageContent_Deprecated
* Fix rogue semi-colons
* WIP: NoDataConfigPage & NoDataPage converted to new template
- `withSolutionNav` not yet handled
* WIP: KibanaPageTemplateInner converted to use new template
- Pushes existing `pageHeader` prompts onto created EuiPageTemplate.PageHeader
- Uses `isEmptyState` to push `pageHeader` props to EuiPageTemplate.EmptyPrompt instead (if `children` are not supplied)
* WIP: `withSolutionNav` now renders the sidebar content properly
- Collapsing isn’t working (minWidth isn’t updating)
* Fixing stickiness of sidebar
* [Security] Fixed SecuritySolutionTemplateWrapper’s usage
- Moved `bottomBar` to EuiPageTemplate.BottomBar (now contained in just the page contents)
- Change EuiPanel children wrapper with EuiPageTemplate.Section
* [O11y] Wrap `children` with EuiPageTemplate.Section
* Fix getting_started usage
* WIP: Fixing types
* Removing `template` pass through
* Set EUI to 63.0.0
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* More import fixes
* Sidebar component update
* Expand `KibanaPageTemplate` to all namespaced EUI counterparts
- Updated `docs/tutorials` mdx page
- Fixed SolutionNav prop types
* Updated the tutorial mdx page
* [Stack Management] Updated app layout to new template
- Some temporary props applied for BWC until all other pages can be converted
- Converted `API Keys` page’s layout (and especially prompt usags) to new paradigm
* Fix circular dep
* Fix new circular dependency
- copying and pasting types from KibanaPageTemplateProps, but ah well
* [Security Solution] Remove `template` prop - no longer a prop on Kibana/EuiPageTemplate
* [O11y] Allow customizing EuiPageTemplate.Section wrapper
- converts pageBodyProps
- fixes non-centered loading template
* [Enterprise Search] Update page templates
- fix layouts by auto-wrapping an EuiPageSection for padding, while adding a `customPageSections` prop for more custom sections/layouts
- re-center 404 errors
- update tests
* Update KibanaPageTemplate tests
* Update snapshots
* Fix FTR test with removed EUI classNames
* Fix FTR tests with changed kbn classNames
* Update failing dashboard snapshots
- drop shadow changed slightly in EUI
* Fix failing Security Cypress test
* [O11y] Fix Inventory page using deprecated CSS hooks
* [O11y][Uptime] Fix missing bottom bars
- Modifies ObservabilityPageTemplate to accept a `bottomBar` prop (a la the old EuiPageTemplate behavior)
NOTE: This opinionated page layout structure is starting to feel like it could be potentially limiting / have all the same pitfalls the previous EuiPageTemplate did. If so, consider something closer to the Enterprise Search page template conversion (`customPageSections`).
- Misc cleanup: Use `KibanaPageTemplate` over `EuiPageTemplate`
* [O11y] Fix route template typing
- Since theObservabilityPageTemplate is using the new Eui/KibanaPageTemplate, its child templates and types need to be updated accordingly
* Fix broken minWidth behavior
- was an EUI issue that required a patch release
+ update snapshots
* [Security Solution] Type fixes, restore empty state
- Fix empty state logic removed in a previous commit
- bogarts KibanaPageTemplate's `isEmptyState` prop instead of using `template="noData"`
- extend template wrappers to past ...rest to underlying Kibana/EuiPageTemplate
+ replace EuiPageTemplate with KibanaPageTemplate for consistency
* Fix failing synthetics selector
* Grab EUI v63.0.6
- for deprecation tags and section tag support
* Fix Kibana Overview plugin layout
- needs to use KibanaPageTemplate.Section to get padding back
- use `bottomBorder` prop over horizontal rules
- restore previous page color via panelled=false
* Convert Home plugin to new KibanaPageTemplate
- use KibanaPageTemplate.Section instead to preserve page width/paddings
- use `bottomBorder` instead of `EuiHorizontalRule`
- NOTE: This causes margins to decrease slightly from xxl to xl (largest padding available for EuiPageSection) - this can be restored by CSS overrides if desired
- update CSS to preserve previous looks, + convert to logical properties
* [O11y] Fix non-centered empty/loading states
* [O11y] Restore subdued background on various empty state prompts
* [O11y] Fix all instances of views that require a scrollable full-height child
+ restore comment for inventory view
* [O11y][ux] Fix broken sidebar
- The entire app was missing a wrapping EuiProvider, and as such breakpoint utils were not working, and the sidebar was missing
+ misc cleanup
- remove unnecessary fragment
- remove role="main" attr - now that EuiPageTemplate sets a `main` tag, they'll conflict
- add isEmptyState to center loading component
* [APM Cypress tests] harden flaky test
* [APM Cypress tests] Fix failing Cypress test, again
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* Remove infrastructure feature flag from advance settings
* add setting migration to remove it from existing config
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Upgrade to v62.0.3
* Update EUI i18n tokens
* Update html string snapshots
- Emotion CSS hash changed
* [EuiIcon] Update instances of `keyboardShortcut` icons to `keyboard`
* [EuiErrorBoundary] Update snapshots from Emotion conversion
* [EuiImage] Update snapshots, tests, and CSS to account for Emotion conversion
* [EuiImage][RTL] Fix test failures caused by EuiImage changes
* [EuiCommentList] Deprecate EuiCommentProps.type
* [EuiCommentList] Rename `timelineIcon` prop to `timelineAvatar`
- see https://github.com/elastic/eui/pull/6071
* [EuiCommentList] Fix selectors deprecated by Emotion conversion
* [EuiPopover][EuiCommentEvent][Enzyme] Fix mounted test failures caused by Emotion conversions
- Mounting displays the Emotion wrapper with the data-test-subj on them - we need to specify the output div renders in order for text assertions to be correct
* [EuiPopover] Deprecate `initialFocus={false}` as an option
see https://github.com/elastic/eui/pull/6044
* [EuiPopover] Rename `display=inlineBlock` to `inline-block`
- see https://github.com/elastic/eui/pull/5977
* [EuiPopover] Update snapshots from Emotion conversion
* [EuiPopover] Replace deprecated `.euiPopover__panel-isOpen` class with new `[data-popover-open]` attribute
* [EuiPopover][RTL] Fix test failures caused by not waiting for EuiPopover animation/transition
* Skip failing a11y tests
- test w/ similar error already skipped in another test above
- requires closing the popover for next test to pass
- not sure why delete action is no longer available
* Fix failing Security Cypress tests
* Attempt to squash flaky FTR tests around Add Filter popover
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
* add valid signature test package
* add test signatures and readme for signature generation
* mount zip packages as part of tests
* amend README
* Verified package test working
* Rename valid to verified
* Add test for unverified content
* add test for package verified with wrong key
* Check error types in 400 response
* Check saved object keys as part of tests
* Remove wrong_ keys
* use release docker image
* update package path for v2 registry
* force install endpoint package
* fix package policy upgrade on setup test
* formatting
* move back to production registry
* Update all registry configs to use new package directory
* use specific docker image not tag
* fix agent policy tests
* Get latest experimental endpoint version
* skip impossible fleet test
* update synthetics to use same registry image as fleet
* fix telemetry tests
* remove experimental flag from test config
* add force install confirm to synthetics tests
* add origin to expected policy data
* add test subj to force install modal
* Install latest fleet_server package not fixed version
* install latest system pkg
* fix types
* fix deprecated API calls
* Add Beta label to Infrastructure tab
* improve BetaBadge and reuse TechnicalPreviewBadge
* use append prop for tabs with beta or technical preview badge
* Add table for top erroneous transactions in error detail page
* Add table for top errors in transaction details page
* Add top errors to a new row on small viewports
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Bumping EUI to v60.1.0.
* Bumping to bugfixed v60.1.1.
* Updating snapshots for EUI Emotion changes.
* Updating a theme icon size declaration.
* Updating tests for Emotion and new EUI theme objects.
* Updating Lens drag and drop to account for Emotion wrapper.
* Updating icon size in EUI theme object for test.
* Updating Lens Editor Frame test to assert 1 click instead of 2.
* Updating two Jest tests for Emotion extra wrapper.
* Changing a Cypress selector for Emotion classnames.
* Update removed EuiIcon classes
-isLoaded was deprecated in favor of data-attrs - hook should still work
* Remove static EuiIcon classes from static SVG
- these classNames no longer output meaningful CSS and should not be used
* Fix theme JSON imports not to rely on any iconSizes keys
- (which will soon be deprecated by Emotion conversion)
- use the generic euiSizes instead, which will likely be the last to be deprecated
* Fix one more euiIcon-isLoaded className change
- we should be using the `data-is-loaded` attribute that it was switched to
* Bumping EUI to 60.1.2 patch release.
* Updating Storyshots for EUI 60.1.2.
* Removing two assertions from instances_table.spec to match localhost instance UI.
Co-authored-by: Constance Chen <constance.chen@elastic.co>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [ML] Add bounds options
* [ML] Renable anomalyChartTimeseries boundaries
* [ML] Make it into string
* [ML] Make it into string
* Match colors
* [ML] Add comparisonEnabledRt
* [ML] Fix types, tests
* [ML] Revert json bucket span change
* [ML] Add bounds options
* [ML] Renable anomalyChartTimeseries boundaries
* [ML] Make it into string
* [ML] Make it into string
* Match colors
* [ML] Add comparisonEnabledRt
* [ML] Fix types, tests
* [ML] Revert json bucket span change
* Refactor to use offset with TimeRangeComparisonEnum.ExpectedBounds
* Change comparisonColor to be part of anomalySeries
* Fix i18n
* Add Comparison text to replace 'Previous period'
* Fix expected bounds legend default to first
* Hide values that are N/A in the tooltips
* Fix i18n, color, and null values in tooltips
* Refactor to use preferredEnvironment
* Don't disable expected bounds by default
* Match color of expected bounds with time comparison color
* Fix tests
* Use bucket_span as minBucketSize for anomaly results
* Fix previousPeriodColor undefined for latency chart
* Remove 'Comparison:' in legend
* Change anomalyTimeseriesColor to use currentPeriod to match stuff
* Fix type error
* Fix lower model bounds
* Add comments
* Remove fit
* Remove comparisonEnabledRt
* Change text
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [APM] Add infrastructure metrics tables
* hide container and pods tab when no data, added timepicker
* add container ids and pod names to host filter
* fix es types
* fix i18n
* wip
* added empty and failure prompts
* added new route to get host names
* copy changes and components for empty/failure state
* improve gethostnames query
* delete infra host route and move request to server side
* PR comments
* remove prop and the export from getHostNames
* update infra components, improve tables rendering UI
* fix useTabs test
Co-authored-by: Boris Kirov <borisasenovkirov@gmail.com>
* [APM] Trace explorer
* Make sure tabs work on trace explorer
* Add links to trace explorer from error detail view & service map
* Add API tests
* Fix failing E2E test
* don't select edges when explorer is disabled
* Fix lint error
* Update x-pack/plugins/observability/server/ui_settings.ts
Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
* Review feedback
* Rename const in API tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
* [ftr] automatically determine config run order
* split lens config into two groups
* support ftr configs always running against CI
* Split detection_engine_api_integration rule exception list tests
* Add configs from previous commit
* [ftr] remove testMetadata and maintain a unique lifecycle instance per run
* Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run"
This reverts commit d2b4fdb824.
* Split alerting_api_integration/security_and_spaces tests
* Add groups to yaml
* Revert "Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run""
This reverts commit 56232eea68.
* stop ES more forcefully and fix timeout
* only cleanup lifecycle phases when the cleanup is totally complete
* only use kill when cleaning up an esTestInstance
* fix broken import
* fix runOptions.alwaysUseSource implementation
* fix config access
* fix x-pack/ccs config
* fix ml import file paths
* update kibana build id
* revert array.concat() change
* fix baseConfig usage
* fix pie chart data
* split up maps tests
* pull in all of group5 so that es archives are loaded correctly
* add to ftr configs.yml
* fix pie chart data without breaking legacy version
* fix more pie_chart stuff in new vis lib
* restore normal PR tasks
* bump kibana-buildkite-library
* remove ciGroup validation
* remove the script which is no longer called from checks.sh
* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'
* adapt flaky test runner scripts to handle ftrConfig paths
* fix types in alerting_api_integration
* improve flaky config parsing and use non-local var name for passing explicit configs to ftr_configs.sh
* Split xpack dashboard tests
* Add configs
* [flaky] remove key from ftr-config steps
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* restore cypress builds
* remove ciGroups from FTR config files
* fixup some docs
* add temporary script to hunt for FTR config files
* use config.base.js naming for clarity
* use script to power ftr_configs.yml
* remove usage of removed x-pack/scripts/functional_tests
* fix test names in dashboard snapshots
* bump kibana-buildkite-library
* Try retrying only failed configs
* be a little quieter about trying to get testStats from configs with testRunners defined
* Remove test code
* bump kibana-buildkite-library
* update es_snapshot and on_merge jobs too
* track duration and exit code for each config and print it at the end of the script
* store results in order, rather than by key, in case there are duplicates in $config
* bash is hard
* fix env source and use +e rather than disabling e for whole file
* bash sucks
* print config summary in jest jobs too
* define results in jest_parallel.sh
* simplify config summary print, format times a little better
* fix reference to unbound time variable, use better variable name
* skip the newline between each result
* finish with the nitpicking
* sync changes with ftr_configs.sh
* refuse to execute config files which aren't listed in the .buildkite/ftr_configs.yml
* fix config.edge.js base config import paths
* fix some readmes
* resolve paths from ftr_configs manifest
* fix readConfigFile tests
* just allow __fixtures__ configs
* list a few more cypress config files
* install the main branch of kibana-buildkite-library
* split up lens group1
* move ml data_visualizer tests to their own config
* fix import paths
* fix more imports
* install specific commit of buildkite-pipeline-library
* sort configs in ftr_configs.yml
* bump kibana-buildkite-library
* remove temporary script
* fix env var for limiting config types
* Update docs/developer/contributing/development-functional-tests.asciidoc
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
* produce a JUnit report for saved objects field count
* apply standard concurrency limits from flaky test runner
* support customizing FTR concurrency via the env
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
* Extend /suggestions api to accept range query
* Add new endpoint /suggestions_with_terms
* Use suggestionSelect for environment filter
* Clean up route
* UI tweaks for the EuiComboBox
* Make suggestion endpoint for service enrvironment explicit
- follow same naming convention for fields and values
* Fix deps
* Replace query_string with wildcard query
* Rename field to fieldName
* Introduce new enpoint has not defined environment
* Show Not defined option in environment filter
* get environment label for anomaly timeseries
* Fix types
* Select environment if there is only one available
* Fix tests
* move getPreferredServiceAnomalyTimeseries
* Remove redirect and get environment list from context
* Remove endpoint for not defined option
* Suggestions route fallbacks to use terms aggregation when service name is set
* Set default ranges (now-24h)
* Get environment list from context
* Fix types
* State should be handled by consuming component
* Use searchAggregatedTransactions
* Make ranges required for /suggestion endpoint
- the client set a default 24h-now if no URL is set
* Clean up files by separating the helper
* Fix debounce handler
- remove unused initial state
* Add option to run APM cypress tests in the flaky test runner
* Clean up environment context
- context will be responsible only for returning environment(s) info
- removing additional info not related to the context
* Rename event handlers
* Consuming component sets ranges for the suggestions select
* Immediately resolve the promise with empty response in case searchValue is empty
* Fix tests
* Get serviceName from useApmParams
* Fix type
* Initialize time ranges inside the components
* Remove redundant optimization
* Fix eslint import errors