forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cosmos Diagnostics Handler for Python SDK (Azure#38581)
* Adding prototype of diagnostics handler Prototype implementation of diagnostics handler * Add additional diagnostics info Adds additional diagnsotics to add to logs. * allow customizable logging conditions This commit adds functinality that allows a user to plug in their own should_log method as a class method for the cosmos http logging policy. This allows for deep customizing options including using their own choice of library to log things such as cpu usage. * update samples and readme adds to the readme on how to use diagnsotics handler * updates to diagnostic handler added more things to filter and disclaimer tht it is preview feature. * beta version update * Update diagnostics_handler_sample.py * Update _cosmos_http_logging_policy.py * Update _cosmos_http_logging_policy.py * update version * Update CHANGELOG.md * Update _cosmos_http_logging_policy.py * Update _cosmos_http_logging_policy.py * Update test_cosmos_http_logging_policy.py * Update _cosmos_http_logging_policy.py * Update _cosmos_http_logging_policy.py * update tests with custom logger
- Loading branch information
Showing
16 changed files
with
474 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.