/// <summary> /// Initializes a new instance of the type /// </summary> /// <param name="client">The telemetry client being written to</param> /// <param name="name">The name of the pulse</param> /// <param name="help">The help text associated with the pulse</param> /// <param name="labels">The labels assocaited with the pulse</param> public ApplicationInsightsSummary(TelemetryClient client, string name, string help, string[] labels) { Name = name; Help = help; Labels = labels; _metric = client.GetMetric(Name); _writer = new DimensionalWriter(_metric, labels); }