Skip to content
GitAtSmsPortal edited this page Dec 18, 2017 · 1 revision

MetricTags now take a Dictionary of <string, string> instead of the string[].

var tags1 = new MetricTags(new Dictionary<string,string> { {"tagKey","tagValue"} });
MetricTags tags2 = new Dictionary<string,string> { {"tagKey","tagValue"} };

This has allowed for more simple code for formatting of tag name and values.

Clone this wiki locally