Interface MetricsService.MetricsContext

    • Field Detail

      • SERVER_CONTEXT_NAME

        static final String SERVER_CONTEXT_NAME
        The global or server context name cannot have any name but the empty string as all other names potentially are application names used by deployed applications.
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        String getName()
        Returns:
        the name of this context which is either the name of the application this context is linked to or the empty string in case of the server context
      • isServerContext

        default boolean isServerContext()
      • getBaseRegistry

        default org.eclipse.microprofile.metrics.MetricRegistry getBaseRegistry()
      • getVendorRegistry

        default org.eclipse.microprofile.metrics.MetricRegistry getVendorRegistry()
      • getRegistries

        ConcurrentMap<String,​org.eclipse.microprofile.metrics.MetricRegistry> getRegistries()