injectGrpcFaults
injectGrpcFaults injects gRPC faults in the requests served by a target Service.
Options
The injection of the fault is controlled by the following options:
Example
const fault = {
averageDelay: '50ms',
statusCode: 13,
errorRate: 0.1,
};
disruptor.injectGrpcFaults(fault, '30s');