Skip to content

Commit

Permalink
Merge branch 'main' into telemetry-depending-on-security
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine committed Feb 27, 2022
2 parents 5b48f6e + d499ed5 commit 738cf14
Show file tree
Hide file tree
Showing 696 changed files with 14,951 additions and 10,814 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/backport-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
pull_request_target:
branches:
- main
types:
- labeled
- closed

jobs:
backport:
name: Backport PR
runs-on: ubuntu-latest
if: |
github.event.pull_request.merged == true
&& contains(github.event.pull_request.labels.*.name, 'auto-backport-next')
&& (
(github.event.action == 'labeled' && github.event.label.name == 'auto-backport-next')
|| (github.event.action == 'closed')
)
steps:
- name: Backport Action
uses: sqren/backport-github-action@v7.3.1
with:
github_token: ${{secrets.KIBANAMACHINE_TOKEN}}

- name: Backport log
run: cat /home/runner/.backport/backport.log
15 changes: 13 additions & 2 deletions docs/discover/document-explorer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,19 @@ beta::[]
*Discover* has a *Document Explorer* with resizable columns, better data sorting and comparison,
and a fullscreen view.

[role="screenshot"]
image::images/document-explorer.png[Document Explorer with improved look over classic view]
++++
<script type="text/javascript" async src="https://play.vidyard.com/embed/v4.js">
</script>
<img
style="width: 100%; margin: auto; display: block;"
class="vidyard-player-embed"
src="https://play.vidyard.com/BgbLpBo3qvPZvtXrwZoNuD.jpg"
data-uuid="BgbLpBo3qvPZvtXrwZoNuD"
data-v="4"
data-type="inline"
/>
</br>
++++

To use the *Document Explorer* instead of the classic document table:

Expand Down
Binary file removed docs/discover/images/document-explorer.png
Binary file not shown.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"@elastic/apm-synthtrace": "link:bazel-bin/packages/elastic-apm-synthtrace",
"@elastic/charts": "43.1.1",
"@elastic/datemath": "link:bazel-bin/packages/elastic-datemath",
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.1.0-canary.2",
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.1.0-canary.3",
"@elastic/ems-client": "8.0.0",
"@elastic/eui": "48.1.1",
"@elastic/filesaver": "1.1.2",
Expand Down Expand Up @@ -218,7 +218,7 @@
"constate": "^1.3.2",
"content-disposition": "0.5.3",
"copy-to-clipboard": "^3.0.8",
"core-js": "^3.21.0",
"core-js": "^3.21.1",
"cronstrue": "^1.51.0",
"cytoscape": "^3.10.0",
"cytoscape-dagre": "^2.2.2",
Expand Down Expand Up @@ -733,7 +733,7 @@
"babel-plugin-require-context-hook": "^1.0.0",
"babel-plugin-styled-components": "^2.0.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"backport": "7.0.1",
"backport": "^7.3.1",
"callsites": "^3.1.0",
"chai": "3.5.0",
"chance": "1.0.18",
Expand Down
5 changes: 1 addition & 4 deletions packages/elastic-apm-synthtrace/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",

PKG_BASE_NAME = "elastic-apm-synthtrace"
PKG_REQUIRE_NAME = "@elastic/apm-synthtrace"
TYPES_PKG_REQUIRE_NAME = "@types/elastic__apm-synthtrace"

SOURCE_FILES = glob(
[
Expand Down Expand Up @@ -67,11 +66,9 @@ ts_project(
srcs = SRCS,
deps = TYPES_DEPS,
declaration = True,
declaration_map = True,
emit_declaration_only = True,
out_dir = "target_types",
root_dir = "src",
source_map = True,
tsconfig = ":tsconfig",
validate = False,
)
Expand Down Expand Up @@ -103,7 +100,7 @@ pkg_npm_types(
name = "npm_module_types",
srcs = SRCS,
deps = [":tsc_types"],
package_name = TYPES_PKG_REQUIRE_NAME,
package_name = PKG_REQUIRE_NAME,
tsconfig = ":tsconfig",
visibility = ["//visibility:public"],
)
Expand Down
3 changes: 0 additions & 3 deletions packages/elastic-apm-synthtrace/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
"extends": "../../tsconfig.bazel.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"outDir": "target_types",
"rootDir": "./src",
"sourceMap": true,
"sourceRoot": "../../../../packages/elastic-apm-synthtrace/src",
"types": ["node", "jest"]
},
"include": ["./src/**/*.ts"]
Expand Down
5 changes: 1 addition & 4 deletions packages/elastic-datemath/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "ts_project", "pkg_npm", "p

PKG_BASE_NAME = "elastic-datemath"
PKG_REQUIRE_NAME = "@elastic/datemath"
TYPES_PKG_REQUIRE_NAME = "@types/elastic__datemath"

SOURCE_FILES = glob([
"src/index.ts",
Expand Down Expand Up @@ -50,10 +49,8 @@ ts_project(
srcs = SRCS,
deps = TYPES_DEPS,
declaration = True,
declaration_map = True,
emit_declaration_only = True,
out_dir = "target_types",
source_map = True,
root_dir = "src",
tsconfig = ":tsconfig"
)
Expand Down Expand Up @@ -85,7 +82,7 @@ pkg_npm_types(
name = "npm_module_types",
srcs = SRCS,
deps = [":tsc_types"],
package_name = TYPES_PKG_REQUIRE_NAME,
package_name = PKG_REQUIRE_NAME,
tsconfig = ":tsconfig",
visibility = ["//visibility:public"],
)
Expand Down
3 changes: 0 additions & 3 deletions packages/elastic-datemath/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
"extends": "../../tsconfig.bazel.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"outDir": "target_types",
"rootDir": "src",
"sourceMap": true,
"sourceRoot": "../../../../packages/elastic-datemath/src",
"types": [
"node"
]
Expand Down
5 changes: 1 addition & 4 deletions packages/kbn-ace/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",

PKG_BASE_NAME = "kbn-ace"
PKG_REQUIRE_NAME = "@kbn/ace"
TYPES_PKG_REQUIRE_NAME = "@types/kbn__ace"

SOURCE_FILES = glob(
[
Expand Down Expand Up @@ -68,10 +67,8 @@ ts_project(
srcs = SRCS,
deps = TYPES_DEPS,
declaration = True,
declaration_map = True,
emit_declaration_only = True,
out_dir = "target_types",
source_map = True,
root_dir = "src",
tsconfig = ":tsconfig",
)
Expand Down Expand Up @@ -103,7 +100,7 @@ pkg_npm_types(
name = "npm_module_types",
srcs = SRCS,
deps = [":tsc_types"],
package_name = TYPES_PKG_REQUIRE_NAME,
package_name = PKG_REQUIRE_NAME,
tsconfig = ":tsconfig",
visibility = ["//visibility:public"],
)
Expand Down
3 changes: 0 additions & 3 deletions packages/kbn-ace/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
"extends": "../../tsconfig.bazel.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"outDir": "./target_types",
"sourceMap": true,
"sourceRoot": "../../../../packages/kbn-ace/src",
"stripInternal": true,
"types": ["node"]
},
Expand Down
5 changes: 1 addition & 4 deletions packages/kbn-alerts/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",

PKG_BASE_NAME = "kbn-alerts"
PKG_REQUIRE_NAME = "@kbn/alerts"
TYPES_PKG_REQUIRE_NAME = "@types/kbn__alerts"

SOURCE_FILES = glob(
[
Expand Down Expand Up @@ -74,11 +73,9 @@ ts_project(
srcs = SRCS,
deps = TYPES_DEPS,
declaration = True,
declaration_map = True,
emit_declaration_only = True,
out_dir = "target_types",
root_dir = "src",
source_map = True,
tsconfig = ":tsconfig",
)

Expand Down Expand Up @@ -109,7 +106,7 @@ pkg_npm_types(
name = "npm_module_types",
srcs = SRCS,
deps = [":tsc_types"],
package_name = TYPES_PKG_REQUIRE_NAME,
package_name = PKG_REQUIRE_NAME,
tsconfig = ":tsconfig",
visibility = ["//visibility:public"],
)
Expand Down
3 changes: 0 additions & 3 deletions packages/kbn-alerts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
"extends": "../../tsconfig.bazel.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"outDir": "target_types",
"rootDir": "src",
"sourceMap": true,
"sourceRoot": "../../../../packages/kbn-alerts/src",
"types": ["jest", "node"]
},
"include": ["src/**/*"],
Expand Down
5 changes: 1 addition & 4 deletions packages/kbn-analytics/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",

PKG_BASE_NAME = "kbn-analytics"
PKG_REQUIRE_NAME = "@kbn/analytics"
TYPES_PKG_REQUIRE_NAME = "@types/kbn__analytics"

SOURCE_FILES = glob(
[
Expand Down Expand Up @@ -71,11 +70,9 @@ ts_project(
srcs = SRCS,
deps = TYPES_DEPS,
declaration = True,
declaration_map = True,
emit_declaration_only = True,
out_dir = "target_types",
root_dir = "src",
source_map = True,
tsconfig = ":tsconfig",
)

Expand Down Expand Up @@ -106,7 +103,7 @@ pkg_npm_types(
name = "npm_module_types",
srcs = SRCS,
deps = [":tsc_types"],
package_name = TYPES_PKG_REQUIRE_NAME,
package_name = PKG_REQUIRE_NAME,
tsconfig = ":tsconfig",
visibility = ["//visibility:public"],
)
Expand Down
3 changes: 0 additions & 3 deletions packages/kbn-analytics/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
"extends": "../../tsconfig.bazel.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"isolatedModules": true,
"outDir": "./target_types",
"sourceMap": true,
"sourceRoot": "../../../../../packages/kbn-analytics/src",
"stripInternal": true,
"types": [
"node"
Expand Down
5 changes: 1 addition & 4 deletions packages/kbn-apm-config-loader/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",

PKG_BASE_NAME = "kbn-apm-config-loader"
PKG_REQUIRE_NAME = "@kbn/apm-config-loader"
TYPES_PKG_REQUIRE_NAME = "@types/kbn__apm-config-loader"

SOURCE_FILES = glob(
[
Expand Down Expand Up @@ -66,10 +65,8 @@ ts_project(
srcs = SRCS,
deps = TYPES_DEPS,
declaration = True,
declaration_map = True,
emit_declaration_only = True,
out_dir = "target_types",
source_map = True,
root_dir = "src",
tsconfig = ":tsconfig",
)
Expand Down Expand Up @@ -101,7 +98,7 @@ pkg_npm_types(
name = "npm_module_types",
srcs = SRCS,
deps = [":tsc_types"],
package_name = TYPES_PKG_REQUIRE_NAME,
package_name = PKG_REQUIRE_NAME,
tsconfig = ":tsconfig",
visibility = ["//visibility:public"],
)
Expand Down
3 changes: 0 additions & 3 deletions packages/kbn-apm-config-loader/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
"extends": "../../tsconfig.bazel.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"outDir": "./target_types",
"rootDir": "./src",
"sourceMap": true,
"sourceRoot": "../../../../packages/kbn-apm-config-loader/src",
"stripInternal": false,
"types": [
"jest",
Expand Down
5 changes: 1 addition & 4 deletions packages/kbn-apm-utils/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",

PKG_BASE_NAME = "kbn-apm-utils"
PKG_REQUIRE_NAME = "@kbn/apm-utils"
TYPES_PKG_REQUIRE_NAME = "@types/kbn__apm-utils"

SOURCE_FILES = glob([
"src/index.ts",
Expand Down Expand Up @@ -51,10 +50,8 @@ ts_project(
srcs = SRCS,
deps = TYPES_DEPS,
declaration = True,
declaration_map = True,
emit_declaration_only = True,
out_dir = "target_types",
source_map = True,
root_dir = "src",
tsconfig = ":tsconfig",
)
Expand Down Expand Up @@ -86,7 +83,7 @@ pkg_npm_types(
name = "npm_module_types",
srcs = SRCS,
deps = [":tsc_types"],
package_name = TYPES_PKG_REQUIRE_NAME,
package_name = PKG_REQUIRE_NAME,
tsconfig = ":tsconfig",
visibility = ["//visibility:public"],
)
Expand Down
3 changes: 0 additions & 3 deletions packages/kbn-apm-utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
"extends": "../../tsconfig.bazel.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"outDir": "target_types",
"rootDir": "src",
"sourceMap": true,
"sourceRoot": "../../../../packages/kbn-apm-utils/src",
"types": [
"node"
]
Expand Down
5 changes: 1 addition & 4 deletions packages/kbn-cli-dev-mode/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types",

PKG_BASE_NAME = "kbn-cli-dev-mode"
PKG_REQUIRE_NAME = "@kbn/cli-dev-mode"
TYPES_PKG_REQUIRE_NAME = "@types/kbn__cli-dev-mode"

SOURCE_FILES = glob(
[
Expand Down Expand Up @@ -93,11 +92,9 @@ ts_project(
srcs = SRCS,
deps = TYPES_DEPS,
declaration = True,
declaration_map = True,
emit_declaration_only = True,
out_dir = "target_types",
root_dir = "src",
source_map = True,
tsconfig = ":tsconfig",
)

Expand Down Expand Up @@ -128,7 +125,7 @@ pkg_npm_types(
name = "npm_module_types",
srcs = SRCS,
deps = [":tsc_types"],
package_name = TYPES_PKG_REQUIRE_NAME,
package_name = PKG_REQUIRE_NAME,
tsconfig = ":tsconfig",
visibility = ["//visibility:public"],
)
Expand Down
Loading

0 comments on commit 738cf14

Please sign in to comment.