Interface MeterRegistryFormatter

All Known Implementing Classes:
MicrometerPrometheusFormatter

public interface MeterRegistryFormatter
Formatter of a MeterRegistry according to a given media type.
  • Method Details

    • format

      Optional<Object> format()
      Formats the meter registry's data.
      Returns:
      formatted output
    • formatMetadata

      Optional<Object> formatMetadata()
      Formats the meter registry's metadata.
      Returns:
      formatted metadata output