Skip to content

Commit d28eaba

Browse files
Merge branch 'master' into stale-filters
2 parents bb03b50 + b180fd3 commit d28eaba

825 files changed

Lines changed: 14246 additions & 6709 deletions

File tree

Some content is hidden

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

.backportrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
],
2626
"targetPRLabels": ["backport"],
2727
"branchLabelMapping": {
28-
"^v7.8.0$": "7.x",
28+
"^v7.9.0$": "7.x",
2929
"^v(\\d+).(\\d+).\\d+$": "$1.$2"
3030
}
3131
}

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ module.exports = {
112112
files: ['x-pack/plugins/lens/**/*.{js,ts,tsx}'],
113113
rules: {
114114
'react-hooks/exhaustive-deps': 'off',
115-
'react-hooks/rules-of-hooks': 'off',
116115
},
117116
},
118117
{
@@ -238,6 +237,7 @@ module.exports = {
238237
],
239238
from: [
240239
'(src|x-pack)/plugins/**/(public|server)/**/*',
240+
'!(src|x-pack)/plugins/**/(public|server)/mocks/index.{js,ts}',
241241
'!(src|x-pack)/plugins/**/(public|server)/(index|mocks).{js,ts,tsx}',
242242
],
243243
allowSameFolder: true,

.i18nrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"kibana_utils": "src/plugins/kibana_utils",
3535
"navigation": "src/plugins/navigation",
3636
"newsfeed": "src/plugins/newsfeed",
37-
"regionMap": "src/legacy/core_plugins/region_map",
37+
"regionMap": "src/plugins/region_map",
3838
"savedObjects": "src/plugins/saved_objects",
3939
"savedObjectsManagement": "src/plugins/saved_objects_management",
4040
"server": "src/legacy/server",
@@ -43,7 +43,7 @@
4343
"src/plugins/telemetry",
4444
"src/plugins/telemetry_management_section"
4545
],
46-
"tileMap": "src/legacy/core_plugins/tile_map",
46+
"tileMap": "src/plugins/tile_map",
4747
"timelion": ["src/legacy/core_plugins/timelion", "src/plugins/vis_type_timelion"],
4848
"uiActions": "src/plugins/ui_actions",
4949
"visDefaultEditor": "src/plugins/vis_default_editor",
477 KB
Loading

docs/apm/images/green-service.png

4.36 KB
Loading

docs/apm/images/red-service.png

5.24 KB
Loading

docs/apm/images/service-maps.png

222 KB
Loading

docs/apm/images/yellow-service.png

4.32 KB
Loading

docs/apm/machine-learning.asciidoc

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,31 @@
66
<titleabbrev>Integrate with machine learning</titleabbrev>
77
++++
88

9-
The Machine Learning integration will initiate a new job predefined to calculate anomaly scores on transaction response times.
10-
The response time graph will show the expected bounds and add an annotation when the anomaly score is 75 or above.
11-
Jobs can be created per transaction type, and based on the average response time.
12-
Manage jobs in the *Machine Learning jobs management*.
9+
The Machine Learning integration initiates a new job predefined to calculate anomaly scores on APM transaction durations.
10+
Jobs can be created per transaction type, and are based on the service's average response time.
11+
12+
After a machine learning job is created, results are shown in two places:
13+
14+
The transaction duration graph will show the expected bounds and add an annotation when the anomaly score is 75 or above.
15+
16+
[role="screenshot"]
17+
image::apm/images/apm-ml-integration.png[Example view of anomaly scores on response times in the APM app]
18+
19+
Service maps will display a color-coded anomaly indicator based on the detected anomaly score.
1320

1421
[role="screenshot"]
15-
image::apm/images/apm-ml-integration.png[Example view of anomaly scores on response times in APM app in Kibana]
22+
image::apm/images/apm-service-map-anomaly.png[Example view of anomaly scores on service maps in the APM app]
1623

1724
[float]
1825
[[create-ml-integration]]
1926
=== Create a new machine learning job
2027

2128
To enable machine learning anomaly detection, first choose a service to monitor.
2229
Then, select **Integrations** > **Enable ML anomaly detection** and click **Create job**.
30+
2331
That's it! After a few minutes, the job will begin calculating results;
2432
it might take additional time for results to appear on your graph.
33+
Jobs can be managed in *Machine Learning jobs management*.
2534

2635
APM specific anomaly detection wizards are also available for certain Agents.
2736
See the machine learning {ml-docs}/ootb-ml-jobs-apm.html[APM anomaly detection configurations] for more information.

docs/apm/service-maps.asciidoc

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ Please use Chrome or Firefox if available.
99

1010
A service map is a real-time visual representation of the instrumented services in your application's architecture.
1111
It shows you how these services are connected, along with high-level metrics like average transaction duration,
12-
requests per minute, and errors per minute, that allow you to quickly assess the status of your services.
12+
requests per minute, and errors per minute.
13+
If enabled, service maps also integrate with machine learning--for real time health indicators based on anomaly detection scores.
14+
All of these features can help you to quickly and visually assess the status and health of your services.
1315

1416
We currently surface two types of service maps:
1517

@@ -52,6 +54,26 @@ Additional filters are not currently available for service maps.
5254
[role="screenshot"]
5355
image::apm/images/service-maps-java.png[Example view of service maps with Java highlighted in the APM app in Kibana]
5456

57+
[float]
58+
[[service-map-anomaly-detection]]
59+
=== Anomaly detection with machine learning
60+
61+
Machine learning jobs can be created to calculate anomaly scores on APM transaction durations within the selected service.
62+
When these jobs are active, service maps will display a color-coded anomaly indicator based on the detected anomaly score:
63+
64+
[horizontal]
65+
image:apm/images/green-service.png[APM green service]:: Max anomaly score **<=25**. Service is healthy.
66+
image:apm/images/yellow-service.png[APM yellow service]:: Max anomaly score **26-74**. Anomalous activity detected. Service may be degraded.
67+
image:apm/images/red-service.png[APM red service]:: Max anomaly score **>=75**. Anomalous activity detected. Service is unhealthy.
68+
69+
[role="screenshot"]
70+
image::apm/images/apm-service-map-anomaly.png[Example view of anomaly scores on service maps in the APM app]
71+
72+
If an anomaly has been detected, click *view anomalies* to view the anomaly detection metric viewier in the Machine learning app.
73+
This time series analysis will display additional details on the severity and time of the detected anomalies.
74+
75+
To learn how to create a machine learning job, see <<machine-learning-integration,machine learning integration>>.
76+
5577
[float]
5678
[[service-maps-legend]]
5779
=== Legend

0 commit comments

Comments
 (0)