Skip to content

Conversation

@rozbb
Copy link
Contributor

@rozbb rozbb commented Nov 18, 2025

Question: One thing I'm not clear on is where the observability key is supposed to go in wrangler.jsonc. Can it be scoped to environment or does it need to be global?

@cjpatton cjpatton self-requested a review November 18, 2025 03:30
@fisherdarling
Copy link

The key can be scoped to both an environment and globally as well. Take a look at https://developers.cloudflare.com/workers/observability/logs/workers-logs/#enabling-with-environments

Also, we might as well enable workers tracing too: https://developers.cloudflare.com/workers/observability/traces/#how-to-enable-tracing
that'll help us find any deeper causes of latency. I think the RPS rate can be high (?) so 5% sampling like in the docs seems fine to me.

@cjpatton cjpatton self-requested a review November 18, 2025 16:31
@cjpatton cjpatton merged commit 8093f91 into cloudflare:main Nov 18, 2025
1 check passed
@rozbb rozbb deleted the add-dashboard-logging branch November 18, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants