func icon indicating copy to clipboard operation
func copied to clipboard

Offer Function Logs via an HTTP request

Open lkingland opened this issue 3 years ago • 6 comments

    Any chance the function could provide a link to its own logs somehow on a GET? Probably not, but I thought it might be worth asking...

Originally posted by @evankanderson in https://github.com/knative/docs/pull/5243#discussion_r989380651

Perhaps provide a special (authenticated) endpoint on all Functions https://<function route>/f/logs which, when requested, streams logs to the client until the connection is closed.

lkingland avatar Oct 08 '22 16:10 lkingland

I was suggesting this particularly for the getting started tutorial. I'm not sure what we might want to do for general-purpose functions.

For example, would we want to serve either automated (Open API?) or human-readable (html?) docs on a well-known endpoint? I don't know...

evankanderson avatar Oct 08 '22 21:10 evankanderson

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Apr 18 '23 01:04 github-actions[bot]

/remove-lifecycle stale

lance avatar Jul 12 '23 13:07 lance

Hey if this feature of accessing the function logs via a HTTP request is still pending then I would like to give it a try. I am new to Knative in general but I do have idea regarding serverless and k8's. It would be better if someone here can provide me some extra context and flow regarding the issue.

Sanket-0510 avatar Feb 14 '24 06:02 Sanket-0510

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar May 15 '24 01:05 github-actions[bot]

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Aug 30 '24 01:08 github-actions[bot]