You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`lettuce.connect.success`| Timer | Measures the duration and count of successful Redis connections. | N/A |
156
-
|`lettuce.connect.failure`| Timer | Measures the duration and count of failed Redis connection attempts. | N/A |
157
-
|`lettuce.reconnect.attempts`| Counter | Counts the number of Redis reconnect attempts. |`epid`: Endpoint ID, `local`: Local address, `remote`: Remote address |
158
-
|`lettuce.reconnect.failures`| Counter | Counts the number of failed Redis reconnect attempts. |`epid`: Endpoint ID, `local`: Local address, `remote`: Remote address |
159
-
|`redis.command.latency`| Timer | Measures the execution time of Redis commands from API invocation until command completion. |`command`: Redis command (e.g., `GET`, `SET`) |
160
-
|`redis.command.errors`| Counter | Counts the number of failed Redis command API calls that completed with an exception. |`command`: Redis command (e.g., `GET`, `SET`) |
|`lettuce.connect.success`| Timer | Measures the duration and count of successful initial Redis connections. | N/A |
156
+
|`lettuce.connect.failure`| Timer | Measures the duration and count of failed initial Redis connection attempts. | N/A |
157
+
|`lettuce.reconnect.attempts`| Counter | Counts the number of Redis reconnect attempts per connection (localAddr, remoteAddr, epid). Corresponds to ReconnectAttemptEvent |`epid`: Endpoint ID, `local`: Local address, `remote`: Remote address |
158
+
|`lettuce.reconnect.failures`| Counter | Counts the number of failed Redis reconnect attempts.Corresponds to ReconnectFailedEvent |`epid`: Endpoint ID, `local`: Local address, `remote`: Remote address |
159
+
|`lettuce.reconnect.total.attempts `| Counter | Counts the number of Redis reconnect attempts(ReconnectAttemptEvent across all connections) | N/A |
160
+
|`lettuce.reconnect.total.failures `| Counter | Counts the number of failed Redis reconnect attempts(ReconnectFailedEvent across all connections) | N/A |
161
+
|`redis.connections.total`| Counter | Counts the number of Redis reconnect attempts per connection (INITIATED and completed with ERROR) . (as reported by lettuce core library via ReconnectAttemptEvent- INITIATED, ReconnectFailedEvent-ERROR | 'status':(INITIATED, ERROR), `epid`: Endpoint ID, `local`: Local address, `remote`: Remote address |
162
+
|`redis.connection.drops.total`| Counter | Counts the number of disconnects per connection (localAddr, remoteAddr, epid). (as reported by lettuce core library via DisconnectedEvents) |`epid`: Endpoint ID, `local`: Local address, `remote`: Remote address |
163
+
|`redis.command.errors`| Counter | Counts the number of failed Redis command API calls that completed with an exception. (per command type) |`command`: Redis command (e.g., `GET`, `SET`) |
164
+
|`redis.operation.duration.total`| TIMER | Measures the execution time of Redis commands from API invocation until command completion. Percentiles (0.5, 0.95, 0.99) | Agregated across connections/command types |
165
+
|`redis.operation.duration`| TIMER | Measures the execution time of Redis commands from API invocation until command completion per command. |`command`: Redis command (e.g., `GET`, `SET`), status: (SUCCESS, ERROR, INITIATED) |
166
+
|`redis.operations.total`| Counter | Counts the number of total Redis command API calls completed successfully or with an error. |`command`: Redis command (e.g., `GET`, `SET`), status: (SUCCESS, ERROR) |
161
167
162
168
### Lettuce App Custom Metrics
163
169
This project uses a modified version of lettuce-core with additional metrics from the `feature/maintenance-events` branch.
@@ -184,8 +190,8 @@ Following additional metrics are available in the modified lettuce version:
| `lettuce.reconnection.attempts.count` | Timer | Measures the duration connection was in inactive state during reconnection. | epid |
188
-
| `lettuce.reconnection.attempts.count` | Counter | Number of reconnection attempts. | epid. <br> Note: this metric is similar to `lettuce.reconnect.attempts` but is reported directly by Lettuce client itself and is counted per `epid` (e.g not taged with `local` and `remote` tags). |
193
+
| `redis.reconnection.duration` | Timer | Measures the duration connection was in inactive state during reconnection. | epid |
194
+
| `redis.reconnection.attempts` | Counter | Number of reconnection attempts. | epid. <br> Note: this metric is similar to `lettuce.reconnect.attempts` but is reported directly by Lettuce client itself and is counted per `epid` (e.g not taged with `local` and `remote` tags). |
0 commit comments