Remove pluralization of failsafe metric namespace (#14722)
This commit is contained in:
		
							parent
							
								
									3df64dabf9
								
							
						
					
					
						commit
						2e9e2159f4
					
				|  | @ -3069,7 +3069,7 @@ libraries: | |||
|           type: STRING | ||||
|         - name: failsafe.circuit_breaker.outcome | ||||
|           type: STRING | ||||
|       - name: failsafe.circuit_breaker.state_changes.count | ||||
|       - name: failsafe.circuit_breaker.state_change.count | ||||
|         description: Count of circuit breaker state changes. | ||||
|         type: LONG_SUM | ||||
|         unit: execution | ||||
|  |  | |||
|  | @ -57,7 +57,7 @@ public final class FailsafeTelemetry { | |||
|             .build(); | ||||
|     LongCounter stateChangesCounter = | ||||
|         meter | ||||
|             .counterBuilder("failsafe.circuit_breaker.state_changes.count") | ||||
|             .counterBuilder("failsafe.circuit_breaker.state_change.count") | ||||
|             .setDescription("Count of circuit breaker state changes.") | ||||
|             .setUnit("{execution}") | ||||
|             .build(); | ||||
|  |  | |||
|  | @ -67,7 +67,7 @@ final class FailsafeTelemetryTest { | |||
|         "io.opentelemetry.failsafe-3.0", | ||||
|         metricAssert -> | ||||
|             metricAssert | ||||
|                 .hasName("failsafe.circuit_breaker.state_changes.count") | ||||
|                 .hasName("failsafe.circuit_breaker.state_change.count") | ||||
|                 .hasLongSumSatisfying( | ||||
|                     sum -> | ||||
|                         sum.isMonotonic() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue