In #79000 the way we create the telemetry schema was updated and APM is no longer excluded from the telemetry scripts.
Update the docs to be more correct about this.
* Adding X-Kibana header for the legacy client requests
* Specifying `X-Kibana: true` header for all requests coming from Kibana
* Dev Tools now override the X-Kibana header to false
* DevTools doesn't need to do anything, it's not using the ES client
* Switching from `X-Kibana: true` to `User-Agent: Kibana`
* Switching from `X-Kibana: true` to `User-Agent: Kibana`
* Adding a constant
* Starting to add unit tests...
We currently allow end-users to set whatever headers they'd like to be
forwarded to Elasticsearch with `elasticsearch.customHeaders` and
`elasticsearch.requestHeadersWhitelist`. This is potentially problematic
with us always specifying `User-Agent: kibana` as it could interfere
with what our end-users have done...
* Switching from user-agent to X-elastic-product-origin
* Adding some tests
* Adding and updating the legacy client unit tests
T#
* /s/KIBANA_HEADERS/DEFAULT_HEADERS and a deepFreeze
* Adding comment for why `x-elastic-product-origin` exists
* using kibana persisted date when available to set the date time
* fixing types
* adding setTime when changin the dates in the url
* renaming
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Create lens action and unregister the visualize one
* remove console
* Implement Discover to Lens, wip, missing tests
* Add unit tests
* fix embed lens to empty dashboard functional tests
* fix suggestions on save
* Fix bug on save button, query and filters should be transferred from discover
* Add functional test for the navigation from Discover to Lens
* PR update after code review
* unregister visualize action only if the action exists
* Change the test to not be flaky
* Move suggestions to editor frame and hide the emptyWorkspace for visualize field
* Update ui actions docs
* Add a retry to remove test flakiness
* Fix bug of infinite loader when removing the y axis dimension
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Making saveMethod mandatory in attribute service
* Making unwrap method mandatory
* Making book embeddable respect new attribute service
* Remove savedObjectsClient from attribute service
* Add checkForDuplicateTitle method to book embeddable
* Make options mandatory on attribute service
* Changing Lens attribute service
* Somw more typescript fixes
* Fixing attribute service typescript and tests
* Fixing typescript errors
* Unsetting feature flag
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [TSVB] Enable string fields for value count aggregation
* fix test title
* Allow all field types for value count aggregation
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* fix template timeline for rule
* fix moving column with linkfield by giving back the browserfield
* leftover from investigate timeline with template from rule
* add visualization for eql sequences in timeline + allow eql investigate to timeline through signal.group.id
* bug fix of column in eventviewer
* review I
* review II
* fix bug - Columns dynamically added to timeline indicate no data
* fix pagination to work as attempted by elastic search
* no tweak on pagination timeline
* fix snapshot
* reset activePage to 0 when changing indexNames
* remove last page when we are not sure if it is really the last page
* update activePage when resetting it by searchParameter
* review bug on the last commit
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Added description to trusted app card.
* Fixed the test and increased the specificity of styling for item details card styles as opposed to using !important.
* Added useMemo.
* Core Telemetry service
* CoreTelemetryService mock
* Add missing config values back, cleanup
* Core usage collector
* HttpConfig path is 'server'
* Fix tests
* CoreTelemetry -> CoreUsageData
* Improve tests / docs
* Fix telemetry_check
* Don't catch fetch function exceptions, let usage collector handle it
* Code review
* Collect saved object index usage data
* Fix tests and telemetry_check
* explicitly import/export usage data types for telemetry_check
* Remove OS data for now, test for SO usage data
* Fix tests
* Polish core docs
* This shouldn't be here
* Update our cross-app links to correctly include Kibana basePaths
- see https://www.elastic.co/guide/en/kibana/master/kibana-navigation.html
- for this change, we need to pass in the `http` lib as another dependency alongside `history` to createHelper
* Update helpers using createHref to pass new expected dependency
- Note that a lot of their createHref tests did not functionally change in output because Kibana mocks an empty basePath ('/') in tests