-
Notifications
You must be signed in to change notification settings - Fork 11
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
Update AddHoneycomb with settings instance to use Action<> #29
Conversation
Out of curiosity, is there a precedence/convention of not supporting both options (class and Action) ? I've seen different libraries choose different combinations of |
There isn't a convention of preferring one type of parameter vs another. I personally find the |
Co-authored-by: Preetham Reddy <preetham@techfabric.com>
Fixes #16. Updates the default SendFrequency to 10000ms (10 seconds) to match documentation and default value in example appsettings.json. Co-authored-by: Paul Osman <paul@honeycomb.io>
Fixes #14. Adds HoneycombApiSettings.WriteKey to replace TeamId to improve consistency between beeline implementations. TeamId is marked as deprecated and any usage manipulates the new property to ensure backwards compatibility. Docs and usage examples also updated. Also includes replacing package references in Honeycomb.AspnetCore and the Sample projects with project references so it uses the local projects instead of depending on downloaded packages. This allows easier code debugging and for any changes in the root project to be reflected in sub-projects without having to release the main project first.
@MikeGoldsmith what I noticing is that the way it was originally doesn't work, unless I'm being extra slow today? Here's an example demonstrating how it was before, and what happens. |
That's correct, the previous way of calling |
Fixes #17.
Updates the
serviceCollection.AddHoneycomb
programatic overload to take anAction<HoneycombApiSettings>
.