/// <summary> /// Creates a new <seealso cref="Meter" /> and registers it under the given class /// and name. /// </summary> /// <param name="klass">the class which owns the metric</param> /// <param name="name">the name of the metric</param> /// <param name="eventType"> /// the plural name of the type of events the meter is measuring (e.g., {@code"requests"}) /// </param> /// <param name="unit">the rate unit of the new meter</param> /// <returns>a new <seealso cref="Meter" /></returns> public static Meter NewMeter( Type klass, string name, string eventType, TimeUnit unit) { return DEFAULT_REGISTRY.NewMeter(klass, name, eventType, unit); }