public GraphsController(IGraphQuery graphQuery, IGraphiteSettings graphiteSettings) { _graphQuery = graphQuery; _graphiteSettings = graphiteSettings; }
public GraphiteClient(IGraphiteSettings graphiteSettings) { _graphiteSettings = graphiteSettings; }
public CachedGraphiteClient(IGraphiteSettings graphiteSettings, IGraphiteResourcesCache cache) { _cache = cache; _graphiteClient = new GraphiteClient(graphiteSettings); // TODO, inject this better, maybe providere }