Class Metrics

java.lang.Object
dev.sympho.modular_commands.execute.Metrics

public final class Metrics extends Object
Configuration for metrics instrumentation.
Since:
1.0
Version:
1.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    Tags used in metrics.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The prefix for all metric and tag names.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    name(String... components)
    Creates the name for a metric or tag from a sequence of components.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • name

      public static String name(String... components)
      Creates the name for a metric or tag from a sequence of components. The PREFIX is included.
      Parameters:
      components - The components to use for the name.
      Returns:
      The metric/tag name.