add send time
This commit is contained in:
parent
0f3bbf6368
commit
a4ef00fe3e
|
@ -3,4 +3,5 @@
|
||||||
规则备注: {{.RuleNote}}{{end}}
|
规则备注: {{.RuleNote}}{{end}}
|
||||||
监控指标: {{.TagsJSON}}
|
监控指标: {{.TagsJSON}}
|
||||||
{{if .IsRecovered}}恢复时间:{{timeformat .LastEvalTime}}{{else}}触发时间: {{timeformat .TriggerTime}}
|
{{if .IsRecovered}}恢复时间:{{timeformat .LastEvalTime}}{{else}}触发时间: {{timeformat .TriggerTime}}
|
||||||
触发时值: {{.TriggerValue}}{{end}}
|
触发时值: {{.TriggerValue}}{{end}}
|
||||||
|
发送时间: {{.timestamp}}
|
|
@ -3,4 +3,5 @@
|
||||||
规则备注: {{.RuleNote}}{{end}}
|
规则备注: {{.RuleNote}}{{end}}
|
||||||
监控指标: {{.TagsJSON}}
|
监控指标: {{.TagsJSON}}
|
||||||
{{if .IsRecovered}}恢复时间:{{timeformat .LastEvalTime}}{{else}}触发时间: {{timeformat .TriggerTime}}
|
{{if .IsRecovered}}恢复时间:{{timeformat .LastEvalTime}}{{else}}触发时间: {{timeformat .TriggerTime}}
|
||||||
触发时值: {{.TriggerValue}}{{end}}
|
触发时值: {{.TriggerValue}}{{end}}
|
||||||
|
发送时间: {{.timestamp}}
|
|
@ -181,6 +181,13 @@
|
||||||
</tr>
|
</tr>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<th>发送时间:</th>
|
||||||
|
<td>
|
||||||
|
{{.timestamp}}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>PromQL:</th>
|
<th>PromQL:</th>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -3,4 +3,5 @@
|
||||||
**规则备注**: {{.RuleNote}}{{end}}
|
**规则备注**: {{.RuleNote}}{{end}}
|
||||||
**监控指标**: {{.TagsJSON}}
|
**监控指标**: {{.TagsJSON}}
|
||||||
{{if .IsRecovered}}**恢复时间**:{{timeformat .LastEvalTime}}{{else}}**触发时间**: {{timeformat .TriggerTime}}
|
{{if .IsRecovered}}**恢复时间**:{{timeformat .LastEvalTime}}{{else}}**触发时间**: {{timeformat .TriggerTime}}
|
||||||
**触发时值**: {{.TriggerValue}}{{end}}
|
**触发时值**: {{.TriggerValue}}{{end}}
|
||||||
|
**发送时间**: {{.timestamp}}
|
Loading…
Reference in New Issue