-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(feature-guide) Impact Analysis (#5765)
* update sidebar titles to remove About DataHub * move impact analysis guide to new folder; update links * update copy in Understand Data in Context section * adding feature guide template to sidebar * adding feature guide template * update docs readme to link to feature guide template * enhance docs-website readme * add comments to feature guide template * add links to graphql and lineage resources * linter cleanup * updating reference links * update to graphql reference links * add image and gif best practices * update feature guide template with image details * fix link * update template from YouTube -> Videos * Update docs-website/README.md Co-authored-by: Harshal Sheth <[email protected]> * update feature to Lineage Impact Analysis Co-authored-by: Harshal Sheth <[email protected]>
- Loading branch information
1 parent
91f6084
commit 4956f5a
Showing
9 changed files
with
337 additions
and
12 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,51 @@ | ||
# DataHub Docs Overview | ||
|
||
DataHub's project documentation is hosted at [datahubproject.io](https://datahubproject.io/docs) | ||
|
||
## Types of Documentation | ||
|
||
### Feature Guide | ||
|
||
A Feature Guide should follow the [Feature Guide Template](/_feature-guide-template.md), and should provide the following value: | ||
|
||
* At a high level, what is the concept/feature within DataHub? | ||
* Why is the feature useful? | ||
* What are the common use cases of the feature? | ||
* What are the simple steps one needs to take to use the feature? | ||
|
||
When creating a Feature Guide, please remember to: | ||
|
||
* Provide plain-language descriptions for both technical and non-technical readers | ||
* Avoid using industry jargon, abbreviations, or acryonyms | ||
* Provide descriptive screenshots, links out to relevant YouTube videos, and any other relevant resources | ||
* Provide links out to Tutorials for advanced use cases | ||
|
||
*Not all Feature Guides will require a Tutorial.* | ||
|
||
### Tutorial | ||
|
||
A Tutorial is meant to provide very specific steps to accomplish complex workflows and advanced use cases that are out of scope of a Feature Guide. | ||
|
||
Tutorials should be written to accomodate the targeted persona, i.e. Developer, Admin, End-User, etc. | ||
|
||
*Not all Tutorials require an associated Feature Guide.* | ||
|
||
## Docs Best Practices | ||
|
||
### Embedding GIFs and or Screenshots | ||
|
||
* Store GIFs and screenshots in [datahub-project/static-assets](https://github.com/datahub-project/static-assets); this minimizes unnecessarily large image/file sizes in the main repo | ||
* Center-align screenshots and size down to 70% - this improves readability/skimability within the site | ||
|
||
Example snippet: | ||
|
||
``` | ||
<p align="center"> | ||
<img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/impact-analysis-export-full-list.png"/> | ||
</p> | ||
``` | ||
|
||
* Use the "raw" GitHub image link (right click image from GitHub > Open in New Tab > copy URL): | ||
|
||
* Good: https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/dbt-test-logic-view.png | ||
* Bad: https://github.com/datahub-project/static-assets/blob/main/imgs/dbt-test-logic-view.png |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
import FeatureAvailability from '@site/src/components/FeatureAvailability'; | ||
|
||
# About DataHub [Feature Name] | ||
|
||
<!-- All Feature Guides should begin with `About DataHub ` to improve SEO --> | ||
|
||
<!-- | ||
Update feature availability; by default, feature availabilty is Self-Hosted and Managed DataHub | ||
Add in `saasOnly` for Managed DataHub-only features | ||
--> | ||
|
||
<FeatureAvailability/> | ||
|
||
<!-- This section should provide a plain-language overview of feature. Consider the following: | ||
* What does this feature do? Why is it useful? | ||
* What are the typical use cases? | ||
* Who are the typical users? | ||
* In which DataHub Version did this become available? --> | ||
|
||
## [Feature Name] Setup, Prerequisites, and Permissions | ||
|
||
<!-- This section should provide plain-language instructions on how to configure the feature: | ||
* What special configuration is required, if any? | ||
* How can you confirm you configured it correctly? What is the expected behavior? | ||
* What access levels/permissions are required within DataHub? --> | ||
|
||
## Using [Feature Name] | ||
|
||
<!-- Plain-language instructions of how to use the feature | ||
Provide a step-by-step guide to use feature, including relevant screenshots and/or GIFs | ||
* Where/how do you access it? | ||
* What best practices exist? | ||
* What are common code snippets? | ||
--> | ||
|
||
## Additional Resources | ||
|
||
<!-- Comment out any irrelevant or empty sections --> | ||
|
||
### Videos | ||
|
||
<!-- Use the following format to embed YouTube videos: | ||
**Title of YouTube video in bold text** | ||
<p align="center"> | ||
<iframe width="560" height="315" src="www.youtube.com/embed/VIDEO_ID" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | ||
</p> | ||
--> | ||
|
||
<!-- | ||
NOTE: Find the iframe details in YouTube by going to Share > Embed | ||
--> | ||
|
||
### GraphQL | ||
|
||
<!-- Bulleted list of relevant GraphQL docs; comment out section if none --> | ||
|
||
### DataHub Blog | ||
|
||
<!-- Bulleted list of relevant DataHub Blog posts; comment out section if none --> | ||
|
||
## FAQ and Troubleshooting | ||
|
||
<!-- Use the following format: | ||
**Question in bold text** | ||
Response in plain text | ||
--> | ||
|
||
*Need more help? Join the conversation in [Slack](http://slack.datahubproject.io)!* | ||
|
||
### Related Features | ||
|
||
<!-- Bulleted list of related features; comment out section if none --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
import FeatureAvailability from '@site/src/components/FeatureAvailability'; | ||
|
||
# About DataHub Lineage Impact Analysis | ||
|
||
<FeatureAvailability/> | ||
|
||
Lineage Impact Analysis is a powerful workflow for understanding the complete set of upstream and downstream dependencies of a Dataset, Dashboard, Chart, and many other DataHub Entities. | ||
|
||
This allows Data Practitioners to proactively identify the impact of breaking schema changes or failed data pipelines on downstream dependencies, rapidly discover which upstream dependencies may have caused unexpected data quality issues, and more. | ||
|
||
Lineage Impact Analysis is available via the DataHub UI and GraphQL endpoints, supporting manual and automated workflows. | ||
|
||
## Lineage Impact Analysis Setup, Prerequisites, and Permissions | ||
|
||
Lineage Impact Analysis is enabled for any Entity that has associated Lineage relationships with other Entities and does not require any additional configuration. | ||
|
||
Any DataHub user with “View Entity Page” permissions is able to view the full set of upstream or downstream Entities and export results to CSV from the DataHub UI. | ||
|
||
## Using Lineage Impact Analysis | ||
|
||
Follow these simple steps to understand the full dependency chain of your data entities. | ||
|
||
1. On a given Entity Page, select the **Lineage** tab | ||
|
||
<p align="center"> | ||
<img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/impact-analysis-lineage-tab.png"/> | ||
</p> | ||
|
||
2. Easily toggle between **Upstream** and **Downstream** dependencies | ||
|
||
<p align="center"> | ||
<img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/impact-analysis-choose-upstream-downstream.png"/> | ||
</p> | ||
|
||
3. Choose the **Degree of Dependencies** you are interested in. The default filter is “1 Degree of Dependency” to minimize processor-intensive queries. | ||
|
||
<p align="center"> | ||
<img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/impact-analysis-filter-dependencies.png"/> | ||
</p> | ||
|
||
4. Slice and dice the result list by Entity Type, Platfrom, Owner, and more to isolate the relevant dependencies | ||
|
||
<p align="center"> | ||
<img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/impact-analysis-apply-filters.png"/> | ||
</p> | ||
|
||
5. Export the full list of dependencies to CSV | ||
|
||
<p align="center"> | ||
<img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/impact-analysis-export-full-list.png"/> | ||
</p> | ||
|
||
6. View the filtered set of dependencies via CSV, with details about assigned ownership, domain, tags, terms, and quick links back to those entities within DataHub | ||
|
||
<p align="center"> | ||
<img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/impact-analysis-view-export-results.png"/> | ||
</p> | ||
|
||
## Additional Resources | ||
|
||
### Videos | ||
|
||
**DataHub 201: Impact Analysis** | ||
|
||
<p align="center"> | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/BHG_kzpQ_aQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | ||
</p> | ||
|
||
### GraphQL | ||
|
||
* [searchAcrossLineage](../../graphql/queries.md#searchacrosslineage) | ||
* [searchAcrossLineageInput](../../graphql/inputObjects.md#searchacrosslineageinput) | ||
|
||
### DataHub Blog | ||
|
||
* [Dependency Impact Analysis, Data Validation Outcomes, and MORE! - Highlights from DataHub v0.8.27 & v.0.8.28](https://blog.datahubproject.io/dependency-impact-analysis-data-validation-outcomes-and-more-1302604da233) | ||
|
||
|
||
### FAQ and Troubleshooting | ||
|
||
**The Lineage Tab is greyed out - why can’t I click on it?** | ||
|
||
This means you have not yet ingested Lineage metadata for that entity. Please see the Lineage Guide to get started. | ||
|
||
**Why is my list of exported dependencies incomplete?** | ||
|
||
We currently limit the list of dependencies to 10,000 records; we suggest applying filters to narrow the result set if you hit that limit. | ||
|
||
*Need more help? Join the conversation in [Slack](http://slack.datahubproject.io)!* | ||
|
||
### Related Features | ||
|
||
* [DataHub Lineage](./docs/lineage/intro.md) |
This file was deleted.
Oops, something went wrong.