fermyon / feedback

Centralized repository for Fermyon Cloud feedback and bug reports
3 stars 1 forks source link

Fermyon cloud: get logs via API for each deployed module. #22

Open yarikus83 opened 1 year ago

yarikus83 commented 1 year ago

at metatable.ai we provide function deployments to our users. Users write rust code then we deploy it to Fermyon using our company account.

It'd be great to have logs for each deployed module via API, so we could show it to our users.

mikkelhegn commented 1 year ago

Thank you for the issue @yarikus83.

To understand correctly, you want something like this api https://cloud.fermyon.com/api/channels/{GUID}/logs to take a spin component id as a parameter to only get logs for that specific component?

bacongobbler commented 1 year ago

Hi @yarikus83! Checking in here again to better understand the requirements of your ask. Do you want to have some way to retrieve the logs from each individual component in your Spin application?

Currently the logs API provides all of the logs from every module. You can see an example of this in the Cloud Dashboard.

yarikus83 commented 1 year ago

Hi @bacongobbler Yes, it's all good. We've got it. @mikkelhegn Sorry did not see your message.