-
-
Notifications
You must be signed in to change notification settings - Fork 18
Anomaly Analytic Unit
rozetko edited this page Aug 20, 2019
·
1 revision
- Create Analytic Unit
- Choose detector type (Detector Type -> anomaly)
- Click
Create
) - Enable
Inspect
mode to see HSR (Hastic Signal Representaion) -- data that comes to Hastic server Note: aggregation resolution (points on one time unit) of data depends on time range which is set when you create analytic unit - Related curves will be shown on the graph: HSR, Upper and Lower bounds (bounds are smoothed HSR plus/minus value of Confidence)
- To change bounds of "normal" metric behavior you can change
Confidence
value. Click to field [5], change value (here we change confidence to 20% CPU usage) and clickSave
button [6]. - Bounds are minimized and we got some "anomaly" data
- Change
Alpha
value [7] to make bounds more or less smoothed and save unit [8] Note:Alpha
takes value from 0 to 1 - more "alpha" - more sharp bounds
- less "alpha" - less sharp bounds
- Click
Detect
button to get detections (Hastic will find segments which are out of bounds)
- You might have seasonality in your metric. For example, peaks every 24 hours
- For our settings (
Confidence
: 0.2,Alpha
: 0.3) this is anomaly - Click
Seasonality
[1] to label that it is normal behavior - Set season length to 24 hours [2 and 3] and save unit [4]
- Click
Label
button [5] to label which segment of data is repeated - Label segment via
Ctrl+Left Mouse
- Click
Detect
button to show bounds with your repeated segment and new detections - Segment will repeated every 24h and become non-anomaly
- Also, you can label another segment and it will be also repeated every 24h