jasonkuhrt
CDCloudflare Developers
•Created by jasonkuhrt on 5/29/2024 in #workers-help
How do I send traces from a worker to Grafana Tempo?
I am having a hard time getting traces to export from a worker to Grafana Tempo. Would appreciate any help on this.
2 replies
CDCloudflare Developers
•Created by jasonkuhrt on 5/3/2024 in #workers-help
We're using the API to tear down workers but their KV bindings are not being torn down with them.
This leads to a deleted worker but its KV namespace hangs around:
How can we cascade delete the KV namspace?
5 replies
CDCloudflare Developers
•Created by jasonkuhrt on 4/9/2024 in #workers-help
Queue binding to a deployed queue from my machine?
We would like to interact with queue bindings from scripts on our machine. How would we go about achieving this? We have a worker binding to the queue working but that is limited to use in a deployed worker or wrangler locally.
6 replies
CDCloudflare Developers
•Created by jasonkuhrt on 4/3/2024 in #workers-help
How to access worker queue producer bindings in local development?
At boot I see this message:
But, at runtime
env.notificationChannelEmail
etc. are undefined. I don't understand why.2 replies
CDCloudflare Developers
•Created by jasonkuhrt on 11/7/2023 in #workers-help
Are queue producers and consumers supposed to work in local development with wrangler?
I can't find any explicit information about this in the docs: https://developers.cloudflare.com/queues/
4 replies
CDCloudflare Developers
•Created by jasonkuhrt on 11/6/2023 in #workers-help
wrangler config env queues not working
Issue documented here https://github.com/cloudflare/workers-sdk/issues/4351.
I created the issue whilst Discord was failing to laid.
8 replies
CDCloudflare Developers
•Created by jasonkuhrt on 11/1/2023 in #workers-help
Need to know the cron trigger time in the worker runtime
Is there a simple/canonical way to get the time that a cron was scheduled to run at runtime? Not its recurring schedule but an instance. For example if I ask for daily at 11:59:59, a way for the code that executes to know that the current time it was scheduled to start on was the previous day, even though Date.now() is going to say its the day after naturally.
2 replies
CDCloudflare Developers
•Created by jasonkuhrt on 5/11/2023 in #workers-help
Worker A binding to Worker B leads to `403` error upon runtime fetch call. Why?
I have two works, A & B, A binds to B. When A does the
env.BINDING.fetch(...)
call it leads to a 403 response. That response is NOT coming from our code. Why is CF doing this?
The body response is:
error code: 10033 replies
CDCloudflare Developers
•Created by jasonkuhrt on 5/10/2023 in #workers-help
I am unable to bind a worker to another worker in local development. env.BINDING is always undefined
I am following these instructions but it is not working: https://developers.cloudflare.com/workers/platform/bindings/about-service-bindings/#wranglers
23 replies
CDCloudflare Developers
•Created by jasonkuhrt on 4/7/2023 in #workers-help
No such module "__STATIC_CONTENT_MANIFEST"
Getting this error when running wrangler following this example: https://github.com/cloudflare/kv-asset-handler#example. I am not sure how to fix this.
7 replies
CDCloudflare Developers
•Created by jasonkuhrt on 3/24/2023 in #workers-help
How do I enable node_compat such that "os" and "perf_hooks" can be imported?
4 replies