startRequest(request) {
    if (!this.enabled) {
      return;
    }

    const protocol = request && request.context.connection.protocol;

    if (!protocol) {
      return;
    }

    if (!this.currentStats.ongoingRequests.has(protocol)) {
      this.currentStats.ongoingRequests.set(protocol, 1);
    } else {
      this.currentStats.ongoingRequests.set(
        protocol,
        this.currentStats.ongoingRequests.get(protocol) + 1,
      );
    }
  }
Start recording a new request

@param {Request} request