summaryrefslogtreecommitdiffstats
path: root/src/commands/latency-histogram.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/commands/latency-histogram.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/commands/latency-histogram.json b/src/commands/latency-histogram.json
new file mode 100644
index 0000000..dc14d47
--- /dev/null
+++ b/src/commands/latency-histogram.json
@@ -0,0 +1,30 @@
+{
+ "HISTOGRAM": {
+ "summary": "Return the cumulative distribution of latencies of a subset of commands or all.",
+ "complexity": "O(N) where N is the number of commands with latency information being retrieved.",
+ "group": "server",
+ "since": "7.0.0",
+ "arity": -2,
+ "container": "LATENCY",
+ "function": "latencyCommand",
+ "command_flags": [
+ "ADMIN",
+ "NOSCRIPT",
+ "LOADING",
+ "STALE"
+ ],
+ "command_tips": [
+ "NONDETERMINISTIC_OUTPUT",
+ "REQUEST_POLICY:ALL_NODES",
+ "RESPONSE_POLICY:SPECIAL"
+ ],
+ "arguments": [
+ {
+ "name": "COMMAND",
+ "type": "string",
+ "optional": true,
+ "multiple": true
+ }
+ ]
+ }
+}