Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

Allow selective logging for client diagnostics #566

@caroysMSFT

Description

@caroysMSFT

The current client diagnostics string leads to a huge amount of log volume on the client side.

Customers would like some ability to selectively log client metrics, so that they can keep the log volume down. Ingestion costs are usually what causes high log costs in things like Log Analytics and Splunk.

There's a decent example in the .Net SDK of how to only log the diagnostic string when there's a problem - is there enough functionality in the Spring/Java clients to take a similar approach?

https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.cosmos.cosmosdiagnostics.tostring?view=azure-dotnet#examples

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