Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions packages/tail-relay/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Factorize Tail Relay

This Cloudflare Tail Worker sanitizes trace events, signs them with HMAC-SHA256, and forwards them to a Factorize Cloudflare Tail flow.

## Usage

From the repository root, install dependencies with `npm ci`. Set `FACTORIZE_TAIL_DESTINATION` in `packages/tail-relay/wrangler.jsonc`, then store the signing secret with:

```sh
npm exec --workspace=factorize-tail-relay -- wrangler secret put FACTORIZE_TAIL_SECRET
```

Configure each producer Worker to use the relay:

```jsonc
"tail_consumers": [{ "service": "factorize-tail-relay" }]
```

## Deployment

Authenticate Wrangler to the producer Workers' Cloudflare account, then run `npm run deploy:tail-relay`. The relay must be deployed in the same Cloudflare account as its producer Workers.
Loading