Survey banner
Switching to Dataiku - a new area to help users who are transitioning from other tools and diving into Dataiku! CHECK IT OUT

How to delete logs of metrics and checks

dataikubest
Level 2
How to delete logs of metrics and checks

Is there a way to delete logs of metrics and checks?

Issue: Even if we don't use certain metric and delete it in Dataiku, the logs of that metric still exists in Dataiku instance.

0 Kudos
3 Replies
Turribeach

Metrics can be deleted from the little cogwheel on the right hand side and selecting "Clear metrics values". Checks (or now called Data Quality rules in v12.6) can be deleted individually from the Checks (or DQ) screen.

Screenshot 2024-05-03 at 16.15.06.png

0 Kudos
dataikubest
Level 2
Author

Ah sorry I should've asked it more clearly.

Is there a way to programmatically delete metrics and checks? Instead of clicking button on icon?

0 Kudos

If you are Externally hosting runtime databases then you can easily delete all the metrics and checks by stopping DSS and droping all the tables on the schema. When DSS restarts it will re-initialise all the tables but then all other runtime data will be purged. There isn't other programmatic way to delete metrics and checks data, you could try deleting all rows from the CHECKS* and METRICS* tables only but not sure if that will work.

If you are not externally hosting your runtime database then you should do it. ๐Ÿ˜‰

0 Kudos