You can use the GraphQL API to get the metrics https://developers.cloudflare.com/analytics/graphql-a
You can use the GraphQL API to get the metrics https://developers.cloudflare.com/analytics/graphql-api/tutorials/querying-workers-metrics/
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value: is the most obnoxious, frustrating type of error I've ever seen. This is so unhelpful to the point of making me want to flip a table.

scriptName e.g. pages-worker--123456-production for each invocation.await cache.match() within a worker to pull a json file within a private R2 that I would otherwise access with the original await env.bucket.get() method? Wondering because it won't have a url to build the cacheKey
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:scriptNamepages-worker--123456-productionawait cache.match()await env.bucket.get()