Skip to content

Commit b975fbf

Browse files
committed
Merge remote-tracking branch 'upstream/master' into pipeline-tasks
2 parents b71e339 + e7c54d3 commit b975fbf

File tree

538 files changed

+18796
-6306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

538 files changed

+18796
-6306
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
/x-pack/plugins/licensing/ @elastic/kibana-platform
145145
/x-pack/plugins/global_search/ @elastic/kibana-platform
146146
/x-pack/plugins/cloud/ @elastic/kibana-platform
147+
/x-pack/test/saved_objects_field_count/ @elastic/kibana-platform
147148
/packages/kbn-config-schema/ @elastic/kibana-platform
148149
/src/legacy/server/config/ @elastic/kibana-platform
149150
/src/legacy/server/http/ @elastic/kibana-platform

docs/apm/api.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ allowing you to easily see how these events are impacting the performance of you
355355

356356
By default, annotations are stored in a newly created `observability-annotations` index.
357357
The name of this index can be changed in your `config.yml` by editing `xpack.observability.annotations.index`.
358+
If you change the default index name, you'll also need to <<apm-app-annotation-user-create,update your user privileges>> accordingly.
358359

359360
The following APIs are available:
360361

docs/apm/apm-app-users.asciidoc

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
:beat_default_index_prefix: apm
66
:beat_kib_app: APM app
7-
:annotation_index: `observability-annotations`
7+
:annotation_index: observability-annotations
88

99
++++
1010
<titleabbrev>Users and privileges</titleabbrev>
@@ -102,6 +102,54 @@ Here are two examples:
102102
*********************************** ***********************************
103103
////
104104

105+
[role="xpack"]
106+
[[apm-app-annotation-user-create]]
107+
=== APM app annotation user
108+
109+
++++
110+
<titleabbrev>Create an annotation user</titleabbrev>
111+
++++
112+
113+
NOTE: By default, the `apm_user` built-in role provides access to Observability annotations.
114+
You only need to create an annotation user if the default annotation index
115+
defined in <<apm-settings-kb,`xpack.observability.annotations.index`>> has been customized.
116+
117+
[[apm-app-annotation-user]]
118+
==== Annotation user
119+
120+
View deployment annotations in the APM app.
121+
122+
. Create a new role, named something like `annotation_user`,
123+
and assign the following privileges:
124+
+
125+
[options="header"]
126+
|====
127+
|Type | Privilege | Purpose
128+
129+
|Index
130+
|`read` on +\{ANNOTATION_INDEX\}+^1^
131+
|Read-only access to the observability annotation index
132+
133+
|Index
134+
|`view_index_metadata` on +\{ANNOTATION_INDEX\}+^1^
135+
|Read-only access to observability annotation index metadata
136+
|====
137+
+
138+
^1^ +\{ANNOTATION_INDEX\}+ should be the index name you've defined in
139+
<<apm-settings-kb,`xpack.observability.annotations.index`>>.
140+
141+
. Assign the `annotation_user` created previously, and the built-in roles necessary to create
142+
a <<apm-app-reader-full,full>> or <<apm-app-reader-partial,partial>> APM reader to any users that need to view annotations in the APM app
143+
144+
[[apm-app-annotation-api]]
145+
==== Annotation API
146+
147+
See <<apm-app-api-user>>.
148+
149+
////
150+
*********************************** ***********************************
151+
////
152+
105153
[role="xpack"]
106154
[[apm-app-central-config-user]]
107155
=== APM app central config user

docs/development/core/server/kibana-plugin-core-server.httpserverinfo.host.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/development/core/server/kibana-plugin-core-server.httpserverinfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface HttpServerInfo
1515

1616
| Property | Type | Description |
1717
| --- | --- | --- |
18-
| [host](./kibana-plugin-core-server.httpserverinfo.host.md) | <code>string</code> | The hostname of the server |
18+
| [hostname](./kibana-plugin-core-server.httpserverinfo.hostname.md) | <code>string</code> | The hostname of the server |
1919
| [name](./kibana-plugin-core-server.httpserverinfo.name.md) | <code>string</code> | The name of the Kibana server |
2020
| [port](./kibana-plugin-core-server.httpserverinfo.port.md) | <code>number</code> | The port the server is listening on |
2121
| [protocol](./kibana-plugin-core-server.httpserverinfo.protocol.md) | <code>'http' &#124; 'https' &#124; 'socket'</code> | The protocol used by the server |

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpattern.destroy.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpattern.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ export declare class IndexPattern implements IIndexPattern
3939
| [\_fetchFields()](./kibana-plugin-plugins-data-public.indexpattern._fetchfields.md) | | |
4040
| [addScriptedField(name, script, fieldType, lang)](./kibana-plugin-plugins-data-public.indexpattern.addscriptedfield.md) | | |
4141
| [create(allowOverride)](./kibana-plugin-plugins-data-public.indexpattern.create.md) | | |
42-
| [destroy()](./kibana-plugin-plugins-data-public.indexpattern.destroy.md) | | |
4342
| [getAggregationRestrictions()](./kibana-plugin-plugins-data-public.indexpattern.getaggregationrestrictions.md) | | |
4443
| [getComputedFields()](./kibana-plugin-plugins-data-public.indexpattern.getcomputedfields.md) | | |
4544
| [getFieldByName(name)](./kibana-plugin-plugins-data-public.indexpattern.getfieldbyname.md) | | |

docs/user/alerting/action-types/pre-configured-connectors.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ two out-of-the box connectors: <<slack-action-type, Slack>> and <<webhook-action
2828
my-slack1: <1>
2929
actionTypeId: .slack <2>
3030
name: 'Slack #xyz' <3>
31-
secrets: <4>
31+
secrets:
3232
webhookUrl: 'https://hooks.slack.com/services/abcd/efgh/ijklmnopqrstuvwxyz'
3333
webhook-service:
3434
actionTypeId: .webhook
3535
name: 'Email service'
36-
config:
36+
config: <4>
3737
url: 'https://email-alert-service.elastic.co'
3838
method: post
3939
headers:

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"@babel/plugin-transform-modules-commonjs": "^7.10.1",
124124
"@babel/register": "^7.10.1",
125125
"@elastic/apm-rum": "^5.2.0",
126-
"@elastic/charts": "19.7.0",
126+
"@elastic/charts": "19.8.0",
127127
"@elastic/datemath": "5.0.3",
128128
"@elastic/ems-client": "7.9.3",
129129
"@elastic/eui": "24.1.0",
@@ -455,9 +455,10 @@
455455
"is-path-inside": "^2.1.0",
456456
"istanbul-instrumenter-loader": "3.0.1",
457457
"jest": "^25.5.4",
458-
"jest-environment-jsdom-thirteen": "^1.0.1",
458+
"jest-canvas-mock": "^2.2.0",
459459
"jest-circus": "^25.5.4",
460460
"jest-cli": "^25.5.4",
461+
"jest-environment-jsdom-thirteen": "^1.0.1",
461462
"jest-raw-loader": "^1.0.1",
462463
"jimp": "^0.9.6",
463464
"json5": "^1.0.1",

packages/kbn-optimizer/src/integration_tests/__snapshots__/basic_optimization.test.ts.snap

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)