Skip to content

Including "uri" in the Diagnostic logs #401

Description

Based on a recent incident, we wanted to know how feasible it would be to include the container that they are trying to access in the diagnostic logs. User is setting "endpoint" but receiving and error "Server could not parse the Url" but since we are not able to see what that actual value is, we want to include it in the diagnostics.

Reference:

return new CosmosClientBuilder()
.endpoint(uri)
.credential(azureKeyCredential)
.directMode(directConnectionConfig, gatewayConnectionConfig);

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions