lib/google/cloud/trace/time_sampler.rb in google-cloud-trace-0.33.0 vs lib/google/cloud/trace/time_sampler.rb in google-cloud-trace-0.33.1

- old
+ new

@@ -28,18 +28,19 @@ # TimeSampler is the default sampler. It bases its sampling decision on # two considerations: # # 1. It allows you to blacklist certain URI paths that should never be # traced. For example, the Google App Engine health check request - # path `/_ah/health` is blacklisted by default. + # path `/_ah/health` is blacklisted by default. Kubernetes default + # health check `/healthz` is also ignored. # 2. It spaces samples out by delaying a minimum time between each # sample. This enforces a maximum QPS for this Ruby process. # class TimeSampler ## # Default list of paths for which to disable traces. Currently includes # App Engine Flex health checks. - DEFAULT_PATH_BLACKLIST = ["/_ah/health"].freeze + DEFAULT_PATH_BLACKLIST = ["/_ah/health", "/healthz"].freeze ## # Create a TimeSampler for the given QPS. # # @param [Number] qps Samples per second. Default is 0.1.