code: public void registerMetrics(MetricRegistry metricRegistry, String pipelineId) {
          meterName = name(Pipeline.class, pipelineId, "stage", String.valueOf(stage()), "executed");
          executed = metricRegistry.meter(meterName);
      }
docs: Register the metrics attached to this stage.
  
  @param metricRegistry the registry to add the metrics to