public static string Title(this TelemetryMetric metric) { return(Titles[(int)metric]); }
public static string Sequence(this TelemetryMetric metric) { return(metric.ToString()); }
/// <summary> /// If addDateTime is sppecified Year, Month, Day properties are added. If time portion is not 00:00:00.000 then also Hour is added. /// </summary> public void LogMetric(TelemetryMetric metric, double value, ITelemetryPropertyProvider properties, DateTime?addDateTime) { LogMetrics(new[] { metric }, value, properties, addDateTime); }