Class CommandTrace
- Namespace
- StackExchange.Redis
- Assembly
- StackExchange.Redis.StrongName.dll
Represents the information known about long-running commands
public sealed class CommandTrace
- Inheritance
-
CommandTrace
- Inherited Members
Properties
Arguments
The array composing the arguments of the command.
public RedisValue[] Arguments { get; }
Property Value
Duration
The amount of time needed for its execution
public TimeSpan Duration { get; }
Property Value
Time
The time at which the logged command was processed.
public DateTime Time { get; }
Property Value
UniqueId
A unique progressive identifier for every slow log entry.
public long UniqueId { get; }
Property Value
Remarks
The entry's unique ID can be used in order to avoid processing slow log entries multiple times (for instance you may have a script sending you an email alert for every new slow log entry). The ID is never reset in the course of the Redis server execution, only a server restart will reset it.
Methods
GetHelpUrl()
Deduces a link to the redis documentation about the specified command
public string GetHelpUrl()