chore: More tracing cleanup

This commit is contained in:
Tom Moor
2022-04-11 08:04:13 -07:00
parent 27597727ee
commit f399c9d38c
11 changed files with 4 additions and 40 deletions

View File

@@ -1,5 +1,4 @@
import emails from "@server/emails/templates";
import { APM } from "@server/logging/tracing";
import BaseTask from "./BaseTask";
type Props = {
@@ -7,9 +6,6 @@ type Props = {
props: Record<string, any>;
};
@APM.trace({
spanName: "task",
})
export default class EmailTask extends BaseTask<Props> {
public async perform({ templateName, props }: Props) {
const EmailClass = emails[templateName];