Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(python): documented way to skip logging a request #271

Merged

Conversation

RyanGWU82
Copy link
Contributor

🧰 What's being changed?

Give users a clear way to mark requests that shouldn't be logged to ReadMe. A grouping function can return None which is an indication that the log should not be captured and sent to ReadMe.

Added documentation to README.md and added the functionality to the Metrics core processor.

🧪 Testing

Added unit tests. Also tested with the metrics-test-python test server, see this commit: https://github.com/readmeio/metrics-test-python/commit/6484c2767fd524237d08352e10082a431d40de8a

@RyanGWU82 RyanGWU82 requested a review from erunion July 8, 2021 23:17
@RyanGWU82 RyanGWU82 force-pushed the python-metrics-client-allow-user-not-to-rm-1307 branch from e12cedc to fa269dd Compare July 8, 2021 23:18
RyanGWU82 and others added 3 commits July 8, 2021 16:20
@RyanGWU82 RyanGWU82 merged commit 33d9c62 into python-next Jul 8, 2021
@RyanGWU82 RyanGWU82 deleted the python-metrics-client-allow-user-not-to-rm-1307 branch July 8, 2021 23:20
domharrington pushed a commit that referenced this pull request Apr 19, 2022
* feat: documented way to skip logging a request

* Update packages/python/README.md

Co-authored-by: Jon Ursenbach <[email protected]>

* Update packages/python/README.md

Co-authored-by: Jon Ursenbach <[email protected]>

* Update packages/python/README.md

Co-authored-by: Jon Ursenbach <[email protected]>

Co-authored-by: Jon Ursenbach <[email protected]>
@erunion erunion added python Issues related to our Python SDK and removed area:python labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Issues related to our Python SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants