Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable actions #5640

Open
vasyakrg opened this issue Dec 14, 2023 · 1 comment
Open

enable actions #5640

vasyakrg opened this issue Dec 14, 2023 · 1 comment

Comments

@vasyakrg
Copy link

vasyakrg commented Dec 14, 2023

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

@MolinaRomain
Copy 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants