Interface ExemplarService

All Known Implementing Classes:
TraceExemplarService

public interface ExemplarService
Behavior for supporting exemplars in metrics histograms.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Default priority for an ExemplarService found by the service loader without an explicit @Priority annotation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a label using whatever current context is available.
  • Field Details

    • DEFAULT_PRIORITY

      static final int DEFAULT_PRIORITY
      Default priority for an ExemplarService found by the service loader without an explicit @Priority annotation.
      See Also:
  • Method Details

    • label

      String label()
      Returns a label using whatever current context is available.
      Returns:
      the label