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

Feature Request: adding tags from labels #40

Open
ZioPao opened this issue May 10, 2024 · 1 comment
Open

Feature Request: adding tags from labels #40

ZioPao opened this issue May 10, 2024 · 1 comment

Comments

@ZioPao
Copy link

ZioPao commented May 10, 2024

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

@BigBoot
Copy link
Owner

BigBoot commented May 10, 2024

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

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