Class MetricLabelExtensions
Inheritance
System.Object
MetricLabelExtensions
Assembly: Steeltoe.Management.OpenTelemetryBase.dll
Syntax
public static class MetricLabelExtensions : object
Methods
|
Edit this page
View Source
AsDictionary(ReadOnlyTagCollection)
Declaration
public static IDictionary<string, string> AsDictionary(this ReadOnlyTagCollection tagCollection)
Parameters
Type |
Name |
Description |
ReadOnlyTagCollection |
tagCollection |
|
Returns
Type |
Description |
IDictionary<System.String, System.String> |
|
|
Edit this page
View Source
AsReadonlySpan(IDictionary<String, Object>)
Declaration
public static ReadOnlySpan<KeyValuePair<string, object>> AsReadonlySpan(this IDictionary<string, object> keyValuePairs)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
keyValuePairs |
|
Returns
Type |
Description |
ReadOnlySpan<KeyValuePair<System.String, System.Object>> |
|
|
Edit this page
View Source
AsReadonlySpan(IEnumerable<KeyValuePair<String, Object>>)
Declaration
public static ReadOnlySpan<KeyValuePair<string, object>> AsReadonlySpan(this IEnumerable<KeyValuePair<string, object>> keyValuePairs)
Parameters
Type |
Name |
Description |
IEnumerable<KeyValuePair<System.String, System.Object>> |
keyValuePairs |
|
Returns
Type |
Description |
ReadOnlySpan<KeyValuePair<System.String, System.Object>> |
|