We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b03afd5 commit 71da64dCopy full SHA for 71da64d
transformer/transformer.go
@@ -71,7 +71,7 @@ func TransformToMarkdown(notification model.Notification, grafanaURL string, ale
71
buffer.WriteString(fmt.Sprintf("\n>【触发时间】 %s\n", cstTime.Format("2006-01-02 15:04:05")))
72
buffer.WriteString(fmt.Sprintf("\n [跳转Grafana看板](https://%s?orgId=1&var-origin_prometheus=&var-Node=%s&var-NameSpace=%s&var-Pod=%s&var-Pod=All)", grafanaURL, ip[0], namespace, pod))
73
buffer.WriteString(fmt.Sprintf("\n [告警规则详情](http://%s/alerts?search=)", alertDomain))
74
- buffer.WriteString(fmt.Sprintf("\n [日志详情](https://aws-au-loki-grafana.vnnox.com/d/o6-BGgnnk/loki-kubernetes-logs?orgId=1&from=now-1h&to=now&var-query=&var-namespace=au&var-stream=All&var-container=vnnox-middle-oauth)"))
+ buffer.WriteString(fmt.Sprintf("\n [日志详情](https://aws-au-loki-grafana.vnnox.com/d/o6-BGgnnk/loki-kubernetes-logs?orgId=1&from=now-6h&to=now&var-query=&var-namespace=au&var-stream=All&var-container=vnnox-middle-oauth)"))
75
buffer.WriteString(fmt.Sprintf("\n"))
76
buffer.WriteString(fmt.Sprintf("---------------------------------------------------------------------------\n"))
77
}
0 commit comments