https://prefect.io logo
Title
j

Joan Gil

02/13/2023, 1:55 PM
Hi all - is there a limit set on tags? Is it doable to set tags to group each user-related flows? Ty!!
n

Nate

02/13/2023, 6:09 PM
Hi @Joan Gil what sort of limit do you mean?
is there a limit set on tags?
you can definitely use tags to group certain related flow runs!
j

Joan Gil

02/13/2023, 7:19 PM
Hey @Nate - I meant if there was a limits on how many tags can be created
n

Nate

02/13/2023, 7:19 PM
hmm @Joan Gil - not that I'm aware of. how many do you anticipate having to create?
j

Joan Gil

02/13/2023, 7:22 PM
Not that many at once but the list can grow large over time, and we didn’t find anything in the docs to maintain them. The initial plan is to have a task
process_application
that are grouped by
application_id
as the tag name. We would then end up having as many tags as applications in our system
@Nate and thank you for the quick reply!
If it sounds like an anti-pattern, the alternative is to just use a general tag for them but that would have impact on concurrency
n

Nate

02/13/2023, 7:41 PM
hmm that sounds reasonable to me, not foreseeing any issues with that off the bat. only thing I'd mention is that I'm pretty sure the tags will only exist in cloud for as long as cloud knows about the resource its attached to, so for example if (you're on cloud and) your flow run retention period is 30 days, the tasks / their tags will disappear from cloud after 30 days