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

feat(): Adding supports for data incidents for datasets, dashboards, charts, data jobs, data flows #9710

Merged
merged 26 commits into from
Feb 14, 2024

Conversation

jjoyce0510
Copy link
Collaborator

@jjoyce0510 jjoyce0510 commented Jan 24, 2024

Summary

In this PR, we are adding support for Data Incidents on Datasets, Dashboards, Charts, Data Jobs, Data Flows.

Capabilities:

  • Raise incident via the UI or using the API on Datasets, Dashboards, Charts, Data Jobs, Data Flows
  • Search for assets using the search filters for things with active incidents
  • View incidents in asset health badge

Also included the docs updates for docs website, including new incidents feature guide doc, and updates to policies guides.

Screenshots

Screenshot 2024-01-24 at 11 29 25 AM Screenshot 2024-01-24 at 11 13 49 AM

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been a
    dded/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

_entityClient = entityClient;
_graphClient = graphClient;
_timeseriesAspectService = timeseriesAspectService;
_statusCache =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't make sense. Why include an empty cache here?

try {
final Filter filter = buildIncidentsEntityFilter(entityUrn, IncidentState.ACTIVE.toString());
final SearchResult searchResult =
_entityClient.filter(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If caching is needed, the systemEntityClient and a slight variation of the call should provide that cache without having to maintain a separate cache.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, the cache is on the higher level object including data from those other services. Disregard the comment above.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im removing the cache. it's only really required in OSS because it's expensive to compute assertion health. but its not being used anyways so im removing as you've mentioned

Copy link
Collaborator

@david-leifker david-leifker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, just the one comment about the odd empty cache.

@jjoyce0510 jjoyce0510 merged commit 0328f85 into datahub-project:master Feb 14, 2024
60 of 61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops PR or Issue related to DataHub backend & deployment docs Issues and Improvements to docs product PR or Issue related to the DataHub UI/UX smoke_test Contains changes related to smoke tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants