Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/LATENCY_GRAPH.js
2025-11-11 12:36:06 +07:00

37 lines
1.2 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LATENCY_EVENTS = void 0;
exports.LATENCY_EVENTS = {
ACTIVE_DEFRAG_CYCLE: 'active-defrag-cycle',
AOF_FSYNC_ALWAYS: 'aof-fsync-always',
AOF_STAT: 'aof-stat',
AOF_REWRITE_DIFF_WRITE: 'aof-rewrite-diff-write',
AOF_RENAME: 'aof-rename',
AOF_WRITE: 'aof-write',
AOF_WRITE_ACTIVE_CHILD: 'aof-write-active-child',
AOF_WRITE_ALONE: 'aof-write-alone',
AOF_WRITE_PENDING_FSYNC: 'aof-write-pending-fsync',
COMMAND: 'command',
EXPIRE_CYCLE: 'expire-cycle',
EVICTION_CYCLE: 'eviction-cycle',
EVICTION_DEL: 'eviction-del',
FAST_COMMAND: 'fast-command',
FORK: 'fork',
RDB_UNLINK_TEMP_FILE: 'rdb-unlink-temp-file'
};
exports.default = {
NOT_KEYED_COMMAND: true,
IS_READ_ONLY: true,
/**
* Constructs the LATENCY GRAPH command
*
* @param parser - The command parser
* @param event - The latency event to get the graph for
* @see https://redis.io/commands/latency-graph/
*/
parseCommand(parser, event) {
parser.push('LATENCY', 'GRAPH', event);
},
transformReply: undefined
};
//# sourceMappingURL=LATENCY_GRAPH.js.map