public static void Metric(this ITelemetryService telemetry, TelemetryEventType type, string message, double value, Dictionary <string, string> properties = null) { telemetry.Metric(TelemetryEventHelper.GetEvent(type, message), value, properties); }
public static void Event(this ITelemetryService telemetry, TelemetryEventType type, string message, Dictionary <string, string> properties = null, Dictionary <string, double> measures = null) { telemetry.Event(TelemetryEventHelper.GetEvent(type, message), properties, measures); }