Skip to content

Commit 238bc64

Browse files
Merge branch 'master' into environment-alert
2 parents c509062 + 5e5ad19 commit 238bc64

File tree

368 files changed

+7155
-3973
lines changed

Some content is hidden

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

368 files changed

+7155
-3973
lines changed

.eslintrc.js

Lines changed: 0 additions & 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
{

.i18nrc.json

Lines changed: 1 addition & 1 deletion
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",
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

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
@@ -28,7 +28,6 @@ export declare class IndexPattern implements IIndexPattern
2828
| [formatHit](./kibana-plugin-plugins-data-public.indexpattern.formathit.md) | | <code>any</code> | |
2929
| [id](./kibana-plugin-plugins-data-public.indexpattern.id.md) | | <code>string</code> | |
3030
| [metaFields](./kibana-plugin-plugins-data-public.indexpattern.metafields.md) | | <code>string[]</code> | |
31-
| [routes](./kibana-plugin-plugins-data-public.indexpattern.routes.md) | | <code>{</code><br/><code> edit: string;</code><br/><code> addField: string;</code><br/><code> indexedFields: string;</code><br/><code> scriptedFields: string;</code><br/><code> sourceFilters: string;</code><br/><code> }</code> | |
3231
| [timeFieldName](./kibana-plugin-plugins-data-public.indexpattern.timefieldname.md) | | <code>string &#124; undefined</code> | |
3332
| [title](./kibana-plugin-plugins-data-public.indexpattern.title.md) | | <code>string</code> | |
3433
| [type](./kibana-plugin-plugins-data-public.indexpattern.type.md) | | <code>string</code> | |

0 commit comments

Comments
 (0)