I use Google Cloud Endpoint API with Google cloud function backend. I successfully call my functions as defined in the API "swagger" file and see all functions invocations in the cloud function log. But Endpoint services of Google cloud console shows nothing. Also, there are no records in the endpoint log. Any idea?
Asked
Active
Viewed 73 times
0
-
There is instruction how to track logs for Endpoints for Cloud Functions https://cloud.google.com/endpoints/docs/openapi/get-started-cloud-functions#track_api Does it not work as well? – Jaroslav May 08 '20 at 10:49
-
The endpoints request log is empty. – BT3 May 09 '20 at 04:52
-
I will try to recreate your scenario – Jaroslav May 11 '20 at 15:03
-
You can find logs in Logging section > Produced API > "SERVICE_NAME". Can you please check? – Jaroslav May 12 '20 at 07:55
-
I found "Logging section > Produced API > "SERVICE_NAME" but there are no records for it – BT3 May 12 '20 at 08:07
-
I recreted this scenario https://cloud.google.com/endpoints/docs/openapi/get-started-cloud-functions and I can see all logs here. – Jaroslav May 12 '20 at 08:09
-
I have five projects and this happens in only for one of them – BT3 May 12 '20 at 08:28
-
It is better to contact Google Cloud support team, since they can check your project. – Jaroslav May 12 '20 at 12:24