Skip to content

differentiate between client vs. server errors in InfluxDbException #375

Closed
@jack-kerouac

Description

@jack-kerouac

When dealing with an InfluxDbException, it would be useful to know whether the HTTP error code was 4xx, indicating a problem with the client, e.g. an invalid query, or whether it was a 5xx error, indicating a problem with the server.

Currently, these cases cannot be differentiated. This is important for us, because we are using Hystrix and would only like to count 5xx failures against the metrics for the circuit breaker.

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