Skip to content

Commit

Permalink
add carousel and section in mainpage
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 committed Aug 6, 2024
1 parent a5d1e36 commit 14ed521
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ To set up personal access tokens (PATs) needed for auto exposures, ask a site ad
<Lightbox src="/img/docs/cloud-integrations/auto-exposures/cloud-select-collections.jpg" title="Select the collections you want to include for auto exposures."/>
5. Click **Save**. dbt Cloud imports everything in this collection and you can continue to view them in Explorer using the next steps.

For more information on how to view and use auto-exposures, refer to the [Auto-exposures](/docs/collaborate/auto-exposures) page.
For more information on how to view and use auto-exposures, refer to [View auto-exposures from dbt Explorer](/docs/collaborate/auto-exposures) page.

<Lightbox src="/img/docs/cloud-integrations/auto-exposures/explorer-lineage2.jpg" width="100%" title="View from the dbt Explorer in your Project lineage view, displayed with the Tableau icon."/>

## Refresh auto-exposures in jobs

Expand Down
23 changes: 18 additions & 5 deletions website/docs/docs/collaborate/explore-projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,14 @@ Lenses are helpful to analyze a subset of the DAG if you're zoomed in, or to fin
A resource in your project is characterized by resource type, materialization type, or model layer, as well as its latest run or latest test status. Lenses are available for the following metadata:

- **Relationship**: Organizes resources by resource type, such as models, tests, seeds, and [more](/reference/node-selection/syntax). Resource type uses the `resource_type` selector.
- **Materialization Type**: Identifies the strategy for building the dbt models in your data platform.
- **Latest Status**: The status from the latest execution of the resource in the current environment. For example, diagnosing a failed DAG region.
- **Model Layer**: The modeling layer that the model belongs to according to [best practices guide](https://docs.getdbt.com/best-practices/how-we-structure/1-guide-overview#guide-structure-overview). For example, discovering marts models to analyze.
- **Materialization type**: Identifies the strategy for building the dbt models in your data platform.
- **Latest status**: The status from the latest execution of the resource in the current environment. For example, diagnosing a failed DAG region.
- **Model layer**: The modeling layer that the model belongs to according to [best practices guide](https://docs.getdbt.com/best-practices/how-we-structure/1-guide-overview#guide-structure-overview). For example, discovering marts models to analyze.
- **Marts** &mdash; A model with the prefix `fct_` or `dim_` or a model that lives in the `/marts/` subdirectory.
- **Intermediate** &mdash; A model with the prefix `int_`. Or, a model that lives in the `/int/` or `/intermediate/` subdirectory.
- **Staging** &mdash; A model with the prefix `stg_`. Or, a model that lives in the `/staging/` subdirectory.
- **Test Status**: The status from the latest execution of the tests that ran again this resource. In the case that a model has multiple tests with different results, the lens reflects the 'worst case' status.
- **Test status**: The status from the latest execution of the tests that ran again this resource. In the case that a model has multiple tests with different results, the lens reflects the 'worst case' status.
- **Usage queries**: The number of queries against this resource over a given time period.

</Expandable>

Expand Down Expand Up @@ -211,7 +212,7 @@ In the upper right corner of the resource details page, you can:
<Expandable alt_header="What details are available for an exposure?">

- **Status bar** (below the page title) &mdash; Information on the last time the exposure was updated.
- **General** tab includes:
- **General** tab includes:<!-- add as bullet in next line: Data health &mdash; The status on data freshness and data quality. -->
- **Status** section &mdash; The status on data freshness and data quality.
- **Lineage** graph &mdash; The exposure’s lineage graph. Click the Expand icon in the graph's upper right corner to view the exposure in full lineage graph mode.
- **Description** section &mdash; A description of the exposure.
Expand Down Expand Up @@ -267,6 +268,18 @@ You can explore the metadata from your production or staging environment to info

<Lightbox src="/img/docs/collaborate/dbt-explorer/explore-staging-env.png" width="100%" title="Explore in a staging environment" />

## Auto-exposures
Auto-exposures helps users understand how their models are used in downstream analytics tools to inform investments and reduce incidents — ultimately building trust and confidence in data products. It imports and auto-generates exposures based on Tableau dashboards, with user-defined curation.

Refer to [Auto-exposures](/docs/collaborate/auto-exposures) for more information.

<DocCarousel slidesPerView={1}>

<Lightbox src="/img/docs/cloud-integrations/auto-exposures/explorer-lineage2.jpg" width="95%" title="View from the dbt Explorer in your Project lineage view, displayed with the Tableau icon."/>

<Lightbox src="/img/docs/cloud-integrations/auto-exposures/explorer-lineage.jpg" width="95%" title="View from the dbt Explorer in your Project lineage view, displayed with the Tableau icon."/>

</DocCarousel>

## Related content
- [Enterprise permissions](/docs/cloud/manage-access/enterprise-permissions)
Expand Down
11 changes: 9 additions & 2 deletions website/snippets/_auto-exposures-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,12 @@ After setting up auto-exposures in dbt Cloud, you can view them in dbt Explorer
- Locate directly from within the **File tree** under the **imported_from_tableau** sub-folder. This view integrates exposures seamlessly with your project files, making it easy to find and reference them from your project's structure.
<Lightbox src="/img/docs/cloud-integrations/auto-exposures/explorer-view-file-tree.jpg" width="120%" title="View from the dbt Explorer under the 'File tree' menu."/>

- From the **Project lineage** view, which visualizes the dependencies and relationships in your project. Exposures are represented with the Tableau icon, offering an intuitive way to see how they fit into your project's overall data flow
<Lightbox src="/img/docs/cloud-integrations/auto-exposures/explorer-lineage.jpg" width="120%" title="View from the dbt Explorer in your Project lineage view, displayed with the Tableau icon."/>
- From the **Project lineage** view, which visualizes the dependencies and relationships in your project. Exposures are represented with the Tableau icon, offering an intuitive way to see how they fit into your project's overall data flow.

<DocCarousel slidesPerView={1}>

<Lightbox src="/img/docs/cloud-integrations/auto-exposures/explorer-lineage2.jpg" width="95%" title="View from the dbt Explorer in your Project lineage view, displayed with the Tableau icon."/>

<Lightbox src="/img/docs/cloud-integrations/auto-exposures/explorer-lineage.jpg" width="95%" title="View from the dbt Explorer in your Project lineage view, displayed with the Tableau icon."/>

</DocCarousel>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 14ed521

Please sign in to comment.