forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Updates APM Module to Work with Service Maps (elastic#70361) (el…
…astic#70616) * updates apm integration job to work with service maps * rename apm job in setup_module test * modifies detector description Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information
1 parent
660c9e7
commit aa4d3f4
Showing
5 changed files
with
45 additions
and
40 deletions.
There are no files selected for viewing
16 changes: 8 additions & 8 deletions
16
x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
{ | ||
"id": "apm_transaction", | ||
"title": "APM", | ||
"description": "Detect anomalies in high mean of transaction duration (ECS).", | ||
"description": "Detect anomalies in transactions from your APM services.", | ||
"type": "Transaction data", | ||
"logoFile": "logo.json", | ||
"defaultIndexPattern": "apm-*", | ||
"defaultIndexPattern": "apm-*-transaction", | ||
"query": { | ||
"bool": { | ||
"filter": [ | ||
{ "term": { "processor.event": "transaction" } }, | ||
{ "term": { "transaction.type": "request" } } | ||
{ "exists": { "field": "transaction.duration" } } | ||
] | ||
} | ||
}, | ||
"jobs": [ | ||
{ | ||
"id": "high_mean_response_time", | ||
"file": "high_mean_response_time.json" | ||
"id": "high_mean_transaction_duration", | ||
"file": "high_mean_transaction_duration.json" | ||
} | ||
], | ||
"datafeeds": [ | ||
{ | ||
"id": "datafeed-high_mean_response_time", | ||
"file": "datafeed_high_mean_response_time.json", | ||
"job_id": "high_mean_response_time" | ||
"id": "datafeed-high_mean_transaction_duration", | ||
"file": "datafeed_high_mean_transaction_duration.json", | ||
"job_id": "high_mean_transaction_duration" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 0 additions & 30 deletions
30
.../ml/server/models/data_recognizer/modules/apm_transaction/ml/high_mean_response_time.json
This file was deleted.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
...ver/models/data_recognizer/modules/apm_transaction/ml/high_mean_transaction_duration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"job_type": "anomaly_detector", | ||
"groups": [ | ||
"apm" | ||
], | ||
"description": "Detect transaction duration anomalies across transaction types for your APM services.", | ||
"analysis_config": { | ||
"bucket_span": "15m", | ||
"detectors": [ | ||
{ | ||
"detector_description": "high duration by transaction type for an APM service", | ||
"function": "high_mean", | ||
"field_name": "transaction.duration.us", | ||
"by_field_name": "transaction.type", | ||
"partition_field_name": "service.name" | ||
} | ||
], | ||
"influencers": [ | ||
"transaction.type", | ||
"service.name" | ||
] | ||
}, | ||
"analysis_limits": { | ||
"model_memory_limit": "32mb" | ||
}, | ||
"data_description": { | ||
"time_field": "@timestamp" | ||
}, | ||
"model_plot_config": { | ||
"enabled": true | ||
}, | ||
"custom_settings": { | ||
"created_by": "ml-module-apm-transaction" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters