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
mock: document public API in collector module #2389
Commits on Nov 16, 2022
-
mock: document public API in collector module
There has been interest around publishing `tracing-mock` to crates.io for some time. In order to make this possible, documentation and some code clean up is needed. This change adds documentation to the collector module itself and to all the public APIs in the module. This includes doctests on all the methods that serve as examples. Additionally the implementation for the `Expect` struct has been moved into the module with the definition, this was missed in #2369. Refs: #539
Configuration menu - View commit details
-
Copy full SHA for a5e7058 - Browse repository at this point
Copy the full SHA a5e7058View commit details
Commits on Nov 18, 2022
-
don't make MockCollector::drop_span deprecated
It creates too many issues (need to add `allow_deprecated` annotations all over the place) and they will actually make fixing those tests to use the new (but as yet unimplemented) `MockCollector::close_span` more difficult.
Configuration menu - View commit details
-
Copy full SHA for 39045ed - Browse repository at this point
Copy the full SHA 39045edView commit details -
I was wondering whether missing docs were checked...
They are! I removed the referce to `MockCollector::close_span` as it doesn't yet exist.
Configuration menu - View commit details
-
Copy full SHA for fe92324 - Browse repository at this point
Copy the full SHA fe92324View commit details
Commits on Jan 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 28b25fc - Browse repository at this point
Copy the full SHA 28b25fcView commit details
Commits on Jan 5, 2023
-
added negative examples to most methods
Also cleaned up the text and tried to apply the code review comments from #2426 to what I'd written already.
Configuration menu - View commit details
-
Copy full SHA for b2816a2 - Browse repository at this point
Copy the full SHA b2816a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 299f093 - Browse repository at this point
Copy the full SHA 299f093View commit details -
Configuration menu - View commit details
-
Copy full SHA for d37a121 - Browse repository at this point
Copy the full SHA d37a121View commit details
Commits on Jan 9, 2023
-
Apply suggestions from code review
Co-authored-by: Eliza Weisman <eliza@buoyant.io>
Configuration menu - View commit details
-
Copy full SHA for 757d877 - Browse repository at this point
Copy the full SHA 757d877View commit details
Commits on Jan 10, 2023
-
Expanded collector module examples and other changes
All based on the lovely code review feedback I've been receiving.
Configuration menu - View commit details
-
Copy full SHA for 55901c8 - Browse repository at this point
Copy the full SHA 55901c8View commit details -
Merge branch 'hds/mock-collector-docs' of github.com:tokio-rs/tracing…
… into hds/mock-collector-docs
Configuration menu - View commit details
-
Copy full SHA for f24c2ed - Browse repository at this point
Copy the full SHA f24c2edView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca6b72a - Browse repository at this point
Copy the full SHA ca6b72aView commit details
Commits on Jan 18, 2023
-
Ported some comments from #2446
The PR documenting the subscriber module.
Configuration menu - View commit details
-
Copy full SHA for df486f9 - Browse repository at this point
Copy the full SHA df486f9View commit details
Commits on Jan 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7264d25 - Browse repository at this point
Copy the full SHA 7264d25View commit details
Commits on Jan 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6b5740e - Browse repository at this point
Copy the full SHA 6b5740eView commit details
Commits on Apr 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bc9c292 - Browse repository at this point
Copy the full SHA bc9c292View commit details
Commits on Jun 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0b8b99a - Browse repository at this point
Copy the full SHA 0b8b99aView commit details
Commits on Jun 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 591cc79 - Browse repository at this point
Copy the full SHA 591cc79View commit details