Replies: 12 comments 9 replies
-
This would be very useful because we deploy every feature branch as a new code location, so in DEV dagster we can have multiple feature branches at once, it would be nice to seperate all runs per code deployment this way |
Beta Was this translation helpful? Give feedback.
-
@sryza Maybe take a look at LakeFormation tag access control. To take insipiration https://docs.aws.amazon.com/lake-formation/latest/dg/tag-based-access-control.html . |
Beta Was this translation helpful? Give feedback.
-
We are looking for ways to organize our assets into different subgroups that may share some common assets, so labels definitely make sense, especially when you can filter/search for them (either single label or multiple labels at a time). Maybe have a setting on the UI for default labels (and customize that further for different logins/roles) instead of showing everything on load right now, especially on a large asset graph? |
Beta Was this translation helpful? Give feedback.
-
In my use case, a tagging system would save me time in selecting my assets in a grouped way when I want to build backfills (with the current version, I select assets 1 by 1). What type of logical operations will this tagging system be based on? OR ? AND ? NOT ? I prefer the term "labels", which would make it easier not to mix up the different concepts. |
Beta Was this translation helpful? Give feedback.
-
A simple string label / list of string labels would be very helpful for asset cataloguing / visualization for us. Our asset groups get very large and contain many similar pipelines so it's difficult at a glance to see them, if labels could be applied in the context of the asset DAG it would help with that. I know that's not a straight forward addition though because it would need the addition of an additional UI element to group labels and that would maybe need to be separate to grouping if they aren't hierarchical (group -> label) |
Beta Was this translation helpful? Give feedback.
-
This would be hugely valuable for our use cases as well, to be able to add arbitrary labels that could be filtered/queried against (and ideally displayed on each asset/op in the same manner as a compute_kind label). Being able to add a list of tags as a list is sufficient. The example I ran into today was a simple pipeline of source asset -> asset (snowflake) -> asset (MySQL). Just some basic metadata examples that are part of the asset definition for us:
As the nature of meaningful metadata varies by organization, having a strings (and a way to filter, search, etc) provides sufficient flexibility for each user's needs |
Beta Was this translation helpful? Give feedback.
-
We have lots of very similar assets produced by asset factories which usually have the same name (last part of the key). Due to our asset graph structure they are currently in one group, and it's really hard to put them in different groups as it would harm graph readability. So we end up with lots of identically looking assets in a group. Their description even starts the same, so zooming in won't help to separate them at glance. Having different sets of labels displayed on them would really help. |
Beta Was this translation helpful? Give feedback.
-
It would be useful to tag/label assets and jobs that use a resource, then use that tag/label in an AssetSelection so one sensor monitoring some resource, like a database table, could issue run requests for those assets. As far as I know, AssetSelection currently only works on assets by group, name, or relationship. |
Beta Was this translation helpful? Give feedback.
-
@sryza could this potentially also allow op_tags to be adjusted afterwards on an asset definition? We want to define the resources of each operation after they are in the State of an AssetDefinition. The reason is during our generation of the defs we define the range of the data that we are going to do runs on, this is also closely linked to how many compute resources we need. Currently the only way to adjust them afterwards is overriding the asset.node_def._tags and asset.op._tags but this is not a public API |
Beta Was this translation helpful? Give feedback.
-
Hi. Job/asset labelling would also be a super helpful feature for us within the scope of a code-location, but it would be awesome if we could extend the concept to a whole deployment scope. In this issue on the dagster UI board: we summarize part of our use case and proposal:
For us, it makes sense to distinguish between the asset definition itself (the code location and the group/subgroup it belongs to) and the "virtual definitions group" that can be declared using labelling to create a collection of assets/jobs not based on the infrastructure required to materialize them (the code locations) but some higher-level business concept. Real scenarios for us that will justify the feature:
|
Beta Was this translation helpful? Give feedback.
-
Is using dbt tags to filter assets via the UI on the roadmap? |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion as we now have asset tags: https://docs.dagster.io/concepts/metadata-tags/tags#tags |
Beta Was this translation helpful? Give feedback.
-
We’re considering introducing additional constructs for organizing assets and jobs.
The status quo
tags
attribute, but this should probably actually be calledrun_tags
, because the tags are applied to runs of the job, not the job definition itself. They’re meant to be used for purposes like controlling what queues the runs end up in, not for organizing the job definitions.What we’re investigating
We’re considering introducing an attribute named either “tags” or “labels”, for organizing assets and jobs. Unlike asset groups and code locations, an asset or job would be able to have multiple of these tags or labels.
We’re trying to make decisions like:
Questions for you
If we offered tags/labels for organizing assets/jobs, how would you use them for? I.e. what are some specific examples of tags/labels that you would apply to your assets or jobs?
What are the situations where it would useful to search, filter, or group by these tags?
Beta Was this translation helpful? Give feedback.
All reactions