Ask AI

You are viewing an unreleased or outdated version of the documentation

Dagster Cloud Insights (Experimental)#

This feature is considered experimental.

Using Dagster Cloud Insights, you can gain visibility into historical usage and cost metrics such as Dagster Cloud run duration, credit usage, and failures. You can also integrate other metrics into the Insights UI and export metrics from Dagster Cloud.


About Insights#

Launched in October 2023, Insights is currently an experimental feature. This means we’re still collecting feedback on how Insights works and could make changes based on that feedback.

Note: These changes may include breaking changes to some aspects of the feature, though we will attempt to avoid it.

Future plans#

As part of the experimental release, out-of-the-box utilities for capturing external cost data are limited to Snowflake. Refer to the Integrating other metrics section for more info.


Accessing Insights in the Dagster UI#

To access this feature, click Insights in the top navigation bar in the UI:

Viewing the Insights tab in the Dagster UI

The left navigation panel on this page contains a list of available metrics. For each metric, the daily, weekly, or monthly aggregated values are displayed in the graph.

These metrics are updated on a daily basis.

Available metrics#

MetricDescription
Dagster creditsThe Dagster credit cost associated with computing this object. Dagster credits are charged for every step that is run, and for every asset that is materialized. For more information, refer to the pricing FAQ.
Compute durationThe time spent computing steps. For jobs that run steps in parallel, the compute duration may be longer than the wall clock time it takes for the run to complete.
MaterializationsThe number of asset materializations associated with computing this object.
ObservationsThe number of asset observations associated with computing this object.
Step failuresThe number of times steps failed when computing this object. Note: Steps that retry and succeed are not included in this metric.
Step retriesThe number of times steps were retried when computing this object.
Asset check warningsThe number of asset checks that produced warnings.
Asset check errorsThe number of asset checks that produced errors.
Retry computeThe time spent computing steps, including time spent retrying failed steps. For jobs that run steps in parallel, the compute duration may be longer than the wall clock time it takes for the run to complete.

Uses#

Integrating other metrics#

Other metrics, such as asset materialization metadata or Snowflake credits, can be integrated into Dagster Insights. Insights currently supports the following external metrics:

Exporting metrics#

Metrics in Dagster Cloud Insights can be exported using a GraphQL API endpoint. Refer to the Exporting Insights metrics from Dagster Cloud guide for details.