Skip to content

Commit 6de27c0

Browse files
committed
Merge branch 'master' of github.com:elastic/kibana into example/refToValEmbeddable
2 parents c44775b + 736e64c commit 6de27c0

File tree

1,095 files changed

+26265
-12204
lines changed

Some content is hidden

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

1,095 files changed

+26265
-12204
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ module.exports = {
888888
{
889889
// typescript only for front and back end
890890
files: [
891-
'x-pack/{,legacy/}plugins/{alerting,alerting_builtins,actions,task_manager,event_log}/**/*.{ts,tsx}',
891+
'x-pack/{,legacy/}plugins/{alerts,alerting_builtins,actions,task_manager,event_log}/**/*.{ts,tsx}',
892892
],
893893
rules: {
894894
'@typescript-eslint/no-explicit-any': 'error',

.github/CODEOWNERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,19 @@
170170

171171
# Kibana Telemetry
172172
/packages/kbn-analytics/ @elastic/kibana-telemetry
173+
/packages/kbn-telemetry-tools/ @elastic/kibana-telemetry
173174
/src/plugins/kibana_usage_collection/ @elastic/kibana-telemetry
174175
/src/plugins/newsfeed/ @elastic/kibana-telemetry
175176
/src/plugins/telemetry/ @elastic/kibana-telemetry
176177
/src/plugins/telemetry_collection_manager/ @elastic/kibana-telemetry
177178
/src/plugins/telemetry_management_section/ @elastic/kibana-telemetry
178179
/src/plugins/usage_collection/ @elastic/kibana-telemetry
179180
/x-pack/plugins/telemetry_collection_xpack/ @elastic/kibana-telemetry
181+
/.telemetryrc.json @elastic/kibana-telemetry
182+
/x-pack/.telemetryrc.json @elastic/kibana-telemetry
183+
src/plugins/telemetry/schema/legacy_oss_plugins.json @elastic/kibana-telemetry
184+
src/plugins/telemetry/schema/oss_plugins.json @elastic/kibana-telemetry
185+
x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @elastic/kibana-telemetry
180186

181187
# Kibana Alerting Services
182188
/x-pack/plugins/alerts/ @elastic/kibana-alerting-services

.telemetryrc.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[
2+
{
3+
"output": "src/plugins/telemetry/schema/legacy_oss_plugins.json",
4+
"root": "src/legacy/core_plugins/",
5+
"exclude": [
6+
"src/legacy/core_plugins/testbed",
7+
"src/legacy/core_plugins/elasticsearch",
8+
"src/legacy/core_plugins/tests_bundle"
9+
]
10+
},
11+
{
12+
"output": "src/plugins/telemetry/schema/oss_plugins.json",
13+
"root": "src/plugins/",
14+
"exclude": [
15+
"src/plugins/kibana_react/",
16+
"src/plugins/testbed/",
17+
"src/plugins/kibana_utils/",
18+
"src/plugins/kibana_usage_collection/server/collectors/kibana/kibana_usage_collector.ts",
19+
"src/plugins/kibana_usage_collection/server/collectors/application_usage/telemetry_application_usage_collector.ts",
20+
"src/plugins/kibana_usage_collection/server/collectors/management/telemetry_management_collector.ts",
21+
"src/plugins/kibana_usage_collection/server/collectors/ui_metric/telemetry_ui_metric_collector.ts",
22+
"src/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts"
23+
]
24+
}
25+
]

docs/apm/apm-alerts.asciidoc

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,20 @@ and enables central management of all alerts from <<management,Kibana Management
1515
[role="screenshot"]
1616
image::apm/images/apm-alert.png[Create an alert in the APM app]
1717

18-
There are two different types of threshold alerts: transaction duration, and error rate.
18+
For a walkthrough of the alert flyout panel, including detailed information on each configurable property,
19+
see Kibana's <<defining-alerts,defining alerts>>.
20+
21+
The APM app supports two different types of threshold alerts: transaction duration, and error rate.
1922
Below, we'll create one of each.
2023

2124
[float]
2225
[[apm-create-transaction-alert]]
2326
=== Create a transaction duration alert
2427

25-
This guide creates an alert for the `opbeans-java` service based on the following criteria:
28+
Transaction duration alerts trigger when the duration of a specific transaction type in a service exceeds a defined threshold.
29+
This guide will create an alert for the `opbeans-java` service based on the following criteria:
2630

31+
* Environment: Production
2732
* Transaction type: `transaction.type:request`
2833
* Average request is above `1500ms` for the last 5 minutes
2934
* Check every 10 minutes, and repeat the alert every 30 minutes
@@ -52,14 +57,22 @@ Enter a name for the connector,
5257
and paste the webhook URL.
5358
See Slack's webhook documentation if you need to create one.
5459

60+
Add a message body in markdown format.
61+
You can use the https://mustache.github.io/[Mustache] template syntax, i.e., `{{variable}}`
62+
to pass alert values at the time a condition is detected to an action.
63+
A list of available variables can be accessed by selecting the
64+
**add variable** button image:apm/images/add-variable.png[add variable button].
65+
5566
Select **Save**. The alert has been created and is now active!
5667

5768
[float]
5869
[[apm-create-error-alert]]
5970
=== Create an error rate alert
6071

72+
Error rate alerts trigger when the number of errors in a service exceeds a defined threshold.
6173
This guide creates an alert for the `opbeans-python` service based on the following criteria:
6274

75+
* Environment: Production
6376
* Error rate is above 25 for the last minute
6477
* Check every 1 minute, and repeat the alert every 10 minutes
6578
* Send the alert via email to the `opbeans-python` team
@@ -81,6 +94,12 @@ Based on the alert criteria, define the following alert details:
8194
Select the **Email** action type and click **Create a connector**.
8295
Fill out the required details: sender, host, port, etc., and click **save**.
8396

97+
Add a message body in markdown format.
98+
You can use the https://mustache.github.io/[Mustache] template syntax, i.e., `{{variable}}`
99+
to pass alert values at the time a condition is detected to an action.
100+
A list of available variables can be accessed by selecting the
101+
**add variable** button image:apm/images/add-variable.png[add variable button].
102+
84103
Select **Save**. The alert has been created and is now active!
85104

86105
[float]

docs/apm/images/add-variable.png

3.95 KB
Loading

docs/development/core/public/kibana-plugin-core-public.publicappinfo.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@ Public information about a registered [application](./kibana-plugin-core-public.
1111
```typescript
1212
export declare type PublicAppInfo = Omit<App, 'mount' | 'updater$'> & {
1313
legacy: false;
14+
status: AppStatus;
15+
navLinkStatus: AppNavLinkStatus;
16+
appRoute: string;
1417
};
1518
```

docs/development/core/public/kibana-plugin-core-public.publiclegacyappinfo.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ Information about a registered [legacy application](./kibana-plugin-core-public.
1111
```typescript
1212
export declare type PublicLegacyAppInfo = Omit<LegacyApp, 'updater$'> & {
1313
legacy: true;
14+
status: AppStatus;
15+
navLinkStatus: AppNavLinkStatus;
1416
};
1517
```

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

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

docs/development/core/server/kibana-plugin-core-server.clusterclient._constructor_.md

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

docs/development/core/server/kibana-plugin-core-server.clusterclient.asscoped.md

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

0 commit comments

Comments
 (0)