Kedro helps you build production-ready data and analytics pipelines
Overall
score
98%
Build a Kedro plugin that implements custom hooks to track pipeline execution metrics.
Create a Kedro hook plugin that monitors node execution times and saves metrics to a file. The plugin should:
The plugin must record for each node execution:
The metrics should be written to execution_metrics.json in the current directory after the pipeline finishes.
When a pipeline runs with this plugin installed:
execution_metrics.json @testnode_name and duration fields @test@generates
"""
A Kedro hook plugin for tracking pipeline execution metrics.
"""
class MetricsHook:
"""
Hook implementation that tracks node execution metrics.
Implements the required hook methods to capture timing information.
"""
passProvides the hooks framework and plugin system.
Install with Tessl CLI
npx tessl i tessl/pypi-kedro