Class SpectatorUtils

java.lang.Object
com.netflix.zuul.netty.SpectatorUtils

public final class SpectatorUtils extends Object
  • Method Details

    • newCounter

      public static com.netflix.spectator.api.Counter newCounter(String name, String id)
    • newCounter

      public static com.netflix.spectator.api.Counter newCounter(String name, String id, String... tags)
    • newTimer

      public static com.netflix.spectator.api.Timer newTimer(String name, String id)
    • newTimer

      public static com.netflix.spectator.api.Timer newTimer(String name, String id, String... tags)
    • newGauge

      public static <T extends Number> T newGauge(String name, String id, T number)
    • newGauge

      public static <T extends Number> T newGauge(String name, String id, T number, String... tags)