public ProgressLoggers addPipelineStats(WorkerPipeline<?> pipeline) {
    if (pipeline != null) {
      addPipelineStats(pipeline.previous());
      if (pipeline.inputQueue() != null) {
        addQueueStats(pipeline.inputQueue());
      }
      if (pipeline.worker() != null) {
        addThreadPoolStats(pipeline.name(), pipeline.worker());
      }
    }
    return this;
  }
Adds the alternating worker thread pool / queue / worker thread pool stats for the pipeline to the output.
planetiler-core/src/main/java/com/onthegomap/planetiler/stats/ProgressLoggers.java