Skip to content

Suppression of warning log in extractErrorStatus in HttpExporter.java #7704

@prasadw

Description

@prasadw

Our collector service does not support grpc responses. Hence, we send back JSON to the library and any failed requests are handled at the custom exporter level where the exception is available in the CompleteableResultCode object.

This works, however, in the extractErrorStatus method, we constantly see the warning log - Unable to parse response body, HTTP status message: + statusMessage. I want to ask how can we suppress this?

Looking at the code, I see that we need to send some kind of byte-encoded response but does it require any specific format?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions