karma icon indicating copy to clipboard operation
karma copied to clipboard

enable actions

Open vasyakrg opened this issue 1 year ago • 1 comments

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: изображение

vasyakrg avatar Dec 14 '23 15:12 vasyakrg

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

MolinaRomain avatar Feb 07 '24 08:02 MolinaRomain