docbrown/app/services/edge_cache
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
..
bust Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
bust.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
bust_article.rb Add bust_article service (#11788) 2020-12-08 11:56:43 -05:00
bust_comment.rb Refactor EdgeCache (#11684) 2020-12-02 14:20:22 -05:00
bust_commentable.rb Refactor EdgeCache (#11684) 2020-12-02 14:20:22 -05:00
bust_events.rb Create services for busting pages, tags, events, and podcasts (#11812) 2020-12-09 10:37:02 -05:00
bust_listings.rb Create services for busting organizations, podcast episodes, listings, and users (#11832) 2020-12-11 08:59:24 -05:00
bust_organization.rb Create services for busting organizations, podcast episodes, listings, and users (#11832) 2020-12-11 08:59:24 -05:00
bust_page.rb Create services for busting pages, tags, events, and podcasts (#11812) 2020-12-09 10:37:02 -05:00
bust_podcast.rb Create services for busting pages, tags, events, and podcasts (#11812) 2020-12-09 10:37:02 -05:00
bust_podcast_episode.rb Create services for busting organizations, podcast episodes, listings, and users (#11832) 2020-12-11 08:59:24 -05:00
bust_sidebar.rb Add sidebar bust logic (#11878) 2020-12-13 19:43:44 -05:00
bust_tag.rb Create services for busting pages, tags, events, and podcasts (#11812) 2020-12-09 10:37:02 -05:00
bust_user.rb Create services for busting organizations, podcast episodes, listings, and users (#11832) 2020-12-11 08:59:24 -05:00