Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Don't sample traces for grpc health checks #1199

@jjhuff

Description

@jjhuff

ochttp appears to ignore requests from /healthz, etc (https://github.com/census-instrumentation/opencensus-go/blob/master/plugin/ochttp/server.go#L96). This would be a really handy feature in ocgrpc

Is your feature request related to a problem? Please describe.
My service gets more health check requests than actual requests, so my trace list is swamped.

Describe the solution you'd like
Filter them out automatically or allow another way to filter them.

Describe alternatives you've considered
Switch to a healthcheck on another port.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions