private createIntegrationLatencyGraphWidget()

in src/api-gateway.ts [135:142]


  private createIntegrationLatencyGraphWidget(opts?: WatchedOperation) {
    return new GraphWidget({
      title: `${opts ? `${opts.httpMethod} ${opts.resourcePath}` : 'Overall'} Integration (1-minute periods)`,
      width: 12,
      stacked: false,
      left: Object.values(this.metrics.metricIntegrationLatency(this.apiName, this.stage, opts)),
    });
  }