using millis for annotations too
This commit is contained in:
1 parent
39f37ff8aa
commit
60816f5fc2
1 file changed
+1
-1
@@ -77,7 +77,7 @@ func (handler *DefaultResultHandler) Handle(evalContext *EvalContext) error {
|
||||
Text: "",
|
||||
NewState: string(evalContext.Rule.State),
|
||||
PrevState: string(evalContext.PrevAlertState),
|
||||
Epoch: time.Now().Unix(),
|
||||
Epoch: time.Now().UnixNano() / int64(time.Millisecond),
|
||||
Data: annotationData,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user