Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Resource Type in Worker Metadata #1046

Open
nicoburniske opened this issue Oct 31, 2024 · 0 comments
Open

Include Resource Type in Worker Metadata #1046

nicoburniske opened this issue Oct 31, 2024 · 0 comments

Comments

@nicoburniske
Copy link
Member

Right now, there's no way to distinguish the type of a given resource. We should include the type or function name of the constructor that was used for each of the items in ownedResources

{
   "accountId":"4ddb8290-833b-4b28-a282-57a3a8b682e8",
   "args":[
      
   ],
   "componentSize":89735,
   "componentVersion":2,
   "createdAt":"2024-10-08T19:32:41.016Z",
   "env":{
      
   },
   "lastError":null,
   "ownedResources":{
      "0":{
         "createdAt":"2024-10-29T11:46:26.773Z",
         "indexed":null
      },
      "1":{
         "createdAt":"2024-10-29T13:27:00.973Z",
         "indexed":null
      },
      "2":{
         "createdAt":"2024-10-29T13:51:28.294Z",
         "indexed":null
      },
      "3":{
         "createdAt":"2024-10-30T12:57:52.166Z",
         "indexed":null
      }
   },
   "pendingInvocationCount":0,
   "retryCount":0,
   "status":"Idle",
   "totalLinearMemorySize":1114112,
   "updates":[
      
   ],
   "workerId":{
      "componentId":"bc796179-09e7-4df7-ae67-055b551d0199",
      "workerName":"a837eec0-612b-493e-b291-0abf22ba5507"
   }
}
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

No branches or pull requests

1 participant