Skip to content

Commit 9a052a2

Browse files
authored
Merge pull request #5 from subtrace/dev/sachin/minor.changes
Quickstart: Update docs
2 parents 9c82167 + 672351f commit 9a052a2

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

quickstart.mdx

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,10 @@ icon: "rocket"
99

1010
1. Go to [https://subtrace.dev/login](https://subtrace.dev/login) and log in with your single sign-on (SSO) identity provider.
1111

12-
2. If this is your first time using Subtrace, you will be instructed to create your first namespace.
12+
2. If this is your first time using Subtrace, you will be instructed to create your first namespace and setup a worker. Follow the on screen instructions, and make sure your worker is connected before proceeding.
1313

1414
Once this is done, you should see the Subtrace dashboard. There's nothing there yet, so the next step is to ingest some traces.
1515

16-
## Setting up a Subtrace worker
17-
18-
The worker is where all your tracing data lives. You can set one up on any machine that's connected to the internet.
19-
20-
1. Go to the [Subtrace dashboard](https://subtrace.dev/dashboard/) and click on "Tokens" in the left pane.
21-
22-
2. Click **Create worker token** to generate a Subtrace worker token.
23-
24-
3. Run the Subtrace worker docker image. Don't forget to set the `SUBTRACE_TOKEN` environment variable to the token you just generated.
25-
26-
```bash
27-
docker run -d --env SUBTRACE_TOKEN='subt_...' ghcr.io/subtrace/worker:latest
28-
```
29-
30-
This sets up a worker that listens for your app's traces.
31-
3216
## Running your app under Subtrace
3317

3418
1. Go to the [Subtrace dashboard](https://subtrace.dev/dashboard/) and click on "Tokens" in the left pane.

0 commit comments

Comments
 (0)