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

API GW trace is not being logged #783

Open
jaksky opened this issue Feb 1, 2023 · 1 comment
Open

API GW trace is not being logged #783

jaksky opened this issue Feb 1, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@jaksky
Copy link

jaksky commented Feb 1, 2023

Hello,

we are using API GW which runs service_agent: "ESPv2/2.41.0". Unfortunately, we don't see trace id being logged into GCP standard logging.

In our setup GLB -≥ API GW -> Cloud Run

We see GLB trace in our logs and same for Cloud Run. Api GW is missing. According this documentation GLB adds Traicing context. So it seems that API GW is not logging this information. I think that it is really key to have it present.

Do we need to somehow enable it?
Is there a way how to pass startup options when using it as a API Gateway?

@nareddyt nareddyt self-assigned this Feb 1, 2023
@nareddyt nareddyt added the question Further information is requested label Feb 1, 2023
@nareddyt
Copy link
Contributor

nareddyt commented Feb 1, 2023

ESPv2 supports tracing, but AFAIK Cloud API Gateway did not enable it for their managed deployments of ESPv2 unfortunately. There are some concerns with trace sample rate and propagating the traces back to your GCP project. If they enable the feature, you should start seeing trace ids in the access log.

I suggest filing a cloud customer support issue to Cloud API Gateway, asking for this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants