Skip to content

Commit d5db352

Browse files
committed
Merge branch 'master' into timeline-manager-tweaks
2 parents 1f4be92 + c294485 commit d5db352

File tree

579 files changed

+8675
-6816
lines changed

Some content is hidden

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

579 files changed

+8675
-6816
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',

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/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.

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

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

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

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

docs/development/core/server/kibana-plugin-core-server.elasticsearcherror._code_.md

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

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

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

0 commit comments

Comments
 (0)