Skip to content

Commit 74c2076

Browse files
committed
A couple of docs fixes
1 parent a84e601 commit 74c2076

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/how-it-works.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Example of a parent and child task using the Checkpoint-Resume System:
167167
```ts
168168
import { task, wait } from "@trigger.dev/sdk/v3";
169169

170-
const parentTask = task({
170+
export const parentTask = task({
171171
id: "parent-task",
172172
run: async () => {
173173
console.log("Starting parent task");
@@ -186,7 +186,7 @@ const parentTask = task({
186186
},
187187
});
188188

189-
const childTask = task({
189+
export const childTask = task({
190190
id: "child-task",
191191
run: async (payload: { data: string }) => {
192192
console.log("Starting child task with data:", payload.data);

docs/logging.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Trigger.dev uses OpenTelemetry tracing under the hood. With automatic tracing fo
4747

4848
![The run log](/images/auto-instrumentation.png)
4949

50-
You can [add instrumentations](/trigger-config#instrumentations). The Prisma one above will automatically trace all Prisma queries.
50+
You can [add instrumentations](/config/config-file#instrumentations). The Prisma one above will automatically trace all Prisma queries.
5151

5252
### Add custom traces
5353

0 commit comments

Comments
 (0)