When cloning a job, the multi metric wizard would re-estimate the model memory limit and overwrite a possible customized limit. This PR fixes it by only setting the estimated limit when certain conditions apply: It only gets set to the estimation if the current limit is either the default value or the value of the previous estimation. That's our best guess if the value hasn't been customized. The check doesn't get it if the user intentionally for whatever reason (re)set the value to either the default or pervious estimate.
Fixes a regression where the advanced job creation wizard wouldn't trigger the watch creation flyout in the jobs list.
The advanced job creation wizard is still based on angularjs and triggered broadcast events to trigger the watch creation, but with the new React based jobs list the listeners for those events were gone.
This PR fixes it by passing on the jobs list wrapping angular scope to be able to subscribe to the events from the React based JobsListView component.
Passing on angular's scope down to React components should be considered a workaround so we don't have to refactor all affected code to use another event system. Once the advanced job wizard gets ported to React too this should be revisited.
Adds a check if all index patterns necessary to clone a job are available for the current user. The check will only allow cloning of a job if the user has the right permissions and can still access the indexPattern the job was created for. An indexPattern could either have been deleted since the the job was created or the current user doesn't have the required permissions to access the indexPattern. The "Clone Job" action in the jobs list action menu will be greyed out and unavailable for that job.
This adds the MVP of the Phase 1 version of the Maps Plugin to Kibana (https://github.com/elastic/kibana/issues/19582).
This is added as a new Stack Feature, requiring a basic license.
* Service detail page refactor with TS conversions
* Adds error group list back to the service details page tabs
* Fixes after rebasing upstream master
* Adds integrations menu and flyouts, with no-transaction ML job creation and lookup
* WIP adds memory usage chart with fake data
* Adds error group distribution chart to metrics tab
* Metrics "memory" chart data flow from server to chart
* Server side query and transform set up for cpu charts
* CPU charts created
* Review feedback and watcher flyout
* Server tests added, broken tests fixed
* Review feedback
* Fixes up type problems
* Converts metric key paths to constants
* Fixes error group type issue after rebasing from master
* Makes transaction type filterable on transactions list tab
* Review feedback
* Chart formatting tweaks and fixes
* Fixes y-axis ticks for GB chart
* Restores machine learning annotations with some test fixes
* Continued styling and other review based changes
* More review fixes and cleanup
* Updated chartGroupProps -> hoverXHandlers
* Removes "type" column from transaction list table
* Re-centers around using urlParams
* Fixes panel item references in service integrations menu
* Serves default transaction type from /transactions route
* Reverts tooltip series ordering change
* Adds a clarification note about route config
* Makes it possible to request transaction chart data without specifying type
* Fixes empty series problem for memory chart
* Fixes tests
* Review feedback
* Fixes after rebase
* Replaces boolean casted array#find with array#some
* Update logstash to EUI pages
* Adding missed functionality
* Ensure columns are sortable and update the nodes view to use the right base controller methods
* Revert "Adds release notes for 7.0.0-alpha2 (#27237)"
This reverts commit aad71f026b.
* Revert "Switches to new Canvas logo in sidebar nav (#27422)"
This reverts commit a40b870426.
* [security] Token auth provider
From a user perspective, the token provider behaves similarly to the
basic provider in that it can power the native login experience and can
also be used for API calls via the authorization header (albeit with the
Bearer realm).
From a technical perspective, the token provider deals with
authentication via the token service in Elasticsearch, so while it
handles user credentials in the case of login, a temporary, refreshable
access token is stored in the session cookie instead. This means that
when you log out, not only is the cookie invalidated, but the token
itself cannot be reused.
* token provider integration tests
* include token api integration tests by default
* remove unused ProviderOptions from typedef
* assert that valid login sets an authorization header
* unit tests for refresh token and failure cases
* integration tests for headers and sessions
* clean up login/logout tests for consistent setup functions
* test for header rejection scenarios
* allow timelion data source to use configured certificateAuthorities
* make it obvious that this is a temporary measure
* fix lint error
* Update src/legacy/core_plugins/interpreter/server/lib/create_handlers.js
Co-Authored-By: legrego <lgregorydev@gmail.com>
* fix lint error from comment updated via GH
- Fixes the default sorting of the annotations table to sort by starting timestamp.
- Fixes sorting of the label column by adding a "Label" column header.
- Fixes creating annotations when starting over model bounds by setting pointer-events: none to non-interactive chart elements like model bound areas and lines
- Fixes hovering of anomaly markers on top of annotation by changing the order of SVG wrapper elements in the Single Metric Chart.
- Fixes a regression and re-enables the display of the labels in the annotation chart in Single Metric Viewer.
- Fixes missing background color of annotation labels in Firefox/IE.
* [APM] Moving files into folders
* [APM] Display apmServerUrl and secretToken in Getting Started guide
* Add secret_token to java
* Rename “client” to "agent"
* Conditionally get config
* Canvas element grouping (squashed)
fix: don't allow a tilted group
feat: allow rotation as long as it's a multiple of 90 degrees
same as previous but recursively
minor refactor - predicate
minor refactor - removed if
minor refactor - extracted groupedShape
minor refactor - extracted out magic; temporarily only enable 0 degree orientations
minor refactor - recurse
minor refactor - ignore annotations
minor refactor - simplify recursion
minor refactor - simplify recursion 2
removed key gestures
remove ancestors 1
remove ancestors 2
remove ancestors 3
remove ancestors 4
* lint
* separate elements and groups in storage
* renamed `element...` to `node...` (except exported names and action payload props, for now)
* be able to remove a group
* fixing group deletion
* not re-persisting unnecessarily
* persist / unpersist group right on the keyboard action
* solving inverted cascading for backward compatibility
* fix failing test case
* page cloning with group trees of arbitrary depth
* extracted out cloneSubgraphs
* basic copy-paste that handles a grouping tree of arbitrary depth
* fix: when legacy dataset doesn't have `groups`, it should avoid an `undefined`
* PR feedback: regularize group IDs
* lint: curlies
* schemaVersion bump
* copy/paste: restore selection and 10px offset of newly pasted element
* - fix regression with ad hoc groups
- fix copy/paste offsetting
* PR feedback: don't persist node `type` and group `expression`
* chore: remove commented out code
* chore: switch Object.entries to Object.keys
* fix: handle undefined value
this might be caused by a race condition or something. this fix is probably just covering up some other bug :(
* Get basic scaffolding working
* Wire up cluster checkup data
* Add types for elasticsearch plugin
* Implement basics of checkup tab
* Update style of deprecations
* Add copy and reload button to checkup
* Add filtering by warning level
* Add deprecation logging tab
* Copy updates and cleanup
* Type cleanup
* Move deprecation logging to overview tab
* Make filters togglable
* Move sections into tabs and add support for grouping
* Cleanup and add clearer labels
* Use tables for message grouping
* Cleanup and small fixes
* Allow console to load relative URLs
* Add reindex in console button to reindex tasks
* Merge documentation UI and uiButtons
* Fix tests
* Filter bar tweaks
* Filter out index settings that can't be set
* Fix types
* Add tests for deprecation_logging
* Add tests for reindex templates
* Make KibanaConfig generic
* Simplify integration test
* Finish backend unit tests
* Fixup types
* Fix uiButton updating for reindex items
* Fixed background color stretching
* Pulling tabs out and re-ordering filter buttons
* Making accordions more item-list like
* Turned Healths into Badges
- Couldn’t do the conversion within the cell because it only passed color
* Fix overflow issue
* Optional filter and expand/collapse controls
* Reorganizing
- Added placeholder for moving action button up into accordion header
- Removed repetitive message name outputs
- Slightly better listing of each message when sorting by index
- Only showing number of severity when sorting by index
- Still need to allow showing all severity levels
- Added indice count when sorting by issue
* Putting `Deprecation logging` in a `EuiDescribedFormGroup`
* Added some stats, empty prompts, and all clear prompt
* Added docs link
* Cleaned up sass files
* Revert changes to fake_deprecations
* Update blacklisted settings
* wip
* Move data fetching and tab control
* Wire up overview summary
* Cleanup docs/uiButtons + move actions to index table
* Add expand/collapse all functionality
* Wire up search box
* Wire up severity indicators
* Fix types
* Round out functional tests
* Fix fake data
* Remove info deprecation level
* Fix extra space on cluster tab control bar
* Cleanup code and localize majority of UI controls
* Change overview tab to steps layout
* Update copy
* Localize overview tab
* Complete localization of checkup tabs
* Make ES version dynamic based on branch
* Add pagination to checkup tabs
* Rename checkup -> assistant
* Cleanup filter and group by bars
* WIP UI unit tests
* Copy tweaks
* Fix i18n formatting issues
* Update tests for copy
* Add tests for remaining UI
* Fix pagination w/ filter changes + table button color
* Small cleanup
* Add reindex button to old index deprecations
* Add shrunken indices setting to copy settings blacklist for #18469
* Add next steps to overview tab + update copy
* Remove usage of migration assistance API
* Use all/critical toggle for filter buttons
* Cloud upgrade copy
* Translate reindex button
* Remove hacked EUI type
* Show incomplete banner on all tabs
* Update copy for waiting for next version
* Review comments
* Update deprecation level type
* Update checkup tab snapshots
* Remove dependencies on types from #25168
* Use types from new global type defs
* Remove 'Reindex in Console' button
* Remove unused variable
* [APM] fixes#26574 by adding an Action menu which links a transaction to the Infra & Logging UIs
* [APM]
- remove link to host metrics filterd by trace id until supported
- replace ts-optchain with _.get
- remove old, unreferenced ActionMenu dead code
- add unit tests
* [APM] Make sure the apm index pattern filter is passed thru via the Discover link
* [APM] refactored DiscoverButton and TransactionActionMenu to use new QueryWithIndexPattern component to pass along the correct index pattern via the discover link
Adds zoom messaging guidance for both Region & Coordinate maps upon reaching zoom level 10. Previous behavior: user reaches zoom level 10 and zoom is disabled. Current behavior: user reaches zoom level 10, zoom is still disabled however the user is also presented a pop-up (toast) with links for guidance on using EMS or their own custom map services
* Add logic to support showing zoom message for ems tms at zoom level 10
* Add user notification/warning on reaching zoom level 10
* Determine whether or not to show zoom message in service settings and pass through
* Add/remove oss zoom behavior as layer is added/removed to leaflet
* Allow user to suppress zoom warning for this session
* Functional tests for zoom warning
* A few requested changes to the toast format, wording and method of suppression (now a link)
* Update functional zoom tests extensively accounting for toast timing and strange zoom in/out behavior
* Revise zoom msg bool logic to use origin leveraged in service settings
* Update zoom message for i18n compliance
* Open zoom warning links in new tab
* Update i18n defaultMessage to use single-quote string
* Set warning toggle flush left
* String instead of curly brace string?
* Update messaging to include more guidance around custom map services. Move zoom messaging over to separate file