Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(cfw): Add better prerequisites explanation #3633

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/docs/examples-tutorials/recipes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ These recipes show how to trigger Tracetest test runs with message queues like K
These recipes show how to run tests against Serverless Functions with Tracetest.

- [Testing Vercel Functions with OpenTelemetry](/examples-tutorials/recipes/testing-vercel-functions-with-opentelemetry-tracetest)
- [Testing Cloudflare Workers with OpenTelemetry](/examples-tutorials/recipes/testing-cloudflare-workers-with-opentelemetry-tracetest)

## Trace Data Stores

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ The Cloudflare Worker will fetch data from an external API, transform the data a
- Create an [environment](/concepts/environments).
- Create an [environment token](/concepts/environment-tokens).
- Have access to the environment's [agent API key](/configuration/agent).

### Cloudflare Account

- [Cloudflare Workers Account](https://workers.cloudflare.com/)
- [Cloudflare D1 Database](https://developers.cloudflare.com/d1/get-started/)

Expand All @@ -70,6 +73,18 @@ Before moving forward, run `npm i` in the root folder to install the dependencie
npm i
```

If you do not have [`npx`](https://www.npmjs.com/package/npx) installed, install it first.

```bash title=Terminal
npm i npx -g
```

Run the command to login to your Cloudflare Workers account.

```bash title=Terminal
npx wrangler login
```

Run the command to create a D1 database both locally and in your Cloudflare Workers account.

```bash title=Terminal
Expand Down