Interface Backends


  • public interface Backends
    Backends abstraction for all underlying backends.
    • Method Detail

      • getBackends

        java.util.List<Backend> getBackends()
        Get a list of all loaded backends.
        Returns:
        all loaded backends
      • getConfig

        com.typesafe.config.Config getConfig()
        Returns:
        the Config used by the backends.
      • getCinnamonMeta

        CinnamonMeta getCinnamonMeta()
        Returns:
        the CinnamonMeta used by the backends.
      • getLoggingProvider

        LoggingProvider getLoggingProvider()
        Returns:
        the LoggingProvider used by the backends.
      • metricsFor

        MetricFactory metricsFor​(Identity identity)
        Create a MetricFactory for a single identity for all loaded metric backends.
        Parameters:
        identity - identity of instrumented entity
        Returns:
        combined MetricFactory for all metric backends
      • metricsFor

        MetricFactory metricsFor​(java.util.List<Identity> identities)
        Create a MetricFactory for multiple identities for all loaded metric backends.
        Parameters:
        identities - multiple identities of instrumented entity
        Returns:
        combined MetricFactory for all metric backends
      • eventsFor

        EventFactory eventsFor​(Identity identity)
        Create an EventFactory for a single identity for all loaded event backends.
        Parameters:
        identity - identity of instrumented entity
        Returns:
        combined EventFactory for all event backends
      • eventsFor

        EventFactory eventsFor​(java.util.List<Identity> identities)
        Create an EventFactory for multiple identities for all loaded event backends.
        Parameters:
        identities - multiple identities of instrumented entity
        Returns:
        combined EventFactory for all event backends