/// <inheritdoc /> public IHistogram Histogram(string name, Units unit, SamplingTypes samplingType = SamplingTypes.FavorRecent, List <KeyValuePair <string, string> > tags = null) { return(MetricsStatic.Histogram(_context, name, unit, samplingType)); }
/// <inheritdoc /> public ITimer Timer(string name, Units unit, SamplingTypes samplingType = SamplingTypes.FavorRecent, TimeUnits rateUnit = TimeUnits.Seconds, TimeUnits durationUnit = TimeUnits.Milliseconds, List <KeyValuePair <string, string> > tags = null) { return(MetricsStatic.Timer(_context, name, unit, samplingType, rateUnit, durationUnit, tags)); }
/// <inheritdoc /> public IMeter Meter(string name, string unitName, TimeUnits rateUnit, List <KeyValuePair <string, string> > tags = null) { return(MetricsStatic.Meter(_context, name, unitName, rateUnit, tags)); }
/// <inheritdoc /> public ICounter Counter(string name, string unitName, List <KeyValuePair <string, string> > tags = null) { return(MetricsStatic.Counter(_context, name, unitName, tags)); }
/// <inheritdoc /> public void Gauge(string name, Func <double> valueProvider, Units unit, List <KeyValuePair <string, string> > tags = null) { MetricsStatic.Gauge(_context, name, valueProvider, unit, tags); }
/// <inheritdoc /> public IMetricsContext Context(string contextName) { return(MetricsStatic.Build(contextName)); }
/// <inheritdoc /> public ITimer Timer(string name, Units unit, SamplingTypes samplingType, TimeUnits rateUnit, TimeUnits durationUnit, List <KeyValuePair <string, string> > tags = null) { return(MetricsStatic.Timer(_context, name, unit, samplingType, rateUnit, durationUnit, tags)); }