kibana/packages
jennypavlova 3e296b64e5
[8.17] [APM] Fix: Span Links with OTel data (#212806) (#213886)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[APM] Fix: Span Links with OTel data
(#212806)](https://github.com/elastic/kibana/pull/212806)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"jennypavlova","email":"dzheni.pavlova@elastic.co"},"sourceCommit":{"committedDate":"2025-03-10T18:47:07Z","message":"[APM]
Fix: Span Links with OTel data (#212806)\n\nCloses #212796 \n\nThis PR
fixes OTel span links\n\n## Testing\n\n- Using the edge oblt go to
Service inventory and find the `accounting`\nservice and click on it\n-
Click on the transactions tab and scroll to the waterfall\n- Click on
the Span link inside the Span\n- Navigate to the linked service \n- Then
try the navigation back by finding the span link again in the\nwaterfall
and go back to the accounting service / its
trace\n\n\n\n\nhttps://github.com/user-attachments/assets/83bb6ec3-86d5-45ad-8b81-6df73751fa31\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"662c30a260f676c9e1180e7d413553d0166726d7","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport:prev-minor","backport:prev-major","Team:obs-ux-infra_services","v9.1.0"],"title":"[APM]
Fix: Span Links with OTel
data","number":212806,"url":"https://github.com/elastic/kibana/pull/212806","mergeCommit":{"message":"[APM]
Fix: Span Links with OTel data (#212806)\n\nCloses #212796 \n\nThis PR
fixes OTel span links\n\n## Testing\n\n- Using the edge oblt go to
Service inventory and find the `accounting`\nservice and click on it\n-
Click on the transactions tab and scroll to the waterfall\n- Click on
the Span link inside the Span\n- Navigate to the linked service \n- Then
try the navigation back by finding the span link again in the\nwaterfall
and go back to the accounting service / its
trace\n\n\n\n\nhttps://github.com/user-attachments/assets/83bb6ec3-86d5-45ad-8b81-6df73751fa31\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"662c30a260f676c9e1180e7d413553d0166726d7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212806","number":212806,"mergeCommit":{"message":"[APM]
Fix: Span Links with OTel data (#212806)\n\nCloses #212796 \n\nThis PR
fixes OTel span links\n\n## Testing\n\n- Using the edge oblt go to
Service inventory and find the `accounting`\nservice and click on it\n-
Click on the transactions tab and scroll to the waterfall\n- Click on
the Span link inside the Span\n- Navigate to the linked service \n- Then
try the navigation back by finding the span link again in the\nwaterfall
and go back to the accounting service / its
trace\n\n\n\n\nhttps://github.com/user-attachments/assets/83bb6ec3-86d5-45ad-8b81-6df73751fa31\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"662c30a260f676c9e1180e7d413553d0166726d7"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-11 13:41:09 +01:00
..
analytics/utils/analytics_collection_utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
cloud [8.x] Consume elasticsearch.publicBaseUrl where possible (#192741) (#193442) 2024-09-24 06:33:17 -05:00
content-management [8.x] [ES|QL] Starred queries in the editor (#198362) (#200672) 2024-11-19 09:24:54 +01:00
core [8.17] [Feature Flags] Remove apm.captureError on slow setup (#212037) (#212057) 2025-02-21 14:35:08 +00:00
deeplinks [8.x] [ES3][Search] Create Index Page (#199402) (#199703) 2024-11-12 14:31:09 -06:00
default-nav [ML] Anomaly Detection supplied configurations: adds page in ML UI for Supplied configurations (ML Modules) (#191564) 2024-09-12 10:30:09 -06:00
home Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-actions-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-alerting-types [8.x] Consolidate Rule schemas (#195613) (#198048) 2024-10-28 12:51:59 -05:00
kbn-alerts-as-data-utils [8.x] [Synthetics] Added error track trace to status/tls rule context variable !! (#198599) (#198672) 2024-11-01 09:39:27 -05:00
kbn-alerts-grouping Upgrade @testing-library/user-event to latest ^14.5.2 (#189949) 2024-09-10 14:31:27 +02:00
kbn-alerts-ui-shared [8.17] [ResponseOps][Rules] Do not show connector not registered in action connectors modal (#212660) (#212778) 2025-02-28 16:13:03 +00:00
kbn-ambient-common-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ambient-ftr-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ambient-storybook-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ambient-ui-types [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-analytics Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-apm-config-loader Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-apm-data-view Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-apm-synthtrace [8.17] [Synthtrace] Fix synthtrace to work with 7.x clusters (#209447) (#209479) 2025-02-04 12:27:07 +01:00
kbn-apm-synthtrace-client [8.17] [Inventory] Inventory k8s entities fixes (#201260) (#201725) 2024-11-26 04:27:53 -06:00
kbn-apm-types [8.17] [APM] Fix: Span Links with OTel data (#212806) (#213886) 2025-03-11 13:41:09 +01:00
kbn-apm-utils [8.x] [Observability] Split up observability-utils package (#199801) (#200886) 2024-11-20 06:12:34 -06:00
kbn-avc-banner [8.17] [AVC Banner] Updates the AVC Banner for 2025 (#205467) (#205816) 2025-01-22 20:19:30 +00:00
kbn-axe-config Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-babel-preset [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-babel-register Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-babel-transform Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-bazel-runner Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-bfetch-error Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-calculate-auto Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-calculate-width-from-char-count Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-capture-oas-snapshot-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cases-components [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
kbn-cbor Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cell-actions [8.x] [Security Solution] Fix code scanning alert (#198142) (#198367) 2024-10-30 11:20:49 -05:00
kbn-chart-icons Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-check-mappings-update-cli [8.17] [Fleet] Fix agent policy mappings for space awareness (#201689) (#202240) 2024-11-28 17:56:35 -06:00
kbn-check-prod-native-modules-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ci-stats-core Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ci-stats-performance-metrics Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ci-stats-reporter Improve quick checks (#192369) 2024-09-11 13:27:47 +02:00
kbn-ci-stats-shipper-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cli-dev-mode [8.x] fix: kibana dev server not restarting for external plugin #171260 (#198246) (#201040) 2024-11-20 16:10:12 -06:00
kbn-code-owners [8.x] [codeowners] Filter kibanamachine (#199404) (#199864) 2024-11-12 14:38:18 -06:00
kbn-coloring Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-config Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-config-mocks Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-config-schema Limit bytesizevalue length for 8.x/7.x (#200733) 2024-11-20 15:57:29 +01:00
kbn-content-management-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-crypto Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-crypto-browser Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-custom-icons [8.x] [APM UI] Fix OpenTelemetry agent names (#193134) (#193509) 2024-09-20 04:08:36 -05:00
kbn-custom-integrations Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cypress-config [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-data-service [Discover] Improve data grid render performance (flattenHit and formatHit) (#192333) 2024-09-12 17:45:11 -03:00
kbn-data-stream-adapter [8.x] [IndexAdapter] Extract index-adapter package from data-stream-adapter (#199575) (#199848) 2024-11-12 13:52:41 -06:00
kbn-data-view-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-datemath [8.17] Update moment (main) (#206181) (#206995) 2025-01-16 20:16:03 +00:00
kbn-dev-cli-errors Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-dev-cli-runner Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-dev-proc-runner Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-dev-utils [8.x] Add ESLINT constraints to detect inter-group dependencies (#194810) (#197670) 2024-10-24 13:20:30 -07:00
kbn-discover-contextual-components [8.x] [Logs Overview] Add a flyout to show category document examples (#194867) (#197966) 2024-10-28 07:19:04 -05:00
kbn-discover-utils [8.x] [OneDiscover] Contextual App Menu Extension Point (#195448) (#198320) 2024-10-30 09:25:31 -05:00
kbn-doc-links [8.17] [AVC Banner] Updates the AVC Banner for 2025 (#205467) (#205816) 2025-01-22 20:19:30 +00:00
kbn-docs-utils [docs] Plugin optimization, case studies (#192285) 2024-09-10 14:28:18 -04:00
kbn-dom-drag-drop [8.x] [Discover] Fix SASS mixed-declations deprecation warnings (#193001) (#193198) 2024-09-17 12:52:45 -05:00
kbn-ebt-tools Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-elastic-agent-utils [8.x] [APM][OTel] Use &#x60;telemetry.sdk&#x60; as a fallback for missing &#x60;agent.name&#x60; on non-tracing data (#196529) (#196854) 2024-10-21 09:23:10 -05:00
kbn-es [8.17] Fix build_snapshot for Apple silicon laptops (#204951) (#205749) 2025-01-07 16:04:38 +00:00
kbn-es-archiver Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-es-errors Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-es-query [8.x] [Chore] Isolate CCS check (#195988) (#196869) 2024-10-18 09:53:20 -05:00
kbn-es-types [8.x] [ES|QL] Fixes the error in the console (#198307) (#198653) 2024-11-01 07:55:11 -05:00
kbn-eslint-config [8.x] Add ESLINT constraints to detect inter-group dependencies (#194810) (#197670) 2024-10-24 13:20:30 -07:00
kbn-eslint-plugin-disable [8.x] Add ESLINT constraints to detect inter-group dependencies (#194810) (#197670) 2024-10-24 13:20:30 -07:00
kbn-eslint-plugin-eslint Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-eslint-plugin-i18n Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-eslint-plugin-imports [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-eslint-plugin-telemetry Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-esql-ast [8.x] [ES|QL] Improve STATS command summary extraction (#199796) (#199970) 2024-11-18 11:37:54 +01:00
kbn-esql-editor [8.17] [ES|QL] Fixes the multiple comments bug (#203966) (#204001) 2024-12-12 06:56:56 -06:00
kbn-esql-utils [8.x] [Discover] Breakdown support for fieldstats (#199028) (#199780) 2024-11-13 11:02:40 -06:00
kbn-esql-validation-autocomplete [8.17] [ES|QL] Update the functions definitions and tests to include date_nanos (#201078) (#201277) 2024-11-21 15:57:13 -06:00
kbn-event-annotation-common Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-event-annotation-components [8.x] [EuiInMemoryTable] Persist table rows per page and sort (#198297) (#200569) 2024-11-18 09:22:33 -06:00
kbn-expandable-flyout [8.17] [Security Solution][Expandable flyout] fix flyout flickering when opening/closing left panel (#210225) (#210289) 2025-02-07 20:49:14 -06:00
kbn-expect Migrate codebase to use Object.hasOwn instead of Object.hasOwnProperty (#186829) 2024-08-13 10:30:19 -05:00
kbn-failed-test-reporter-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-field-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-field-utils [8.x] [Discover] Breakdown support for fieldstats (#199028) (#199780) 2024-11-13 11:02:40 -06:00
kbn-find-used-node-modules Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-flot-charts [8.x] [kbn/flot-charts] Use jQuery methods to build legends (#199871) (#200078) 2024-11-13 15:23:48 -06:00
kbn-formatters Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ftr-common-functional-services [8.x] [ftr] use getopts to fetch server args (#198227) (#198356) 2024-10-30 10:30:11 -05:00
kbn-ftr-common-functional-ui-services [8.x] [Dashboard] Hover actions for panels (#182535) (#197770) 2024-10-25 04:42:51 -05:00
kbn-ftr-screenshot-filename Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-generate [8.17] Restore CODEOWNERS (#201703) 2024-11-26 19:16:05 -06:00
kbn-generate-console-definitions [8.x] [Console] Update Elasticsearch specification metamodel (#193239) (#193405) 2024-09-19 07:51:06 -05:00
kbn-generate-csv Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-get-repo-files Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-grid-layout [8.x] [Dashboard] [Collapsable Panels] Add panel management API (#195513) (#199040) 2024-11-05 14:03:31 -06:00
kbn-grouping [8.x] [ResponseOps][Alerts] Don&#x27;t show empty state in grouping component while first loading (#195777) (#196106) 2024-10-14 07:36:01 -05:00
kbn-guided-onboarding [8.x] Search rename to elasticsearch (#200774) (#201011) 2024-11-20 13:05:35 -06:00
kbn-handlebars Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-hapi-mocks Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-health-gateway-server Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-i18n Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-i18n-react Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-import-locator Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-import-resolver [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-index-adapter [8.x] [IndexAdapter] Extract index-adapter package from data-stream-adapter (#199575) (#199848) 2024-11-12 13:52:41 -06:00
kbn-interpreter Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-investigation-shared [8.x] [eem] rename fields to snake case (#195895) (#197527) 2024-10-23 16:48:23 -05:00
kbn-io-ts-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ipynb Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-jest-serializers Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-journeys Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-json-ast Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-kibana-manifest-schema [8.x] Kibana Sustainable Architecture: Force &#x60;visibility: &#x27;private&#x27;&#x60; for solutions in manifest (#199452) (#199488) 2024-11-08 10:26:58 -06:00
kbn-language-documentation [8.17] [ES|QL] Update the functions definitions and tests to include date_nanos (#201078) (#201277) 2024-11-21 15:57:13 -06:00
kbn-lens-embeddable-utils [8.x] [Custom threshold/Metric threshold] [Preview chart] Sort groups by first metric and aggType combination (#199643) (#200534) 2024-11-18 06:40:51 -06:00
kbn-lens-formula-docs Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-lint-packages-cli [8.x] [codeowners] Filter kibanamachine (#199404) (#199864) 2024-11-12 14:38:18 -06:00
kbn-lint-ts-projects-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-logging Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-logging-mocks Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-managed-content-badge Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-managed-vscode-config Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-managed-vscode-config-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-management [8.x] Search rename to elasticsearch (#200774) (#201011) 2024-11-20 13:05:35 -06:00
kbn-manifest [8.x] Kibana Sustainable Architecture: Expose StatusResponse in core-status-common (#200524) (#200685) 2024-11-19 14:23:36 +01:00
kbn-mapbox-gl [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-mock-idp-plugin [8.x] chore(security, eslint): apply platform security-specific rules to all exclusively owned paths. (#195711) (#196010) 2024-10-12 11:19:03 -04:00
kbn-mock-idp-utils [8.x] chore(security, eslint): apply platform security-specific rules to all exclusively owned paths. (#195711) (#196010) 2024-10-12 11:19:03 -04:00
kbn-monaco [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-node-libs-browser-webpack-plugin [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-object-versioning Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-object-versioning-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-openapi-bundler Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-openapi-common [8.17] [Security Solution] Fixes exception item comment validation on newline chars \n (#202063) (#203708) 2024-12-12 19:51:00 -05:00
kbn-openapi-generator [8.17] [Security Solution] Fixes exception item comment validation on newline chars \n (#202063) (#203708) 2024-12-12 19:51:00 -05:00
kbn-optimizer [8.17] fix(NA): use filesystem apis on kbn/optimizer populate_bundle_cache plugin (#211231) (#211672) 2025-02-19 03:54:22 +00:00
kbn-optimizer-webpack-helpers [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-osquery-io-ts-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-panel-loader Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-peggy Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-peggy-loader [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-performance-testing-dataset-extractor Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-picomatcher Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-plugin-check Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-plugin-generator Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-plugin-helpers [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-profiling-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-react-field Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-react-hooks [8.x] [Papercut] Fix KQL parsing error text styling (#199985) (#200543) 2024-11-18 07:35:14 -06:00
kbn-recently-accessed Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-file-maps Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-info [8.x] Add ESLINT constraints to detect inter-group dependencies (#194810) (#197670) 2024-10-24 13:20:30 -07:00
kbn-repo-linter Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-packages [8.x] [kbn-repo-packages] Add sort locale (#199138) (#199198) 2024-11-06 13:56:28 -06:00
kbn-repo-path Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-source-classifier [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-repo-source-classifier-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-reporting [8.17] [Discover Session] Fix &quot;Untitled&quot; export title when exporting CSV on a dashboard (#210143) (#210881) 2025-02-24 18:40:22 +00:00
kbn-resizable-layout Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-rison Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-router-to-openapispec [8.x] [OpenAPI] Fix fleet filepath API parameter (#199538) (#200269) 2024-11-15 08:08:33 +01:00
kbn-router-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-rrule [8.17] [ResponseOps][Rules] Validate timezone in rule routes (#201508) (#208299) 2025-01-28 09:01:19 +01:00
kbn-rule-data-utils [8.x] [Synthetics] Show rules created in Obs Rules page !! (#197215) (#197411) 2024-10-23 08:18:35 -05:00
kbn-safer-lodash-set Migrate codebase to use Object.hasOwn instead of Object.hasOwnProperty (#186829) 2024-08-13 10:30:19 -05:00
kbn-saved-objects-settings Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-screenshotting-server [8.17] update puppeteer to 24.1.1 (#208477) (#209929) 2025-02-06 01:09:56 +01:00
kbn-search-api-keys-components [8.x] [Onboarding] UX Feedback - Slight Tweaks to search detail (#194873) (#196314) 2024-10-15 10:33:38 -05:00
kbn-search-api-keys-server [8.x] [Search][Onboarding] api-key plugin (#191926) (#194756) 2024-10-03 14:02:05 +02:00
kbn-search-api-panels [8.17] [Search][a11y] fix radio buttons to focus (#200573) (#201083) 2024-11-21 12:42:33 -06:00
kbn-search-connectors [8.17] [Connectors] depend Sharepoint secret_value on auth_method (#209656) (#209802) 2025-02-05 17:57:35 +01:00
kbn-search-errors Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-search-index-documents [8.17] [Search] Fix button without a11y aria-label (#201236) (#201643) 2024-11-25 12:11:38 -06:00
kbn-search-response-warnings [8.x] [ES|QL] Fixes the error in the console (#198307) (#198653) 2024-11-01 07:55:11 -05:00
kbn-search-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-security-hardening Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-autocomplete [8.x] [Security Solution] &#x60;FinalEdit&#x60;: Add fields that are common for all rule types (#196642) (#199743) 2024-11-12 05:51:58 -06:00
kbn-securitysolution-ecs Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-endpoint-exceptions-common [8.17] [Detection Engine][API Docs] Update request/response examples for value lists APIs (#205957) (#209691) 2025-02-06 20:30:26 +01:00
kbn-securitysolution-es-utils [8.x] Upgrade http dependencies (#180986) (#194616) 2024-10-01 13:37:59 -05:00
kbn-securitysolution-exception-list-components [8.x] Upgrade EUI to v97.3.1 (#199186) (#200052) 2024-11-13 23:41:26 +01:00
kbn-securitysolution-exceptions-common [8.17] [Detection Engine][API Docs] Update request/response examples for value lists APIs (#205957) (#209691) 2025-02-06 20:30:26 +01:00
kbn-securitysolution-hook-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-io-ts-alerting-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-io-ts-list-types [8.17] [EDR Workflows] Fix invalid event filter for cloud workloads (#208974) (#209284) 2025-02-03 16:17:48 +01:00
kbn-securitysolution-io-ts-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-io-ts-utils [8.x] Upgrade EUI to v97.0.0 (#195525) (#196116) 2024-10-14 08:31:39 -05:00
kbn-securitysolution-list-api Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-list-constants Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-list-hooks Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-list-utils [8.x] [Security Solution][Event Filters] Warning callout for incomplete code signature entries (#193749) (#195184) 2024-10-07 05:12:26 -05:00
kbn-securitysolution-lists-common [8.17] [Detection Engine][API Docs] Update request/response examples for value lists APIs (#205957) (#209691) 2025-02-06 20:30:26 +01:00
kbn-securitysolution-rules Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-t-grid [8.17] [Security Solution] [Timeline] Consolidate reduces, remove unneeded async/awaits, other small fixes (#197168) (#201457) 2024-11-22 14:12:38 -06:00
kbn-securitysolution-utils [8.x] [EDR Workflows] Add Signer option to Mac trusted apps (#197821) (#200566) 2024-11-18 09:08:56 -06:00
kbn-server-http-tools [8.x] Upgrade http dependencies (#180986) (#194616) 2024-10-01 13:37:59 -05:00
kbn-server-route-repository [8.17] [Authz] Removed security property from route.options types (#201352) (#201428) 2024-11-22 12:07:10 -06:00
kbn-server-route-repository-client [Inventory] Inventory plugin (#191798) 2024-09-12 15:07:09 +02:00
kbn-server-route-repository-utils [8.17] [Inventory] Change discover link to use entity definition (#201433) (#202153) 2024-11-29 08:23:46 -06:00
kbn-set-map Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-shared-svg Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-shared-ux-utility Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-some-dev-log Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-sort-package-json Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-sort-predicates [8.x] [deps] Replace compare-versions with semver (#195287) (#195494) 2024-10-08 23:11:28 +02:00
kbn-spec-to-console Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-sse-utils [Inventory] Inventory plugin (#191798) 2024-09-12 15:07:09 +02:00
kbn-sse-utils-client [Inventory] Inventory plugin (#191798) 2024-09-12 15:07:09 +02:00
kbn-sse-utils-server [Inventory] Inventory plugin (#191798) 2024-09-12 15:07:09 +02:00
kbn-std [8.x] Removes kbn-std/unset as it&#x27;s not used anywhere (#193298) (#193585) 2024-09-20 10:47:43 -05:00
kbn-stdio-dev-helpers Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-storybook [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-telemetry-tools [8.x] [APM][OTel] Make agent names generic with otel-native mode (#196522) 2024-10-16 14:22:28 +02:00
kbn-test [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-test-eui-helpers Upgrade @testing-library/user-event to latest ^14.5.2 (#189949) 2024-09-10 14:31:27 +02:00
kbn-test-jest-helpers [8.x] Upgrade EUI to v97.3.1 (#199186) (#200052) 2024-11-13 23:41:26 +01:00
kbn-test-subj-selector Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-timelion-grammar Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-timerange Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-tinymath Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-tooling-log Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-transpose-utils [8.x] [Lens][Datatable] Fix share export and inspect data (#193780) (#197696) 2024-10-24 13:35:53 -05:00
kbn-triggers-actions-ui-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-try-in-console [8.x] [Onboarding] Increasing telemetry coverage (#195741) (#195903) 2024-10-11 15:58:35 +02:00
kbn-ts-projects [Security Solution] remove old and skipped Threat Intelligence Cypress tests (#191166) 2024-09-12 08:59:56 -05:00
kbn-ts-type-check-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-typed-react-router-config [8.x] [APM][ECO] Service name and trace id links on Logs Explorer and Discover (#192349) (#193276) 2024-09-20 13:21:58 +02:00
kbn-ui-actions-browser Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ui-shared-deps-npm [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-ui-shared-deps-src [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-ui-theme Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-unified-data-table [8.17] [Data View Field] Fix popularity score bugs (#211201) (#212614) 2025-02-27 14:36:16 +00:00
kbn-unified-doc-viewer [OneDiscover][UnifiedDocViewer] Add filtering for selected fields (#191930) 2024-09-11 12:46:36 +02:00
kbn-unified-field-list [8.x] [Discover] Breakdown support for fieldstats (#199028) (#199780) 2024-11-13 11:02:40 -06:00
kbn-unsaved-changes-badge Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-unsaved-changes-prompt Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-use-tracked-promise Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-user-profile-components [8.x] chore(security, eslint): apply platform security-specific rules to all exclusively owned paths. (#195711) (#196010) 2024-10-12 11:19:03 -04:00
kbn-utility-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-utility-types-jest Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-validate-next-docs-cli [8.17] [ci] Work around docosaurus errors (#206097) (#206149) 2025-01-10 00:23:55 +00:00
kbn-visualization-ui-components [react@18] More breaking type fixes (should be the last pr) (#192266) 2024-09-12 13:54:18 +02:00
kbn-visualization-utils [8.x] [ES|QL] [Discover] Keeps the preferred chart configuration when possible (#197453) (#199069) 2024-11-06 02:04:19 -06:00
kbn-web-worker-stub Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-whereis-pkg-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-xstate-utils [8.x] [Logs Overview] Overview component (iteration 1) (attempt 2) (#195673) (#195742) 2024-10-10 14:06:41 +01:00
kbn-yarn-lock-validator Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-zod Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-zod-helpers [8.17] [Security Solution] Fixes exception item comment validation on newline chars \n (#202063) (#203708) 2024-12-12 19:51:00 -05:00
presentation [8.17] [controls] fix Korean characters split into 2 characters with space in between when typing in options list search input (#213164) (#213176) 2025-03-05 02:44:44 +01:00
react [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
response-ops [8.x] [ResponseOps][Rules] Create the rule params package (#196971) (#197367) 2024-10-23 03:28:43 -05:00
serverless [8.x] [Security Solution] Add visualization in flyout advanced setting in serverless (#196211) (#197723) 2024-10-24 17:00:03 -05:00
shared-ux [8.17] [Vega] Fix highlight for HJSON (#208858) (#209289) 2025-02-03 16:35:53 +01:00
README.md create @kbn/ui-actions-browser package (#149202) 2023-01-19 18:28:07 +01:00

Kibana-related packages

This folder contains packages that are intended for use in Kibana and Kibana plugins.

tl;dr:

  • Don't publish to npm registry
  • Always use the @kbn namespace
  • Always set "private": true in package.json

Using these packages

We no longer publish these packages to the npm registry. Now, instead of specifying a version when including these packages, we rely on yarn workspaces, which sets up a symlink to the package.

For example if you want to use the @kbn/i18n package in Kibana itself, you can specify the dependency like this:

"@kbn/i18n": "1.0.0"

However, if you want to use this from a Kibana plugin, you need to use a link: dependency and account for the relative location of the Kibana repo, so it would instead be:

"@kbn/i18n": "link:../../kibana/packages/kbn-i18n"

then run yarn kbn bootstrap from the plugin directory.

Creating a new package

Run the following command from the root of the Kibana repo:

node scripts/generate package @kbn/<PACKAGE_NAME> --web --owner @elastic/<TEAM_NAME>

Unit tests for a package

Currently there is only one tool being used in order to test packages which is Jest. Below we will explain how it should be done.

Jest

A package should follow the pattern of having .test.js files as siblings of the source code files, and these run by Jest.

A package using the .test.js naming convention will have those tests automatically picked up by Jest and run by the unit test runner, currently mapped to the Kibana test script in the root package.json.

  • yarn test runs all unit tests.
  • yarn jest runs all Jest tests in Kibana.

In order for the plugin or package to use Jest, a jest.config.js file must be present in it's root. However, there are safeguards for this in CI should a test file be added without a corresponding config file.


Each package can also specify its own test script in the package's package.json, for cases where you'd prefer to run the tests from the local package directory.