/// <summary> /// Log a calendargram metric /// </summary> /// <param name="client">The statsd client instance.</param> /// <param name="name">The metric namespace</param> /// <param name="value">The unique value to be counted in the time period</param> /// <param name="period">The time period, can be one of h,d,dow,w,m</param> public static void LogCalendargram(this IStatsd client, string name, string value, string period) { client.LogCalendargramAsync(name, value, period).ConfigureAwait(false).GetAwaiter().GetResult(); }
public static void LogCalendargram(this IStatsd client, string name, long value, string period) { client.LogCalendargramAsync(name, value, period)?.Wait(); }