There are 2 dashboards: a dashboard for all your pipelines and a dashboard for each pipeline. You can add charts of various types with different sources of data. Use these dashboards for observability or for analytics.
/overview?tab=Dashboard
)/pipelines/[:id]/dashboard
)Field | Description | Required | Example |
---|---|---|---|
Pipeline UUID | The pipeline UUID the block belongs to. | ✅ | example_pipeline |
Block UUID | The block UUID you want data from. | ✅ | load_api_data |
Partitions | Enter a positive or a negative number. If positive, then data from the block will be the most recent N partitions. If negative, then data from the block will be the oldest N partitions. | 3 |
@data_source
decorator that returns the data
for your chart.
Field | Description | Required | Example |
---|---|---|---|
Aggregation | After grouping the data by 1 or more columns, perform the following aggregation function on a column. | ✅ | Average |
Column | Select the column to perform the aggregation function on. | ✅ | country |
@data_source
Custom code
, then this function’s return value is the
data that the chart will display.
However, if the data source type is anything else besides Custom code
,
then this function can be used for post processing of the data from the selected
data source.
For example, let’s say the data source type is Block data output
and
the number of partitions is 2
. The chart will retrieve the 2 most recent partitions of data from
that block.
In the @data_source
decorated function, you can write code to operate on 2 of
those block output data:
@x
x
values for your chart.
X values typically contain the column that you group your data on.
For example, group pipelines by their type.
@y
y
values for your chart.
Y values typically contain the value for a group of rows.
For example, the number of pipelines that are data integration pipelines.
@xy
@x
and @y
into 1 function.
Use this function if you want to custom both the x
and y
values and you want to share the
same variables defined within the function.
The difference is that you must return a tuple where
the x
values are 1st and the y
values are 2nd.
@configuration
@columns
@render