private createLatencyGraphWidget()

in src/api-gateway.ts [126:133]


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