Skip to content

proposal: add DD_HTTP_CLIENT_ERROR_STATUSES #865

Open

Description

Hi team,

for the Java and .NET trace implementation there is an environment variable DD_HTTP_CLIENT_ERROR_STATUSES to configure which status codes should be marked as error. Is there a similar option for go?

Background: I'm moving from nginx ingress controller to traefik ingress controller and while the first one doesn't mark status 404 as error, traefik does, so my error rate goes high. As traefik does not allow to configure this behavior but is written in go, I hope I can solve this problem in this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    ackproposalmore in depth change that requires full team approvalproposal/acceptedAccepted proposals

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions