chore: More tracing cleanup

This commit is contained in:
Tom Moor
2022-04-10 20:11:18 -07:00
parent 31b95b5f17
commit 27597727ee
10 changed files with 30 additions and 10 deletions

View File

@@ -9,7 +9,9 @@ type Props = {
limit: number;
};
@APM.trace()
@APM.trace({
spanName: "task",
})
export default class CleanupExpiredFileOperationsTask extends BaseTask<Props> {
public async perform({ limit }: Props) {
Logger.info("task", `Expiring export file operations older than 30 days…`);