Interface MonitoringSystem


@ExtensionPoint public interface MonitoringSystem
Extension point to pass SCM-Manager metrics to a monitoring system.
Since:
2.15.0
  • Method Summary

    Modifier and Type
    Method
    Description
     
    io.micrometer.core.instrument.MeterRegistry
    Returns registry of metrics provider.
    Returns an optional scrape target.
  • Method Details

    • getName

      String getName()
    • getRegistry

      io.micrometer.core.instrument.MeterRegistry getRegistry()
      Returns registry of metrics provider.
    • getScrapeTarget

      default Optional<ScrapeTarget> getScrapeTarget()
      Returns an optional scrape target. A scrape target is only needed if the monitoring system pulls the metrics over http. If the monitoring system uses a push based model, this method returns an empty optional.
      Returns:
      optional scrape target