private static Google.ICanReportToGoogleAnalytics Map(GaugeValueSource gauge, string context) { return new Google.Gauge(FullName(gauge.Name, context), gauge.Value, gauge.Unit.Name); }
public bool IsMatch(GaugeValueSource gauge) { return true; }
public bool IsMatch(GaugeValueSource gauge) { if (types != null && !types.Contains(MetricType.Gauge)) { return false; } return IsNameMatch(gauge.Name); }
private IEnumerable <GaugeValueSource> SetupGauges() { var gauge = new GaugeValueSource(GaugeNameDefault, ConstantValue.Provider(0.5), Unit.Calls, Tags); return(new[] { gauge }); }