[ML] APM modules configs for RUM Javascript and NodeJS#53792
[ML] APM modules configs for RUM Javascript and NodeJS#53792darnautov merged 12 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/ml-ui (:ml) |
💔 Build Failed
To update your PR or re-run it, just comment with: |
blaklaybul
left a comment
There was a problem hiding this comment.
requesting a few minor changes
There was a problem hiding this comment.
Detect problematic spans and identify user agents that are potentially causing issues.
There was a problem hiding this comment.
Detect abnormal traces, anomalous spans, and identify periods of decreased throughput.
.../ml/server/models/data_recognizer/modules/apm_nodejs/ml/abnormal_trace_durations_nodejs.json
Outdated
Show resolved
Hide resolved
💚 Build Succeeded
To update your PR or re-run it, just comment with: |
c6039ec to
144c0ba
Compare
|
@elasticmachine merge upstream |
...er/models/data_recognizer/modules/apm_jsbase/ml/datafeed_abnormal_span_durations_jsbase.json
Outdated
Show resolved
Hide resolved
...a_recognizer/modules/apm_jsbase/ml/datafeed_anomalous_error_rate_for_user_agents_jsbase.json
Outdated
Show resolved
Hide resolved
...r/models/data_recognizer/modules/apm_jsbase/ml/datafeed_high_count_by_user_agent_jsbase.json
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apm_nodejs/manifest.json
Outdated
Show resolved
Hide resolved
...er/models/data_recognizer/modules/apm_nodejs/ml/datafeed_abnormal_span_durations_nodejs.json
Outdated
Show resolved
Hide resolved
...erver/models/data_recognizer/modules/apm_nodejs/ml/datafeed_decreased_throughput_nodejs.json
Outdated
Show resolved
Hide resolved
...erver/models/data_recognizer/modules/apm_jsbase/ml/datafeed_decreased_throughput_jsbase.json
Outdated
Show resolved
Hide resolved
...erver/models/data_recognizer/modules/apm_nodejs/ml/datafeed_decreased_throughput_nodejs.json
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apm_jsbase/manifest.json
Outdated
Show resolved
Hide resolved
...erver/models/data_recognizer/modules/apm_jsbase/ml/datafeed_decreased_throughput_jsbase.json
Outdated
Show resolved
Hide resolved
...gins/ml/server/models/data_recognizer/modules/apm_jsbase/ml/decreased_throughput_jsbase.json
Outdated
Show resolved
Hide resolved
...s/ml/server/models/data_recognizer/modules/apm_jsbase/ml/abnormal_span_durations_jsbase.json
Outdated
Show resolved
Hide resolved
...gins/ml/server/models/data_recognizer/modules/apm_jsbase/ml/decreased_throughput_jsbase.json
Outdated
Show resolved
Hide resolved
cbf8ddf to
f40d0a2
Compare
| "bucket_span": "15m", | ||
| "detectors": [ | ||
| { | ||
| "detector_description": "high_mean(\"span.duration.us\") partitionfield=\"span.type\"", |
There was a problem hiding this comment.
"description": "increased span duration"
| "bucket_span": "15m", | ||
| "detectors": [ | ||
| { | ||
| "detector_description": "high_non_zero_count partitionfield=\"user_agent.name\"", |
There was a problem hiding this comment.
"description": "high error rate for user agent"
| "bucket_span": "15m", | ||
| "detectors": [ | ||
| { | ||
| "detector_description": "low_count", |
There was a problem hiding this comment.
"description": "low throughput"
| "bucket_span": "15m", | ||
| "detectors": [ | ||
| { | ||
| "detector_description": "high_non_zero_count partitionfield=\"user_agent.name\"", |
There was a problem hiding this comment.
"description": "high request rate for user agent"
| "bucket_span": "15m", | ||
| "detectors": [ | ||
| { | ||
| "detector_description": "high_mean(\"span.duration.us\") partitionfield=\"span.type\"", |
There was a problem hiding this comment.
"description": "increased span duration"
| "bucket_span": "15m", | ||
| "detectors": [ | ||
| { | ||
| "detector_description": "high_mean(\"transaction.duration.us\") by \"transaction.name\"", |
There was a problem hiding this comment.
"description": "increased trace duration"
| "bucket_span": "15m", | ||
| "detectors": [ | ||
| { | ||
| "detector_description": "low_count", |
There was a problem hiding this comment.
"description": "low throughput"
blaklaybul
left a comment
There was a problem hiding this comment.
Detector descriptions look good, but you should be able to remove the chunking_config parameter from the 2 decreased_throughput datafeeds as well
blaklaybul
left a comment
There was a problem hiding this comment.
additional changes to custom URLs and datafeed filter.
| "bool": { | ||
| "must": [ | ||
| { "bool": { "filter": { "term": { "agent.name": "js-base" } } } }, | ||
| { "bool": { "filter": [{ "exists": { "field": "user_agent.name" } }] } } |
There was a problem hiding this comment.
please add an additional filter for transaction to the must:
{"bool": {"filter": {"term": {"processor.event": "transaction"}}}}
...gins/ml/server/models/data_recognizer/modules/apm_nodejs/ml/decreased_throughput_nodejs.json
Outdated
Show resolved
Hide resolved
...gins/ml/server/models/data_recognizer/modules/apm_jsbase/ml/decreased_throughput_jsbase.json
Outdated
Show resolved
Hide resolved
|
@elasticmachine merge upstream |
peteharverson
left a comment
There was a problem hiding this comment.
Tested latest edits and LGTM
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* [ML] apm modules * [ML] apm modules * [ML] update mocha test * [ML] fix config * [ML] single line JSON formatting for queries * [ML] remove an empty path component with a trailing slash * [ML] change detector descriptions, remove scroll size * [ML] remove chunking_config from datafeeds * [ML] fix configs Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* master: (69 commits) [Graph] Fix various a11y issues (elastic#54097) Add ApplicationService app status management (elastic#50223) logs in one time (elastic#54447) Deprecate using `elasticsearch.ssl.certificate` without `elasticsearch.ssl.key` and vice versa (elastic#54392) [Optimizer] Fix a stack overflow with watch_cache when it attempts to delete very large folders. (elastic#54457) Security - Role Mappings UI (elastic#53620) [SIEM] [Detection engine] Permission II (elastic#54292) Allow User to Cleanup Repository from UI (elastic#53047) [Detection engine] Some UX for rule creation (elastic#54471) share specific instances of some ui packages (elastic#54079) [ML] APM modules configs for RUM Javascript and NodeJS (elastic#53792) [APM] Delay rendering invalid license notification (elastic#53924) [Graph] Improve error message on graph requests (elastic#54230) [ILM] Kibana should allow a min_age setting of 0ms in ILM policy phases (elastic#53719) Unit Tests for common/lib (elastic#53736) [Graph] Only show explorable fields (elastic#54101) remove linting rule exception for markdown (elastic#54232) [Monitoring] Fetch shard data more efficiently (elastic#54028) [Maps] Add hiddenLayers option to embeddable map input (elastic#54355) Pass termOrder and hasTermsAgg properties to serializeThresholdWatch function (elastic#54391) ...
* master: (69 commits) [Graph] Fix various a11y issues (elastic#54097) Add ApplicationService app status management (elastic#50223) logs in one time (elastic#54447) Deprecate using `elasticsearch.ssl.certificate` without `elasticsearch.ssl.key` and vice versa (elastic#54392) [Optimizer] Fix a stack overflow with watch_cache when it attempts to delete very large folders. (elastic#54457) Security - Role Mappings UI (elastic#53620) [SIEM] [Detection engine] Permission II (elastic#54292) Allow User to Cleanup Repository from UI (elastic#53047) [Detection engine] Some UX for rule creation (elastic#54471) share specific instances of some ui packages (elastic#54079) [ML] APM modules configs for RUM Javascript and NodeJS (elastic#53792) [APM] Delay rendering invalid license notification (elastic#53924) [Graph] Improve error message on graph requests (elastic#54230) [ILM] Kibana should allow a min_age setting of 0ms in ILM policy phases (elastic#53719) Unit Tests for common/lib (elastic#53736) [Graph] Only show explorable fields (elastic#54101) remove linting rule exception for markdown (elastic#54232) [Monitoring] Fetch shard data more efficiently (elastic#54028) [Maps] Add hiddenLayers option to embeddable map input (elastic#54355) Pass termOrder and hasTermsAgg properties to serializeThresholdWatch function (elastic#54391) ...
* [ML] apm modules * [ML] apm modules * [ML] update mocha test * [ML] fix config * [ML] single line JSON formatting for queries * [ML] remove an empty path component with a trailing slash * [ML] change detector descriptions, remove scroll size * [ML] remove chunking_config from datafeeds * [ML] fix configs Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Summary
Checklist
Documentation was added for features that require explanation or tutorialsThis was checked for keyboard-only and screenreader accessibility