Kevin W - Itty
04/17/2023, 2:24 PMUnsmart | Tech debt
04/17/2023, 2:48 PMUnsmart | Tech debt
04/17/2023, 2:51 PMgql
query {
viewer {
accounts(filter: {
accountTag: "<put ur account id here>"
}) {
workersInvocationsAdaptive(
filter: {
date_geq: "2023-03-01",
date_leq: "2023-03-31"
},
limit: 10000,
orderBy: [sum_requests_DESC]
) {
dimensions {
scriptName
}
sum {
requests
wallTime
}
}
}
}
}
Unsmart | Tech debt
04/17/2023, 2:56 PM0.000000125
should get you the GB-sec valueKevin W - Itty
04/17/2023, 3:21 PMstackiflow
04/17/2023, 3:45 PMunsafe
documented?
As in
[unsafe.metadata.placement]
mode = "smart"
from https://developers.cloudflare.com/workers/platform/smart-placement/#enable-smart-placement-beta
Because I'm getting this error and I can't make any sense of it.
▲ [WARNING] Processing wrangler.toml configuration:
- "unsafe" fields are experimental and may change or break at any time.
- "env.dev" environment configuration
- "unsafe" exists at the top level, but not on "env.dev".
This is not what you probably want, since "unsafe" is not inherited by environments.
Please add "unsafe" to "env.dev".
✘ [ERROR] Processing wrangler.toml configuration:
If you think this is a bug then please create an issue at https://github.com/cloudflare/wrangler2/issues/new/choose
- The field "unsafe" is missing the required "bindings" property.
Walshy | Pages
04/17/2023, 3:47 PMWalshy | Pages
04/17/2023, 3:47 PM[env.dev.unsafe.metadata.placement]
Walshy | Pages
04/17/2023, 3:47 PMkian
04/17/2023, 3:47 PMkian
04/17/2023, 3:47 PMkian
04/17/2023, 3:48 PMstackiflow
04/17/2023, 3:59 PM[unsafe.metadata.placement]
mode = "smart"
there's a [dev]
section above and some other things below. Does that count as "in the dev env"?stackiflow
04/17/2023, 4:00 PMianh
04/17/2023, 5:49 PMkian
04/17/2023, 5:51 PMianh
04/17/2023, 5:54 PMianh
04/17/2023, 5:54 PMianh
04/17/2023, 5:55 PMkian
04/17/2023, 6:00 PMkian
04/17/2023, 6:00 PMHardAtWork
04/17/2023, 6:03 PMianh
04/17/2023, 6:08 PMHardAtWork
04/17/2023, 6:09 PMHardAtWork
04/17/2023, 6:09 PMHardAtWork
04/17/2023, 6:10 PMianh
04/17/2023, 6:11 PMHardAtWork
04/17/2023, 6:11 PMKaelten
04/17/2023, 6:12 PMianh
04/17/2023, 6:12 PM