The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
import { trackSchemaEvent } from "metabase/analytics";
export const trackStaleItemsArchived = ({
collection_id,
total_items_archived,
cutoff_date,
}: {
collection_id: number | null;
total_items_archived: number;
cutoff_date: string;
}) => {
trackSchemaEvent("cleanup", {
event: "stale_items_archived",
collection_id,
total_items_archived,
cutoff_date,
});
};