@@ -46,7 +46,7 @@ protected static void VerifyOptionalTag<T>(KeyValuePair<string, object?>[] tags,
46
46
}
47
47
}
48
48
49
- private static void VerifySchemeHostPort ( KeyValuePair < string , object ? > [ ] tags , Uri uri )
49
+ private static void VerifySchemeHostPortTags ( KeyValuePair < string , object ? > [ ] tags , Uri uri )
50
50
{
51
51
VerifyOptionalTag ( tags , "scheme" , uri . Scheme ) ;
52
52
VerifyOptionalTag ( tags , "host" , uri . Host ) ;
@@ -60,7 +60,7 @@ protected static void VerifyRequestDuration(string instrumentName, double measur
60
60
{
61
61
Assert . Equal ( InstrumentNames . RequestDuration , instrumentName ) ;
62
62
Assert . InRange ( measurement , double . Epsilon , 60 ) ;
63
- VerifySchemeHostPort ( tags , uri ) ;
63
+ VerifySchemeHostPortTags ( tags , uri ) ;
64
64
VerifyOptionalTag ( tags , "method" , method ) ;
65
65
VerifyOptionalTag ( tags , "protocol" , protocol ) ;
66
66
VerifyOptionalTag ( tags , "status-code" , statusCode ) ;
@@ -73,7 +73,7 @@ protected static void VerifyCurrentRequest(string instrumentName, long measureme
73
73
{
74
74
Assert . Equal ( InstrumentNames . CurrentRequests , instrumentName ) ;
75
75
Assert . Equal ( expectedValue , measurement ) ;
76
- VerifySchemeHostPort ( tags , uri ) ;
76
+ VerifySchemeHostPortTags ( tags , uri ) ;
77
77
}
78
78
79
79
protected static void VerifyFailedRequests ( Measurement < long > measurement , long expectedValue , Uri uri , string ? protocol , int ? statusCode , string method = "GET" )
@@ -82,7 +82,7 @@ protected static void VerifyFailedRequests(Measurement<long> measurement, long e
82
82
83
83
KeyValuePair < string , object ? > [ ] tags = measurement . Tags . ToArray ( ) ;
84
84
85
- VerifySchemeHostPort ( tags , uri ) ;
85
+ VerifySchemeHostPortTags ( tags , uri ) ;
86
86
87
87
Assert . Equal ( method , tags . Single ( t => t . Key == "method" ) . Value ) ;
88
88
VerifyOptionalTag ( tags , "protocol" , protocol ) ;
@@ -93,15 +93,15 @@ protected static void VerifyConnectionCounter(string expectedName, string actual
93
93
{
94
94
Assert . Equal ( expectedName , actualName ) ;
95
95
Assert . Equal ( expectedValue , Assert . IsType < long > ( measurement ) ) ;
96
- VerifySchemeHostPort ( tags , uri ) ;
96
+ VerifySchemeHostPortTags ( tags , uri ) ;
97
97
VerifyOptionalTag ( tags , "protocol" , protocol ) ;
98
98
}
99
99
100
100
protected static void VerifyConnectionDuration ( string instrumentName , double measurement , KeyValuePair < string , object ? > [ ] tags , Uri uri , string protocol )
101
101
{
102
102
Assert . InRange ( measurement , double . Epsilon , 60 ) ;
103
103
Assert . Equal ( InstrumentNames . ConnectionDuration , instrumentName ) ;
104
- VerifySchemeHostPort ( tags , uri ) ;
104
+ VerifySchemeHostPortTags ( tags , uri ) ;
105
105
VerifyOptionalTag ( tags , "protocol" , protocol ) ;
106
106
}
107
107
0 commit comments