karma
karma copied to clipboard
enable actions
how enable action link ?
from alert rules:
- alert: Node LowDiskSpace
expr: node_filesystem_avail_bytes{mountpoint!~"(^/etc.*|^/run.*|^/.+/dev.*|^/.+/sys.*|^/boot.*)"} / node_filesystem_size_bytes{mountpoint!~"(^/etc.*|^/run.*|^/.+/dev.*|^/.+/sys.*|^/boot.*)"} * 100 < 20 > 10
for: 5m
labels:
severity: warning
annotations:
summary: "Out of disk space on '{{ $labels.mountpoint }}'"
description: "Out of disk space on '{{ $labels.mountpoint }}' Node: {{ $labels.node }}. {{ humanize $value }}% left"
jira: https://123.ru
from confif karma:
annotations:
default:
hidden: true
hidden: []
visible:
- summary
- jira
order:
- summary
- description
- help
actions:
- jira
but not visible link:
I had the same problem, and a fix I found was to not directly write the link but more so like this :
annotations:
description: "Server {{$labels.instance}} is under heavy CPU load - CPU Used : {{ $value }} %"
runbook: "Doc : xxxxx"
Worked for me at least