docbrown/lib
Kirk Haines ed74f2f245
Abstract DatadogStatsClient to ForemStatsClient (#12304)
* This change abstracts the DatadogStatsClient into a ForemStatsClient.
The purpose of this abstraction is to set the foundation for a subsequent PR that will allow one to use New Relic for recording Forem stats, instead of Datadog, if there is a New Relic configuration found.
This specific change creates an abstraction layer that can be built upon, without changing any actual default behavior. All specs still pass.

* Use delegate instead of explicit methods.

* Delegate instead of explicit methods.

* Fix the error.

* Refactor according to the suggestions in the comments.

* Ooops.  Stats work better when all of the code is committed.

* Removing the alias of count to increment since that was done in error.
2021-01-27 11:25:44 -05:00
..
data Remove contact_consent from users (#12196) 2021-01-12 16:18:47 -05:00
data_update_scripts Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
generators Add service generator (#11265) 2020-11-10 09:09:35 +07:00
liquid Remove Liquid::BlockBody patch (#12313) 2021-01-18 08:09:28 +01:00
sidekiq Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
sitemap_generator [deploy] Bug Fix:Monkey Patch Sitemap Generator is lib not config (#10113) 2020-08-31 16:12:11 -05:00
tasks Expand slugignore & Add auto remove node_module rake task (#12372) 2021-01-22 07:24:26 -05:00
api_constraints.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00