Interface InternalBridge.MetricID.Factory

  • Enclosing interface:
    InternalBridge.MetricID

    public static interface InternalBridge.MetricID.Factory
    Creates new MetricID instances.
    • Method Detail

      • newMetricID

        InternalBridge.MetricID newMetricID​(String name)
        Creates a version-neutral MetricID initialized with the specified name and any global tags.
        Parameters:
        name - name of the metric to create
        Returns:
        the new MetricID
      • newMetricID

        InternalBridge.MetricID newMetricID​(String name,
                                            Map<String,​String> tags)
        Creates a version-neutral MetricID initializes with the specified name and tags.
        Parameters:
        name - name of the metric to create
        tags - tags to associated with the new ID
        Returns:
        the new MetricID