AutoKuma icon indicating copy to clipboard operation
AutoKuma copied to clipboard

Feature Request: adding tags from labels

Open ZioPao opened this issue 1 year ago • 1 comments

Hi, I'm loving your work! I couldn't find any way to add multiple tags other than setting AUTOKUMA__TAG_NAME. I would expect to have a way to set specific tags to each container instead of just having that one in all of the managed monitors.

Thank you in advance

ZioPao avatar May 10 '24 11:05 ZioPao

Hello,

the autokuma tag is required for autokuma to function and should not be touched manually, as of now there is no way to create a tag using autokuma, but you can assign existing tags to monitors:

labels:
  kuma.example.http.name: "Example"
  kuma.example.http.url: "https://example.com"
  kuma.example.http.tags: '[{"tag_id": 0 }]'

To get the id of an existing tag you can use the kuma CLI

BigBoot avatar May 10 '24 13:05 BigBoot

This is now possible on master, please note that the master currently contains some breaking change so make sure to read the CHANGELOG if you want to test the feature.

BigBoot avatar Oct 20 '24 15:10 BigBoot