private GraphiteReporter(MetricRegistry registry, GraphiteSender graphite, Clock clock, String prefix, TimeUnit rateUnit, TimeUnit durationUnit, MetricFilter filter) : base(registry, "graphite-reporter", filter, rateUnit, durationUnit) { this.graphite = graphite; this.clock = clock; this.prefix = MetricName.build(prefix); }
private string Prefix(MetricName name, params String[] components) { return(MetricName.join(MetricName.join(this.prefix, name), MetricName.build(components)).Key); }