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

Make function execution API return an execution ID that can be used to get logs #1288

Open
davidebbo opened this issue Mar 9, 2017 · 2 comments

Comments

@davidebbo
Copy link
Contributor

davidebbo commented Mar 9, 2017

Today, when Portal executes a method, the only way it has to get the logs is to rely on the log stream, which doesn't work well.

Instead, we should switch to a model where we get back an invocation id (e.g. in a header) that can be used to easily get all the relevant logs (and counters) for this one invocation.

@davidebbo davidebbo changed the title Add new admin API to execute function and get back the response + the logs Make function execution API return an execution ID that can be used to get logs Mar 9, 2017
@lindydonna
Copy link
Contributor

Turns out I created a duplicate item. Here are a few more details:

There are two parts:

  1. When calling the admin API, return an invocation ID
  2. Provide an API to get the logs for that invocation ID

Open question: for HTTP triggers, the portal just calls the endpoint directly and does not use the admin API. Need to come up with a design to handle this.

@lindydonna
Copy link
Contributor

Looks like we have another duplicate: #1122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants