@opentelemetry/instrumentation-amqplib
Version:
OpenTelemetry instrumentation for the `amqplib` messaging client for RabbitMQ
20 lines • 784 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_CONFIG = exports.EndOperation = void 0;
var EndOperation;
(function (EndOperation) {
EndOperation["AutoAck"] = "auto ack";
EndOperation["Ack"] = "ack";
EndOperation["AckAll"] = "ackAll";
EndOperation["Reject"] = "reject";
EndOperation["Nack"] = "nack";
EndOperation["NackAll"] = "nackAll";
EndOperation["ChannelClosed"] = "channel closed";
EndOperation["ChannelError"] = "channel error";
EndOperation["InstrumentationTimeout"] = "instrumentation timeout";
})(EndOperation = exports.EndOperation || (exports.EndOperation = {}));
exports.DEFAULT_CONFIG = {
consumeTimeoutMs: 1000 * 60,
useLinksForConsume: false,
};
//# sourceMappingURL=types.js.map