You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: raw-migrated-files/observability-docs/observability/apm-anomaly-rule.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ navigation_title: "APM Anomaly"
6
6
7
7
8
8
::::{important}
9
-
To use the APM Anomaly rule, you have to enable [machine learning](../../../solutions/observability/apps/integrate-with-machine-learning.md#create-ml-integration), which requires an [appropriate license](https://www.elastic.co/subscriptions).
9
+
To use the APM Anomaly rule, you have to enable [machine learning](../../../solutions/observability/apps/integrate-with-machine-learning.md#observability-apm-integrate-with-machine-learning-enable-anomaly-detection), which requires an [appropriate license](https://www.elastic.co/subscriptions).
Copy file name to clipboardExpand all lines: raw-migrated-files/observability-docs/observability/apm-machine-learning-integration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,6 @@ To make machine learning as easy as possible to set up, the Applications UI will
66
66
67
67
After enabling anomaly detection, service health may display as "Unknown". Here are some reasons why this can occur:
68
68
69
-
1. No machine learning job exists. See [Enable anomaly detection](../../../solutions/observability/apps/integrate-with-machine-learning.md#create-ml-integration) to enable anomaly detection and create a machine learning job.
69
+
1. No machine learning job exists. See [Enable anomaly detection](../../../solutions/observability/apps/integrate-with-machine-learning.md#observability-apm-integrate-with-machine-learning-enable-anomaly-detection) to enable anomaly detection and create a machine learning job.
70
70
2. There is no machine learning data for the job. If you just created the machine learning job you’ll need to wait a few minutes for data to be available. Alternatively, if the service or its enviroment are new, you’ll need to wait for more trace data.
71
71
3. No "request" or "page-load" transaction type exists for this service; service health is only available for these transaction types.
The Machine learning integration initiates a new job predefined to calculate anomaly scores on APM transaction durations. With this integration, you can quickly pinpoint anomalous transactions and see the health of any upstream and downstream services.
15
15
16
-
% Internal links rely on the following IDs being on this page (e.g. as a heading ID, paragraph ID, etc):
16
+
Machine learning jobs are created per environment and are based on a service’s average response time. Because jobs are created at the environment level, you can add new services to your existing environments without the need for additional machine learning jobs.
17
17
18
-
$$$create-ml-integration$$$
18
+
Results from machine learning jobs are shown in multiple places throughout the Applications UI:
1. In your {{obs-serverless}} project or {{kib}}, go to any **Applications** page.
35
+
2. Click **Anomaly detection**.
36
+
3. Click **Create Job**.
37
+
4. Machine learning jobs are created at the environment level. Select all of the service environments that you want to enable anomaly detection in. Anomalies will surface for all services and transaction types within the selected environments.
38
+
5. Click **Create Jobs**.
39
+
40
+
That’s it! After a few minutes, the job will begin calculating results; it might take additional time for results to appear on your service maps. To manage existing jobs, click **Manage jobs** (or go to **Machine learning** → **Jobs**).
To make machine learning as easy as possible to set up, Elastic will warn you when filtered to an environment without a machine learning job.
46
+
47
+
48
+
## Unknown service health [observability-apm-integrate-with-machine-learning-unknown-service-health]
49
+
50
+
After enabling anomaly detection, service health may display as "Unknown". Here are some reasons why this can occur:
51
+
52
+
1. No machine learning job exists. See [Enable anomaly detection](../../../solutions/observability/apps/integrate-with-machine-learning.md#observability-apm-integrate-with-machine-learning-enable-anomaly-detection) to enable anomaly detection and create a machine learning job.
53
+
2. There is no machine learning data for the job. If you just created the machine learning job you’ll need to wait a few minutes for data to be available. Alternatively, if the service or its environment are new, you’ll need to wait for more trace data.
54
+
3. No "request" or "page-load" transaction type exists for this service; service health is only available for these transaction types.
0 commit comments