3

I'm running my app in Google Kubernetes Engine, and the Stackdriver Traces are very useful to determine the health and speed of my app.

However the large majority of request coming into my app are the health checks from the load-balancer to make sure the pod is ready to receive traffic. This makes the overview tab of the traces console in Google Cloud completely useless since it's essentially just telling me about the health checks.

Is there a way to exclude the health checks from what is being traced?

1 Answers1

1

Since you can't exclude and filter out the accumulated health checks, it seems the only workaround is to avoid generating excessive health check traces. That way they will be filtered on the input instead of the output. Though this might work only if your App is written by your developer team.

The trace calls in the App should be put into a wrapper that recognizes healthcheck requests by analysing the source subnet (may not work with proxy) or the HTTP request, and traces say only every 100th of such requests.

NOTE. There is a Feature Request #150672457 on Buganizer that could address the issue you're facing.

mebius99
  • 426