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

Function logging support #126

Open
RobertIndie opened this issue Feb 6, 2024 · 0 comments
Open

Function logging support #126

RobertIndie opened this issue Feb 6, 2024 · 0 comments

Comments

@RobertIndie
Copy link
Contributor

Motivation

It's an important need to support logging for the function. We need these logs to check if the function is working correctly, and in case of failure, help identify the problem.

Goals

  • Support logging in the wasm function
  • Support accessing logs from the function-stream

Implementation

API Changes

  • We could use the stderr stream to get logs from the wasm function
  • Add new rest endpoints for function-stream: /api/v1/function/{function_name}/logs. This will return all the logs from the function

Notes

We need to support accessing the logs while the function is executing.

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