code: public static void mark(Metrics metrics, String component, String methodName, String eventType) {
      if (metrics != null) {
        mark(metrics.getMeter(component, methodName, eventType));
      }
    }
docs: Reports an event to <code>meter</code> described by given parameters.
  
  @param metrics - {@link Metrics} instance with {@link MetricRegistry} initialized.
  @param component - part of metric description.
  @param methodName - part of metric description.
  @param eventType - part of metric description.