-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Add asset events to dashboard #44961
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c2076ee
to
f69cf68
Compare
Lee-W
reviewed
Dec 17, 2024
bbovenzi
reviewed
Dec 17, 2024
airflow/ui/src/pages/Dashboard/HistoricalMetrics/AssetEvents.tsx
Outdated
Show resolved
Hide resolved
Note: As PR #45312 has been merged, the code formatting rules have changed for new UI. Please rebase and re-run pre-commit checks to ensure that formatting in folder airflow/ui is adjusted. |
uranusjr
reviewed
Jan 2, 2025
airflow/ui/src/pages/Dashboard/HistoricalMetrics/AssetEvent.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really cool.
Code looks good. No more suggestions than what's already been highlighted.
f69cf68
to
f40f7e3
Compare
f40f7e3
to
d7c9e6f
Compare
c4d693d
to
74976f2
Compare
bbovenzi
approved these changes
Jan 23, 2025
dauinh
pushed a commit
to dauinh/airflow
that referenced
this pull request
Jan 24, 2025
* Add asset events section to dashboard. * Add sort by to events widget. * Revert trigger source changes. Style changes. * Handle pydantica validation for asset uri which can be None. * Fix tests. * Add name and group to tooltip. * Fix static checks. * Use borderwidth and remove variant comment. * Fix static check failure after rebase.
gpathak128
pushed a commit
to gpathak128/airflow
that referenced
this pull request
Jan 29, 2025
* Add asset events section to dashboard. * Add sort by to events widget. * Revert trigger source changes. Style changes. * Handle pydantica validation for asset uri which can be None. * Fix tests. * Add name and group to tooltip. * Fix static checks. * Use borderwidth and remove variant comment. * Fix static check failure after rebase.
got686-yandex
pushed a commit
to got686-yandex/airflow
that referenced
this pull request
Jan 30, 2025
* Add asset events section to dashboard. * Add sort by to events widget. * Revert trigger source changes. Style changes. * Handle pydantica validation for asset uri which can be None. * Fix tests. * Add name and group to tooltip. * Fix static checks. * Use borderwidth and remove variant comment. * Fix static check failure after rebase.
niklasr22
pushed a commit
to niklasr22/airflow
that referenced
this pull request
Feb 8, 2025
* Add asset events section to dashboard. * Add sort by to events widget. * Revert trigger source changes. Style changes. * Handle pydantica validation for asset uri which can be None. * Fix tests. * Add name and group to tooltip. * Fix static checks. * Use borderwidth and remove variant comment. * Fix static check failure after rebase.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add asset events to dashboard to display the top 6 events sorted by default newest first (latest) asset events. The source links to the task instance the created the event. The selected time from filter is applied to the API to get only events in last 12 hours, past week etc. The triggered dagruns links to the dagruns triggered due to the asset event.
Notes to reviewer and self
from_rest_api
it's usually from API and source is displayed as API. Similar can be done for asset events from trigger. Opened Add from_trigger field to AssetEvent extra for events from Trigger #44944 for discussion.asset.uri
for the card. Do we need to displayasset.name
orasset.uri
?Related #42700