Ejemplo n.º 1
0
 /// <summary>
 ///     Creates a new <seealso cref="Counter" /> 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>
 /// <returns>a new <seealso cref="Counter" /></returns>
 public static Counter NewCounter(
     Type klass,
     string name)
 {
     return DEFAULT_REGISTRY.NewCounter(klass, name);
 }